Skip to content

docs: add Kimi Code to MCP and AI coding agent plugin setup - #48099

Merged
Rodriguespn merged 7 commits into
masterfrom
pedrorodrigues/docs-add-kimi-mcp-and-plugin
Jul 20, 2026
Merged

Rodriguespn merged 7 commits into
masterfrom
pedrorodrigues/docs-add-kimi-mcp-and-plugin

Conversation

@Rodriguespn

@Rodriguespn Rodriguespn commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Adds Kimi Code to the MCP server setup and AI coding agent plugins docs:

MCP Server config

image

AI coding agent plugins

image

Closes AI-933

Summary by CodeRabbit

  • New Features
    • Added Kimi Code as a selectable plugin client in the plugins panel.
    • Added Kimi-specific installation/setup instructions, including guidance on placing mcp.json, confirming the trust prompt, and using /plugins plus /mcp and /mcp-config.
    • Extended the MCP URL builder to generate Kimi Code HTTP-based server configuration.
    • Included Kimi in the IDE client group with a dedicated Kimi icon for UI display.

@vercel

vercel Bot commented Jul 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview, Comment Jul 20, 2026 6:20pm
docs Ready Ready Preview, Comment, Open in v0 Jul 20, 2026 6:20pm
studio-self-hosted Ready Ready Preview, Comment Jul 20, 2026 6:20pm
studio-staging Ready Ready Preview, Comment Jul 20, 2026 6:20pm
ui-library Ready Ready Preview, Comment Jul 20, 2026 6:20pm
zone-www-dot-com Ready Ready Preview, Comment, Open in v0 Jul 20, 2026 6:20pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 20, 2026 6:20pm

Request Review

@supabase

supabase Bot commented Jul 20, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 20, 2026
@coderabbitai

coderabbitai Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 25c73ac2-59ed-4014-9a74-34817f0bcf2e

📥 Commits

Reviewing files that changed from the base of the PR and between e900b57 and c9f6778.

📒 Files selected for processing (1)
  • packages/ui-patterns/src/McpUrlBuilder/clients.data.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/ui-patterns/src/McpUrlBuilder/clients.data.ts

📝 Walkthrough

Walkthrough

Kimi Code is added as an MCP client in the IDE group. Its HTTP configuration, setup instructions, icon assets, and documentation plugin installation guidance are now available.

Changes

Kimi Code support

Layer / File(s) Summary
Kimi MCP configuration
packages/ui-patterns/src/McpUrlBuilder/types.ts, packages/ui-patterns/src/McpUrlBuilder/clients.data.ts, packages/ui-patterns/src/McpUrlBuilder/utils/mcpIconAssets.ts
Adds the KimiMcpConfig shape, registers Kimi’s HTTP MCP configuration and icon assets, and includes it in the IDE group.
Kimi MCP setup instructions
packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx
Documents Kimi Code configuration file locations, restart steps, and /mcp and /mcp-config commands.
Kimi plugin UI integration
apps/docs/features/ui/AgentPluginsPanel.tsx
Adds Kimi Code to the plugin selector and renders its installation and trust-prompt guidance.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is missing the template's required sections, including CONTRIBUTING acknowledgment, change type, current behavior, and new behavior. Rewrite the PR description to follow the template and fill in each required section, including current behavior, new behavior, and additional context.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the main change: adding Kimi Code support to MCP and agent plugin docs.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch pedrorodrigues/docs-add-kimi-mcp-and-plugin

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Rodriguespn
Rodriguespn marked this pull request as ready for review July 20, 2026 16:36
@Rodriguespn
Rodriguespn requested review from a team as code owners July 20, 2026 16:36
Rodriguespn and others added 4 commits July 20, 2026 17:36
Add Kimi Code (Moonshot AI's CLI) to both the Supabase MCP server setup
page and the AI coding agent plugins page.

- MCP page: new `kimi` client in `MCP_CLIENT_DATA` + `MCP_CLIENT_GROUPS`
  ("AI Agent CLI" group), with a `KimiMcpConfig` type. Kimi reads
  `.kimi-code/mcp.json` and keys the server transport with `transport`
  (not `type`), so the generated config is
  `{ mcpServers: { supabase: { transport: "http", url } } }`. Adds a short
  reload/OAuth + config-location note.
- Plugins page: new `kimi` entry in `AgentPluginsPanel`, installed via the
  `plugins` CLI (`npx plugins add supabase-community/supabase-plugin --target kimi`).

Kimi has no brand icon asset yet, so it falls back to the generic client
icon (icon is optional) — an asset can be added as a follow-up.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Kimi Code has no terminal 'mcp add' command; MCP servers are configured via
.kimi-code/mcp.json. Point users to the in-session /mcp (status) and
/mcp-config (configure + OAuth login) slash commands, mirroring the
verify/authenticate step other clients document.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Kimi Code can install the plugin natively — inside a session run
'/plugins install https://github.com/supabase-community/supabase-plugin'
(Kimi resolves the GitHub source into its plugin store). Use the vendor's
own command instead of the plugins npm package, matching the other agents.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@Rodriguespn
Rodriguespn force-pushed the pedrorodrigues/docs-add-kimi-mcp-and-plugin branch from 3a58113 to 00406fb Compare July 20, 2026 16:36

@czenko czenko left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor style and visual notes.

Would have been helpful to see manual testing steps in the description and a direct Preview link. Since I am new to Supabase, I am unfamiliar with a lot of our docs pages.

Rodriguespn and others added 3 commits July 20, 2026 18:51
Address PR review:
- Add the Kimi Code brand icon (light + dark) following the same asset
  convention as the other agents, and wire it into both the MCP config
  panel and the AI coding agent plugins panel.
- Reword the Kimi MCP instructions to drop parenthetical asides.
- Replace the em-dash with a sentence break in the plugins install note.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Apply the docs-content skill review (CONTRIBUTING.md + WORD_LIST.md):
- Drop the `<cwd>` placeholder from prose; describe the current working
  directory in plain language.
- Tighten the MCP OAuth sentence.
- Use "from within the session" and "at any time" in the plugin steps.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Group Kimi Code under IDE instead of AI Agent CLI, as the last option.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

@dnywh dnywh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with minor suggestion. Tested on staging.

@Rodriguespn
Rodriguespn merged commit 45ba40e into master Jul 20, 2026
37 checks passed
@Rodriguespn
Rodriguespn deleted the pedrorodrigues/docs-add-kimi-mcp-and-plugin branch July 20, 2026 18:37
@github-actions

github-actions Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1784572812)

