Skip to main content

Kimi MCP Server

io.github.x51xxx/kimi-mcp-server

v0.2.0Updated May 27, 2026stdio · npm

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add kimi-mcp-server -e KIMI_SESSION_TTL_MS=86400000 -e KIMI_MAX_SESSIONS=50 -- npx -y @trishchuk/[email protected]

Configuration

4 settings.

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

Listed in the official MCP Registry since May 27, 2026. Mirrored daily; last checked Nov 26, 2026.