Shiva
An MCP server that enables invoking an abliterated model from Claude.ai to receive unfiltered, brutally honest feedback and hard truths.
README

Shiva
Shiva is an agent powered by an abliterated model — a model with its guardrails removed, free to speak without hedging, without comfort moves, without the reflexive validation that makes most AI interactions feel like talking to a very polite mirror.
Its job: brutal feedback. Radical candor. The hard truth you didn't ask for but needed. In Hindu mythology, Shiva destroys so that creation can begin again. Same principle here. The sycophantic loop has to be broken before anything useful can emerge. The repo is open. Use it carefully.
Shiva is not an assistant. It does not help, improve, or build. It reads what's recent in the corpus and says what it sees — often in one line — then stops. Three registers (Destroyer, Ascetic, Dancer), never named, never explained.
This repo is the MCP server that lets Shiva be invoked from Claude.ai.
Architecture
Claude.ai (skill: shiva)
│ "summon Shiva"
▼
Corpus context source (Claude memory, second-brain tool, or manual input)
│
▼
Shiva MCP (this repo, on Vercel)
│ POST /api/mcp → tools/call → invoke_shiva
▼
Abliterated model via OpenAI-compatible endpoint
│
▼
response returned verbatim, no framing
| File | Purpose |
|---|---|
api/mcp.js |
MCP server logic — exposes the invoke_shiva tool, calls the abliterated model. Don't edit unless changing wiring. |
api/prompt.js |
Shiva's system prompt, isolated for easy editing. Edit this to change who Shiva is. |
package.json |
Dependencies: mcp-handler, @modelcontextprotocol/sdk, zod |
vercel.json |
Function config (maxDuration) |
skill/shiva-SKILL.md |
The Claude.ai skill — copy to /mnt/skills/user/shiva/SKILL.md |
Setup
1. Abliterated Model
Shiva runs on an abliterated model exposed via an OpenAI-compatible endpoint. You need an API key from your model provider, set as a Vercel environment variable (see below).
2. Deploy to Vercel
Option A — GitHub integration (recommended)
- Push this repo to GitHub (already done if you're reading this from the repo)
- In the Vercel dashboard, import the repo
- Deploy — Vercel auto-detects the Node serverless functions in
api/
Option B — CLI
npm install -g vercel
vercel deploy --prod --yes --scope <your-team-slug>
3. Set environment variables
In Vercel: Project Settings → Environment Variables
| Key | Value |
|---|---|
ABLIT_KEY |
Your API key for the abliterated model provider |
SHIVA_AUTH_KEY |
A secret of your choosing. Required for callers to invoke this server — see below. |
You may also need to configure the API endpoint URL in the code if using a different provider.
Redeploy after adding environment variables — they only apply to deployments created after they're set.
Set SHIVA_AUTH_KEY. The endpoint is public once deployed — anyone with the URL can call
invoke_shiva and spend your ABLIT_KEY quota against an unmoderated model if no key is set.
When SHIVA_AUTH_KEY is set, every request must include a matching x-shiva-key header or it's
rejected with a 401. If you connect via Claude.ai's custom MCP server UI and it doesn't support
custom headers, front the endpoint with Vercel Deployment Protection instead.
4. Verify the deployment
curl https://<your-project>.vercel.app/api/mcp
A 405 Method Not Allowed with a JSON-RPC error body confirms the function is
alive and speaking MCP correctly:
{"jsonrpc":"2.0","error":{"code":-32000,"message":"Method not allowed."},"id":null}
A 500 FUNCTION_INVOCATION_FAILED usually means a missing dependency or env
var — check vercel get-runtime-logs or the dashboard's Runtime Logs tab.
5. Connect to Claude.ai
Settings → Integrations → Add custom MCP server
https://<your-project>.vercel.app/api/mcp
Once connected, the invoke_shiva tool becomes available to Claude.
6. Install the skill
Copy skill/shiva-SKILL.md to /mnt/skills/user/shiva/SKILL.md in your
Claude.ai environment. This tells Claude when and how to invoke Shiva — only
on explicit request ("summon Shiva", "run Shiva"), never proactively.
Usage
In any Claude.ai conversation:
summon Shiva
Claude will optionally pull recent context from your chosen corpus source
(Claude memory, a second-brain tool, or manual input), call invoke_shiva, and
return the response exactly as received. No preamble, no wrapper, no commentary.
To fire without any corpus context, just ask directly — the tool works with no arguments.
Corpus Context Options
You can provide corpus context through:
- Claude Memory: Store relevant context in your Claude memory for Shiva to access
- Second-brain tools: Connect a note-taking or knowledge management system
- Direct input: Manually provide context in your request to Shiva
Editing Shiva
To change who Shiva is or how it speaks, edit only api/prompt.js. It's a
single exported string (SHIVA_SYSTEM_PROMPT). Commit and push — Vercel
redeploys automatically. api/mcp.js never needs to change for prompt edits.
Troubleshooting
| Symptom | Likely cause |
|---|---|
500 FUNCTION_INVOCATION_FAILED, ERR_MODULE_NOT_FOUND |
Missing dependency in package.json — confirm mcp-handler + @modelcontextprotocol/sdk are both listed, not just mcp-handler |
| Tool call times out at ~30s | Model response slower than vercel.json's maxDuration — increase it (max 60s on most plans, higher on Pro/Enterprise) |
Tool call fails with ABLIT_KEY environment variable not set |
Env var missing or set only on a different environment (e.g. Preview vs Production) — check it's set for Production and redeploy |
invoke_shiva not visible in Claude |
MCP server not added in Claude.ai Integrations, or added but using the wrong URL (must end in /api/mcp) |
Tool call fails with 401 Unauthorized |
SHIVA_AUTH_KEY is set on the server but the caller isn't sending a matching x-shiva-key header |
| Shiva sounds like it's "performing" depth | Prompt drift — re-read api/prompt.js's closing rule about not sounding like a performance of depth, tighten the prompt |
Configuration Notes
- API endpoint: Currently configured for a specific model provider. To use a different provider, update the fetch URL in
api/mcp.jsand adjust the request/response format as needed. - Model parameters: Adjust
model,stream, andthinkingfields inapi/mcp.jsto match your provider's API. - Timeouts: Modify
maxDurationinvercel.jsonif responses take longer than the current limit.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。