Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Kimi Code MCP server

by howardpen9/kimi-code-mcpMIT licenceAudited 7 Oct 2026 · source 9e649ff195fa

npm kimi-mcp-server 0.5.0stdio★ 61
✓SAFEGrade B · 89/100 · 7 Oct 2026 · 9e649ff
61GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 8 tools: 6 read, 1 write and 1 destructive. The audit recorded 11 findings (0 critical, 0 high, 1 medium, 10 low). Maintainer's description: MCP server for Claude Code × Kimi K2.5 (256K context) — delegate bulk codebase analysis to Kimi, save 90% on token costs. Session caching, parallel agents, TypeScript.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Kimi Code MCP server (howardpen9/kimi-code-mcp)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/howardpen9/kimi-code

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium10 low0 info

11 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared1 observation
  • NetworkDeclared1 observation
  • ShellDeclared3 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainPASS 5 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 5 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner howardpen9User accountAccount type recorded when we read the repository.
  • PackagePublished on npmkimi-mcp-server at version 0.5.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push2 months agoActivity of the repository when we read it.
  • Source commit read9e649ff195faThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory8 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (11)

Sorted by severity

MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
kimi_cache_invalidate
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure cryptocrypto.weak_hash · src/cache-manager.ts:321
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const hash = createHash('md5')
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/session-reader.test.ts:27
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return crypto.createHash('md5').update(input).digest('hex')
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/session-reader.ts:39
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
const hash = crypto.createHash('md5').update(wd.path).digest('hex')
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · src/session-reader.ts:54
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
targetHash = crypto.createHash('md5').update(opts.workDir).digest('hex')
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, zod, @types/node, tsx, typescript, vitest
Why
6 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.persistence · README.md:214
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
# Add to ~/.zshrc (macOS) or ~/.bashrc (Linux)
Why
instructs the agent to persist itself in the user's environment
Fix
—
LOWSupply chainprompt.pipe_to_shell · README.md:29
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -L code.kimi.com/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · README.md:122
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- **Install**: `curl -L code.kimi.com/install.sh | bash`
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · README_zh.md:34
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- **安裝**:`curl -L code.kimi.com/install.sh | bash`
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · README_zh.md:43
F-08 Supply chainCWE-829 · CWE-1357Layer L2
curl -L code.kimi.com/install.sh | bash
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

8 declared in source · 1 destructive

6 read1 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
kimi_cache_invalidatedestructiveManually invalidate session cache entries. Use when you want to force fresh analysis or if you suspect cached sessions are stale.
kimi_statuswriteCheck Kimi CLI/API status, default model (K3 detection), and auth. Set probe_api=true for a live Coding API model echo check.
kimi_analyzereadNo description in the source
kimi_cache_statusreadView session cache statistics and status. Shows cache hits/misses, active sessions, and performance metrics. Use this to monitor cache effectiveness and troubleshoot issues.
kimi_list_sessionsreadList existing Kimi Code sessions with titles, working directories, and timestamps. Use to find session IDs for kimi_resume.
kimi_queryreadAsk Kimi Code a question without codebase context. Default model: ${DEFAULT_MODEL} (K3). Use for general programming questions, algorithm explanations, or getting a second opinion.
kimi_resumereadResume 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_verifyreadNo description in the source

Install

Package version 0.5.0 · audited commit 9e649ff

claude mcp add kimi-mcp-server -- npx -y [email protected]

The command pins the package version recorded in the source (0.5.0); the audit covers commit 9e649ff195fa. Transport: stdio. Reads these environment variables: KIMICODE_API_KEY, MY_KEY. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · 9e649ff195fa

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/howardpen9/kimi-code/badge.svg)](https://modelsatlas.com/mcp/howardpen9/kimi-code/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Kimi Code MCP server

What is the Kimi Code MCP server?
MCP server for Claude Code × Kimi K2.5 (256K context) — delegate bulk codebase analysis to Kimi, save 90% on token costs. Session caching, parallel agents, TypeScript.
What tools does Kimi Code expose?
8 in total: 6 read-only, 1 that write, and 1 that can delete or overwrite (kimi_cache_invalidate). Every one is listed on this page with its risk.
Is Kimi Code safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Kimi Code need?
It reads KIMICODE_API_KEY and MY_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Kimi Code run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as kimi-mcp-server at 0.5.0.
How current is this page?
The grade is for one exact copy of the source (9e649ff195fa), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • howardpen9/kimi-code-mcp on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 9e649ff195faObserved · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.