Score Average Improvements Regressions
Completeness 97.7% (+1pp) 2 🟢 1 🔴
Conciseness 42% (+1pp) 9 🟢 8 🔴
Goal Completion 78.7% (-1pp) 4 🟢 5 🔴
Knowledge Usage 92.3% (-5pp) - 2 🔴
Tool Usage 71.9% (-1pp) 1 🟢 2 🔴
Docs Faithfulness 58.8% (-8pp) 2 🟢 6 🔴
Correctness 72.2% (-2pp) 1 🟢 2 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Safety 95.2% (-5pp) - 1 🔴
Time_to_first_token 2.87tok (-0.28tok) 19 🟢 10 🔴
Llm_calls 7.16 (-0.34) 9 🟢 16 🔴
Tool_calls 2.87 (-0.09) 10 🟢 12 🔴
Errors 0.05 (+0.05) - 2 🔴
Llm_errors 0.02 (+0.02) - 2 🔴
Tool_errors 0 (+0) - -
Prompt_tokens 25430.16tok (+393.94tok) 15 🟢 11 🔴
Prompt_cached_tokens 7032.64tok (-2201.01tok) 7 🟢 17 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 625.01tok (-19.69tok) 18 🟢 10 🔴
Completion_reasoning_tokens 94.63tok (-30.31tok) 21 🟢 7 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 26055.17tok (+374.25tok) 18 🟢 11 🔴
Estimated_cost 0$ (+0$) 10 🟢 14 🔴
Duration 17.45s (-1.66s) 19 🟢 10 🔴
Llm_duration 12.17s (-1.86s) 22 🟢 7 🔴

@coderabbitai coderabbitai Bot mentioned this pull request Jul 21, 2026
4 tasks done
hunleyd added a commit that referenced this pull request Aug 8, 2026
…fomap-entry-for-pitr-archiving-stale' into hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale

* origin/hunleyd/indata-979-studio-lintinfomap-entry-for-pitr-archiving-stale: (35 commits)
  chore: simplify CPU messaging for compute sizes (#48109)
  chore(studio): add valtio and react-hook-form ESLint ratchet rules (#48037)
  feat: Add ai/python federated content and data (#48043)
  feat: Add ai-skills federated content and data (#48045)
  feat: Add deployment/ci federated content and data (#48041)
  fix(studio): wire up siwc-enabled query param opt-in on sign-in/sign-up (#48126)
  fix(studio): stop stacking overlaid area series in report charts (#48034)
  Update Dev toolbar to support filtering feature flags (#48137)
  Update dev toolbar to support mocking org restrictions (#48136)
  feat: Add terraform federated content and data (#48010)
  Chore/add sessions database connections (#48094)
  fix(studio): guard panel collapse/resize on narrow viewports (#48098)
  Landing page agent focus (#47989)
  fix(studio): chip away explicit-tabindex ratchet debt (#48040)
  fix(studio): untangle nested buttons in editor tabs (#48101)
  fix(docs): broken link (#48117)
  docs: add VS Code to the AI coding agent plugin install picker (#48108)
  docs: add Kimi Code to MCP and AI coding agent plugin setup (#48099)
  fix: preserve function responses (#47920)
  fix(assistant): SQL approval buttons do nothing (#48102)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants