Skip to main content
Glama
oni-chan69

kimi-code-mcp

by oni-chan69

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
kimi_analyzeA

Send a prompt to Kimi Code for codebase analysis. Kimi reads the codebase (256K context) and returns a compressed, structured report.

CACHE BEHAVIOR: If session_id is not provided, the MCP server will automatically use cached sessions when available.

  • First call: Creates cache (may take 60-120s for large codebases)

  • Subsequent calls: Reuses cached session (faster, ~10s)

  • Cache auto-expires after 30 minutes or when files change

  • Use kimi_cache_status to view cache statistics

Output is budget-controlled: Kimi reads 200K+ tokens of source but returns a 5-15K token analysis (configurable via detail_level). Use kimi_resume to drill deeper into specific areas. Takes 1-5 minutes for large codebases.

kimi_queryA

Ask Kimi Code a question without codebase context. Use for general programming questions, algorithm explanations, or getting a second opinion from Kimi's model.

kimi_list_sessionsA

List existing Kimi Code sessions with titles, working directories, and timestamps. Use to find session IDs for kimi_resume.

kimi_cache_statusA

View session cache statistics and status. Shows cache hits/misses, active sessions, and performance metrics. Use this to monitor cache effectiveness and troubleshoot issues.

kimi_cache_invalidateA

Manually invalidate session cache entries. Use when you want to force fresh analysis or if you suspect cached sessions are stale.

kimi_resumeA

Resume an existing Kimi Code session with a new prompt. The session retains all previous context (up to 256K tokens). Use kimi_list_sessions to find session IDs first. Ideal for drilling deeper after an initial kimi_analyze scan.

kimi_statusA

Check Kimi CLI installation status, version, and authentication. Use this to diagnose issues before running analysis.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/oni-chan69/kimi-code-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server