SuperAPIAI Directory

zihin-mcp

github.com · AI developer platforms

zihin-mcp is the MCP server and stdio-to-HTTP proxy for the Zihin.ai agent platform, used to connect MCP-capable clients to Zihin.ai. The hosted MCP endpoint is located at https://llm.zihin.ai/mcp,用户可用 Zihin account login, while integrations use an API key. This package is intended for clients that cannot directly access the remote server and includes platform skills. The proxy requires Node.js 20 or later and a Zihin API key.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose zihin-mcp is used to connect MCP clients to the Zihin.ai agent platform. The hosted MCP endpoint is https://llm.zihin.ai/mcp。该 The npm package is a stdio proxy for clients that cannot directly access the remote server and includes platform skills.

Main capabilities

  • Supports login via MCP authorization (OAuth): clients that support MCP authorization can connect without an API key https://llm.zihin.ai/mcp。首次请求时服务器返回 401 and protected resource metadata, the client opens a browser, the user logs in to Zihin and selects an organization, after which the connection runs with the user's role in that organization.
  • Supports the API key method: obtain a key from the Zihin console, store it in the client secret configuration, and use a key with the required permissions.
  • Clients that support Streamable HTTP can connect directly to the hosted endpoint, authenticating via login or the X-Api-Key request header; invalid keys are rejected without a login prompt, and removing the header switches to login. Available tools and resources depend on the account and key permissions.
  • Provides a Claude Code plugin and a Cursor plugin: the Claude Code plugin connects directly to the hosted endpoint over HTTP without starting the npm proxy; the Cursor plugin also connects directly to the hosted endpoint and includes the same platform skills, and ZIHIN_API_KEY must be configured in Plugins → Configure.
  • The installer supports claude, cursor, windsurf, and codex clients; use --dir to select a project directory, or --global to install Claude user-level skills; when --bundled is not used, the installer fetches skills from the server using the API key and falls back to built-in skills when the server cannot provide them.

Usage

  1. Using the npm proxy with an API key: obtain a key from the Zihin console, store it in the client secret configuration, and add the corresponding entry in the MCP client configuration. The proxy requires Node.js 20 or later.
  2. Using OAuth login: clients that support MCP authorization connect directly to https://llm.zihin.ai/mcp,按浏览器提示登录并选择组织。一个助手对应一个组织;如需在另一组织工作,需断开助手后重新连接并选择该组织。
  3. Claude Code plugin: connect directly to the hosted endpoint; you may leave the optional Zihin API key blank and run /mcp to log in, or enter a key to connect as that key's identity.
  4. Cursor plugin: configure ZIHIN_API_KEY in Plugins → Configure.

Use cases Intended for users who need to connect MCP clients (such as claude, cursor, windsurf, codex) to the Zihin.ai agent platform, especially in scenarios where the client cannot directly access a remote MCP server and a stdio proxy is needed.

Limitations and notes

  • When logging in via OAuth, fewer tools are available than when using an API key; operations that create credentials or persistent access (such as API keys, secrets, triggers, or MCP servers) still need to be completed in the Zihin console.
  • Revocation: you can disconnect an assistant under My assistants in the Zihin console. For assistants identified by a public client URL (claude.ai, ChatGPT, Codex, or Claude Code without its own client), disconnecting logs the user out across all of their organizations, not just the current organization. Other clients follow different rules: clients registered for an individual and an organization (such as the Claude Code command with --client-id) are deleted; a client shared by multiple connections only has the revoked connection severed.
  • The proxy sends the key to the configured endpoint; only change the endpoint in trusted deployments. Diagnostic information is output to stderr, and stdout carries MCP messages.
  • Agent execution may consume quota and trigger external actions; returned errors and warnings should be checked before treating an operation as complete.
  • Tests can run offline and do not require ZIHIN_API_KEY; live integration tests require a test account and key and may execute agents. REQUIRE_INTEGRATION=1 makes a missing key an error. Release checks reject unexpected package files and known language regressions; release review also requires checking all public text and exact artifact contents.
  • The repository only contains the ZIHIN_API_KEY variable declaration; never commit keys or put them in prompts.

Pricing, charges, and specific quota consumption rules are not yet provided.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools