MoonshotAI / MoonshotAI/kimi-cli
MCP tools
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.4k
- Forks
- 1.3k
- Avg merge
- 9h 47m
- Merged PRs (30d)
- 2
Description
What version of Kimi Code CLI is running?
Kimi Code v0.19.2
Which open platform/subscription were you using?
subscription
Which model were you using?
k2.7
What platform is your computer?
windows
What issue are you seeing?
I have mcp server with 212 tools with description and Kimi is blocked by error:
Error: [provider.api_error] 400 tools.function.parameters is not a valid moonshot flavored json schema, details: <At
path 'root': schema exceeds maximum allowed size>
Increase allow size - codex and claude dont have problem with it.
What steps can reproduce the bug?
Add mcp server with many tools with bigg schema description
What is the expected behavior?
No response
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with a Windows Kimi Code v0.19.2 setup, an MCP server exposing 212 tools, and large tool descriptions. Trace how the CLI assembles MCP tool schemas before the Moonshot request; done when this configuration no longer fails because the combined schema exceeds the provider limit, with regression coverage if the relevant test entry point is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100