Zihin MCP Server
Build, operate and chat with Zihin.ai agents. Sign in with your Zihin account or use an API key.
Zihin scores 35 (Limited), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 40 tools. Filed under Uncategorized. GitHub shows 1 stars. Package registries report about 308 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Limited trust
35 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: mit.
License, quality and maintenance
Where the 35 comes from
0 + 6 + 5 + 10 + 7 + 7 = 35. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 6 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 5 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 7 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: API key required. Get a key or token from the provider first, then add it as a header in your client config. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "zihin-ai-zihin-mcp": { "command": "npx", "args": [ "-y", "@zihin/mcp-server@2.3.0" ], "env": { "ZIHIN_API_KEY": "YOUR_ZIHIN_API_KEY" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
ZIHIN_API_KEYSecret | Required | Zihin API Key (zhn_live_*, zhn_test_* or zhn_dev_*), from the Zihin console |
Tools40Tool docs quality grade D
All capabilitiesCancela um turn de agente EM ANDAMENTO (mid-LLM, mid-tool, mid-stream). Útil quando agente entrou em loop caro, está respondendo errado, ou consumer pediu para parar. Diferente de set_session_control(suspended) que só bloqueia próximo turn
chat_with_agenttoolEnvia uma mensagem a um agente e recebe a resposta completa (síncrono — sem streaming progressivo). O agente usa todas as tools configuradas (api_config, db_config, MCP externo). Resposta inclui: response (texto), session_id (manter para co
clone_agenttoolClona um agente existente com seus schemas. O clone é criado em status draft. Triggers podem ser clonados opcionalmente (desabilitados por padrão). Schemas inválidos geram warnings mas não bloqueiam a clonagem.
create_agenttoolCria um novo agente. Retorna o agente criado com seu UUID.
Registra um novo MCP server para um agente. O agente poderá usar as tools expostas pelo server. Transports: 'http' (Streamable HTTP; era do protocolo negociada automaticamente), 'stdio' (local, apenas dev). O 'sse' legado foi descontinuado
create_schematoolCria um novo schema para um agente. O schema_data varia conforme o tipo: - persona_config: { editor_schema: { persona: { role, objective, tone, language, expertise, constraints, personality_traits, custom_guidelines } } } - api_config: { to
create_triggertoolCria um novo trigger para um agente. **Contrato autoritativo: resource zihin://schemas/trigger_config** (o mesmo JSON Schema que o servidor valida; envie apenas agent_id/name/trigger_type/trigger_config — tenant_id e ids são injetados pelo
delete_agenttoolArquiva um agente (soft delete). O agente pode ser restaurado depois.
Remove um MCP server de um agente. As tools do server deixam de estar disponíveis.
delete_schematoolDesativa um schema (soft delete). O schema fica inativo mas pode ser reativado.
delete_triggertoolRemove um trigger permanentemente. Esta ação não pode ser desfeita.
get_agenttoolRetorna detalhes completos de um agente, incluindo schemas, triggers e configurações.
About
Zihin MCP server
Connect MCP clients to the Zihin.ai agent platform. The hosted MCP
endpoint is https://llm.zihin.ai/mcp. People sign in there with their Zihin account;
integrations use an API key. This package is a stdio proxy for clients that cannot reach
a remote server, and it includes platform skills. The proxy requires Node.js 20 or later
and a Zihin API key.
Sign in with your Zihin account
Clients that support MCP authorization (OAuth) connect to https://llm.zihin.ai/mcp
without an API key. On the first request the server answers 401 with its protected
resource metadata, the client opens your browser, you sign in to Zihin and choose the
organization. The connection then acts with your role in that organization.
- One organization per assistant. To work in another organization, disconnect the assistant and connect it again, choosing the other organization.
- Fewer tools than an API key. Operations that create credentials or persistent access, such as API keys, secrets, triggers or MCP servers, stay in the Zihin console.
- Revoking. Disconnect an assistant under My assistants in the Zihin console.
For an assistant identified by a public client URL (claude.ai, ChatGPT, Codex, or
Claude Code without a client of your own), disconnecting signs it out in all of your
organizations, not only the current one. Other clients follow different rules: a client
registered for you (such as the Claude Code command with
--client-id, created per person and organization) is deleted, and a client shared by several connections only has the revoked connection cut. See what revoking reaches.
See Sign in and Connected assistants.
Quick start (npm proxy, API key)
ZIHIN_API_KEY=YOUR_ZIHIN_API_KEY npx -y @zihin/mcp-server
Obtain your key from the Zihin console. Store it in your client's secret configuration. Use a key with the permissions needed for your work. Never commit it to a repository.
Client configuration
Add this entry to your MCP client's configuration:
{
"mcpServers": {
"zihin": {
"command": "npx",
"args": ["-y", "@zihin/mcp-server"],
"env": { "ZIHIN_API_KEY": "YOUR_ZIHIN_API_KEY" }
}
}
}
Clients with Streamable HTTP support can connect directly to
https://llm.zihin.ai/mcp, either by signing in or with the X-Api-Key header.
An invalid key is rejected without a sign-in prompt; remove the header to sign in instead.
Available tools and resources depend on your account and key permissions.
Claude Code plugin
/plugin marketplace add zihin-ai/zihin-mcp
/plugin install zihin@zihin
The plugin connects directly to https://llm.zihin.ai/mcp over HTTP; it does not start the
npm proxy. Leave the optional Zihin API key empty and run /mcp to sign in with your
Zihin account, or enter a key to connect as that key. See the plugin guide
for updates and configuration.
Cursor plugin
The Cursor plugin connects directly to the hosted MCP endpoint and includes the same
platform skills. Configure the required ZIHIN_API_KEY variable under Plugins → Configure.
The repository contains only the variable declaration; never commit the key or put it
in a prompt. The API key determines which operations are available. Agent execution
can consume credits and perform external actions.
Install skills
npx -y @zihin/mcp-server install-skills --client all --bundled
Supported clients are claude, cursor, windsurf and codex. Use --dir to choose
the project directory, or --global for Claude's user-level skills. Without --bundled,
the installer fetches skills from the server using your API key and falls back to bundled
skills if the server cannot supply them. Existing skill identifiers are retained for compatibility.
Configuration
| Variable | Purpose |
|---|---|
ZIHIN_API_KEY | Required API key |
ZIHIN_MCP_URL | Optional trusted MCP endpoint; defaults to https://llm.zihin.ai/mcp |
ZIHIN_MCP_CALL_TIMEOUT_MS | Tool-call timeout in milliseconds; default 300000, range 1000–1800000 |
The proxy sends your key to the configured endpoint. Change the endpoint only for a trusted deployment. Diagnostics go to stderr; stdout carries MCP messages. Agent execution can consume credits and trigger external actions. Inspect returned errors and warnings before treating an operation as complete.
Development
npm ci
npm test
npm run check:publication
Tests run offline without ZIHIN_API_KEY. Live integration tests require a test account
and key and can execute agents. REQUIRE_INTEGRATION=1 makes a missing key an error.
The publication check rejects unexpected package files and known language regressions;
release review must also check all public text and exact artifact contents.
Frequently asked questions
What is Zihin MCP Server?
Build, operate and chat with Zihin.ai agents. Sign in with your Zihin account or use an API key.
How do I install Zihin MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Zihin MCP Server runs locally from the npm package @zihin/mcp-server with the command npx -y @zihin/mcp-server@2.3.0.
Is Zihin MCP Server free and open source?
Yes. Zihin MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Zihin MCP Server support remote (HTTP) connections?
Yes. Zihin MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does Zihin MCP Server provide?
Zihin MCP Server provides 40 tools, including cancel_agent_turn, chat_with_agent, clone_agent, and create_agent. See the full tool list for descriptions and parameters.
How is Zihin MCP Server's trust score calculated?
Zihin MCP Server scores 35 out of 100 (Limited). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.