Skip to content

feat(mcp): pass the Kimi Code deferred MCP server key through - #3099

Merged
dyoshikawa merged 1 commit into
mainfrom
resolve-issue-2502-kimi-code-mcp-deferred
Sep 17, 2026
Merged

dyoshikawa merged 1 commit into
mainfrom
resolve-issue-2502-kimi-code-mcp-deferred

Conversation

@dyoshikawa

Copy link
Copy Markdown
Owner

Summary

Kimi Code 0.43.0 added a per-server MCP key deferred: boolean that keeps a server's tools out of the model's top-level tool list until they are loaded on demand. toKimiCodeServer in src/features/mcp/kimi-code-mcp.ts emits a fixed allow-list of per-server keys, so deferred could not be authored from .rulesync/mcp.jsonc and was stripped from an existing .kimi-code/mcp.json on regenerate.

  • Add deferred to the allow-list. Import already spreads unknown server keys into the canonical server, so the round trip now preserves it in both directions.
  • Test: a generate + import round trip for a deferred: true server.
  • Docs: deferred listed in the Kimi Code MCP note in docs/reference/file-formats.md; src/generated/docs-content.ts regenerated.

This is the mechanical MCP sub-gap recorded in the 2026-09-16 comment on the Kimi Code follow-up issue; the plugin-manifest target, the executor / runtime_id keys, the preserveKimiCodeRules forms and the dangerous_command_guard modeling remain open there.

Refs #2502

Evidence

Test plan

  • pnpm cicheck green locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_019yLN6CVqeZ8HCrjRb9o7mK

Kimi Code 0.43.0 added a per-server `deferred` flag that keeps a server's tools out of the top-level tool list until the model loads them on demand. The Kimi adapter emits an explicit allow-list, so the key could not be authored and was stripped on regenerate. Add it to the allow-list (import already spreads unknown keys) and document it.

Refs #2502

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019yLN6CVqeZ8HCrjRb9o7mK
@dyoshikawa
dyoshikawa merged commit 97cf6bd into main Sep 17, 2026
10 checks passed
@dyoshikawa

Copy link
Copy Markdown
Owner Author

@dyoshikawa Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant