NestDaddy

Kimi MCP Server

io.github.x51xxx/kimi-mcp-server ยท v0.2.0

MCP server bridging AI assistants to Moonshot AI Kimi Code CLI for code analysis and review

Connect Runs on your machine

Terminal
claude mcp add kimi-mcp-server -e KIMI_MCP_CWD=<KIMI_MCP_CWD> -e KIMI_SESSION_TTL_MS=<KIMI_SESSION_TTL_MS> -e KIMI_MAX_SESSIONS=<KIMI_MAX_SESSIONS> -e MOONSHOT_API_KEY=<MOONSHOT_API_KEY> -- npx -y @trishchuk/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "kimi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/[email protected]"
      ],
      "env": {
        "KIMI_MCP_CWD": "<KIMI_MCP_CWD>",
        "KIMI_SESSION_TTL_MS": "<KIMI_SESSION_TTL_MS>",
        "KIMI_MAX_SESSIONS": "<KIMI_MAX_SESSIONS>",
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "kimi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/[email protected]"
      ],
      "env": {
        "KIMI_MCP_CWD": "<KIMI_MCP_CWD>",
        "KIMI_SESSION_TTL_MS": "<KIMI_SESSION_TTL_MS>",
        "KIMI_MAX_SESSIONS": "<KIMI_MAX_SESSIONS>",
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "kimi-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/[email protected]"
      ],
      "env": {
        "KIMI_MCP_CWD": "<KIMI_MCP_CWD>",
        "KIMI_SESSION_TTL_MS": "<KIMI_SESSION_TTL_MS>",
        "KIMI_MAX_SESSIONS": "<KIMI_MAX_SESSIONS>",
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
KIMI_MCP_CWD
Optional
Override working directory for all tool calls
KIMI_SESSION_TTL_MS
Optional
Session time-to-live in milliseconds (default: 86400000 = 24h)
KIMI_MAX_SESSIONS
Optional
Maximum concurrent sessions (default: 50)
MOONSHOT_API_KEY
Optional, secret
Forwarded to Kimi CLI for unattended auth. Leave unset to use OAuth (run `kimi /login` once).

Details

Package@trishchuk/[email protected] (NPM, stdio)
First published27 May 2026
Last updated27 May 2026
Registry nameio.github.x51xxx/kimi-mcp-server

More developer tools servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.