Skip to content

Add Kimi Code CLI as a supported MCP client - #4788

Merged
samuv merged 4 commits into
mainfrom
kimi-cli
Apr 13, 2026
Merged

samuv merged 4 commits into
mainfrom
kimi-cli

Conversation

@samuv

@samuv samuv commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Summary

Registers Kimi Code CLI as a supported MCP client in ToolHive.

  • MCP servers are written to ~/.kimi/mcp.json using the standard mcpServers format; no transport type field is written — Kimi CLI auto-detects from URL presence
  • Skills install to ~/.kimi/skills/<name> (user scope) and <project>/.kimi/skills/<name> (project scope) — matching Kimi's brand group path convention

Closes #4786

Type of change

New feature

Test plan

  • Unit tests (task test)
  • Linting (task lint-fix)

Changes

File Change
pkg/client/config.go Add KimiCli constant and clientAppConfig entry with MCP + skills config
pkg/client/config_test.go Add mock config, extend switch cases, bump client count 25 → 26
pkg/client/skills_test.go Add KimiCli to fixture, TestSupportsSkills, TestListSkillSupportingClients, TestGetSkillPath
docs/server/swagger.json / docs/server/docs.go Add kimi-cli to ClientApp enum
docs/cli/thv_client_register.md / docs/cli/thv_client_remove.md Regenerated client list

Does this introduce a user-facing change?

Yes — thv client register kimi-cli and thv skill install --clients kimi-cli (or --clients all) now work. MCP servers land in ~/.kimi/mcp.json and skills in ~/.kimi/skills/ so Kimi CLI picks them up automatically.

@github-actions github-actions Bot added the size/XS Extra small PR: < 100 lines changed label Apr 13, 2026
Comment thread pkg/client/config_test.go Resolved
Comment thread pkg/client/config_test.go Resolved
@codecov

codecov Bot commented Apr 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.93%. Comparing base (64378ce) to head (66f80db).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4788      +/-   ##
==========================================
- Coverage   68.99%   68.93%   -0.07%     
==========================================
  Files         517      517              
  Lines       54741    54741              
==========================================
- Hits        37766    37733      -33     
- Misses      14074    14101      +27     
- Partials     2901     2907       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions Bot added size/XS Extra small PR: < 100 lines changed and removed size/XS Extra small PR: < 100 lines changed labels Apr 13, 2026
@samuv
samuv merged commit 6a79259 into main Apr 13, 2026
41 checks passed
@samuv
samuv deleted the kimi-cli branch April 13, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Extra small PR: < 100 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Kimi Code CLI as a supported MCP client

2 participants