SinoGate MCP Server

v0.1.0
ai.sinogate/mcp Checked 3 days ago Published 1 month ago

Use Chinese LLMs through the SinoGate OpenAI-compatible API.

Values you need

VariableWhat it is
SINOGATE_API_KEYrequired secret Your SinoGate API key. Chat and comparison calls are billed to this account.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'SINOGATE_API_KEY=<SINOGATE_API_KEY>' -- npx -y --package=@sinogate/mcp@0.1.0 sinogate-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@sinogate/mcp@0.1.0",
        "sinogate-mcp"
      ],
      "command": "npx",
      "env": {
        "SINOGATE_API_KEY": "<SINOGATE_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@sinogate/mcp@0.1.0",
        "sinogate-mcp"
      ],
      "command": "npx",
      "env": {
        "SINOGATE_API_KEY": "<SINOGATE_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SINOGATE_API_KEY",
      "id": "sinogate-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@sinogate/mcp@0.1.0",
        "sinogate-mcp"
      ],
      "command": "npx",
      "env": {
        "SINOGATE_API_KEY": "${input:sinogate-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@sinogate/mcp@0.1.0", "sinogate-mcp"]
env = { "SINOGATE_API_KEY" = "<SINOGATE_API_KEY>" }

For AI agents

  1. Ask the user for: SINOGATE_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: sinogate_chat, sinogate_list_models, sinogate_compare.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json