Skip to content
MCP server

Kimi MCP Server

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.0
Listing updated
5 days ago

About Kimi MCP Server

Kimi MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.

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

Install

Run in a terminal

claude mcp add kimi-mcp-server --env MOONSHOT_API_KEY='<MOONSHOT_API_KEY>' -- npx -y @trishchuk/kimi-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "kimi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/kimi-mcp-server"
      ],
      "env": {
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "kimi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/kimi-mcp-server"
      ],
      "env": {
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "kimi-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/kimi-mcp-server"
      ],
      "env": {
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "kimi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/kimi-mcp-server"
      ],
      "env": {
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "kimi-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@trishchuk/kimi-mcp-server"
      ],
      "env": {
        "MOONSHOT_API_KEY": "<MOONSHOT_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • KIMI_MCP_CWDOverride working directory for all tool calls
  • KIMI_SESSION_TTL_MSSession time-to-live in milliseconds (default: 86400000 = 24h)
  • KIMI_MAX_SESSIONSMaximum concurrent sessions (default: 50)
  • MOONSHOT_API_KEYForwarded to Kimi CLI for unattended auth. Leave unset to use OAuth (run `kimi /login` once).

Pricing

Open source

Kimi MCP Server FAQ

Is Kimi MCP Server free?

Yes. Kimi MCP Server is open source, so you can use and self-host it for free.

How do I add Kimi MCP Server to Claude Code?

Run this command in your terminal: claude mcp add kimi-mcp-server --env MOONSHOT_API_KEY='<MOONSHOT_API_KEY>' -- npx -y @trishchuk/kimi-mcp-server

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers