Kimi MCP Server
by x51xxxio.github.x51xxx/kimi-mcp-serverv0.2.0
MCP server bridging AI assistants to Moonshot AI Kimi Code CLI for code analysis and review
context tax
queued
security
queued
cold start
queued
freshness
Slowing5mo ago
Install Kimi MCP server
Install in Claude Code
claude mcp add kimi -e MOONSHOT_API_KEY='<moonshot-api-key>' -- npx -y @trishchuk/kimi-mcp-serverInstall in Cursor
{
"mcpServers": {
"kimi": {
"command": "npx",
"args": [
"-y",
"@trishchuk/kimi-mcp-server"
],
"env": {
"MOONSHOT_API_KEY": "<moonshot-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"kimi": {
"command": "npx",
"args": [
"-y",
"@trishchuk/kimi-mcp-server"
],
"env": {
"MOONSHOT_API_KEY": "<moonshot-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"kimi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@trishchuk/kimi-mcp-server"
],
"env": {
"MOONSHOT_API_KEY": "<moonshot-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"kimi": {
"command": "npx",
"args": [
"-y",
"@trishchuk/kimi-mcp-server"
],
"env": {
"MOONSHOT_API_KEY": "<moonshot-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| KIMI_MCP_CWD | — | — | Override working directory for all tool calls |
| KIMI_SESSION_TTL_MS | — | — | Session time-to-live in milliseconds (default: 86400000 = 24h) |
| KIMI_MAX_SESSIONS | — | — | Maximum concurrent sessions (default: 50) |
| MOONSHOT_API_KEY | — | yes | Forwarded to Kimi CLI for unattended auth. Leave unset to use OAuth (run `kimi /login` once). |
Freshness
Slowing — last maintenance signal 5mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-05-27 · 5mo ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-05-27 · 5mo ago · official registry · v0.2.0
FAQ
›How do I install the Kimi MCP server in Claude Code?
Run: claude mcp add kimi -e MOONSHOT_API_KEY='<moonshot-api-key>' -- npx -y @trishchuk/kimi-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Kimi require an API key?
Yes. It expects MOONSHOT_API_KEY, of which 1 is a secret.
›Can I use Kimi as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Kimi in the official MCP registry?
Yes, as io.github.x51xxx/kimi-mcp-server.