Skip to content

chore(docs): add GitHub Copilot CLI to MCP client list - #46150

Merged
Rodriguespn merged 1 commit into
masterfrom
docs/add-copilot-cli-to-ai-tooling
May 20, 2026
Merged

Rodriguespn merged 1 commit into
masterfrom
docs/add-copilot-cli-to-ai-tooling

Conversation

@Rodriguespn

@Rodriguespn Rodriguespn commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds GitHub Copilot CLI as a new MCP client option in the AI Agent CLI group (positioned after Gemini CLI)
  • Includes light and dark mode SVG icons sourced from official GitHub Copilot brand assets
  • Setup instructions follow the copilot mcp add --transport http supabase "<url>" command, with authentication via copilot -i /mcp
  • Adds CopilotMcpConfig type and wires up the icon asset mapping

Closes AI-768

Summary by CodeRabbit

  • New Features
    • Added support for GitHub Copilot CLI MCP configuration, including setup and authentication instructions.
    • Updated AI Agent CLI client group to include Copilot CLI.
    • Added theme-aware iconography for Copilot CLI integration.

Review Change Stack

@Rodriguespn
Rodriguespn requested a review from a team as a code owner May 20, 2026 11:36
@vercel

vercel Bot commented May 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 May 20, 2026 11:43am
docs Ready Ready Preview, Comment, Open in v0 May 20, 2026 11:43am
studio-self-hosted Ready Ready Preview, Comment May 20, 2026 11:43am
studio-staging Ready Ready Preview, Comment May 20, 2026 11:43am
ui-library Ready Ready Preview, Comment May 20, 2026 11:43am
zone-www-dot-com Ready Ready Preview, Comment, Open in v0 May 20, 2026 11:43am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
studio Ignored Ignored May 20, 2026 11:43am

Request Review

@supabase

supabase Bot commented May 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 ↗︎.

@coderabbitai

coderabbitai Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This PR adds GitHub Copilot CLI as a supported MCP client in the UI patterns library. It defines a new configuration type, configures the client with setup and authentication instructions, categorizes it within the AI Agent CLI group, and provides dark/light theme icons for consistent visual rendering across the application.

Changes

GitHub Copilot CLI MCP Support

Layer / File(s) Summary
Copilot MCP configuration type
packages/ui-patterns/src/McpUrlBuilder/types.ts
CopilotMcpConfig interface is added as an McpClientBaseConfig variant with HTTP server configuration, and the McpClientConfig union is updated to include CopilotMcpConfig alongside existing config types.
Client configuration and categorization
packages/ui-patterns/src/McpUrlBuilder/constants.tsx
CopilotMcpConfig type is imported, a new MCP_CLIENTS entry for copilot-cli is added with config transformation and UI instructions for setup (copilot mcp add) and authentication (copilot -i /mcp), and copilot-cli is included in the "AI Agent CLI" group's keys array.
Icon theming support
packages/ui-patterns/src/McpUrlBuilder/utils/mcpIconAssets.ts
Dark-theme Copilot icon import is added, and the MCP_CLIENT_ICON_ASSETS mapping for copilot is updated to return the appropriate light or dark icon based on theme context.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

A rabbit hops through config trees,
Adding Copilot to the breeze,
Dark icons paired with light so bright,
MCP setup instructions just right,
Another friend joins the CLI flight! 🐇✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is incomplete relative to the required template. It provides a summary of changes but does not follow the specified template structure with required sections. Add missing template sections: explicitly state 'YES/NO' for CONTRIBUTING.md acknowledgment, categorize the change type clearly, describe current behavior with issue link, and expand new behavior description with any relevant context or screenshots.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: adding GitHub Copilot CLI support to the MCP client list with appropriate scope indicator.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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 docs/add-copilot-cli-to-ai-tooling

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 and usage tips.

@Rodriguespn Rodriguespn self-assigned this May 20, 2026
@Rodriguespn
Rodriguespn merged commit 3c5a5a4 into master May 20, 2026
26 checks passed
@Rodriguespn
Rodriguespn deleted the docs/add-copilot-cli-to-ai-tooling branch May 20, 2026 14:06
@github-actions

github-actions Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1779286143)

Score Average Improvements Regressions
Completeness 92.3% (-6pp) - 4 🔴
Conciseness 41.7% (-1pp) 8 🟢 7 🔴
Docs Faithfulness 64.6% (-1pp) 3 🟢 3 🔴
Goal Completion 75.6% (-4pp) 4 🟢 6 🔴
Knowledge Usage 90% (-7.000000000000001pp) - 2 🔴
Tool Usage 72.9% (-2pp) 1 🟢 2 🔴
Correctness 66.7% (-3pp) 2 🟢 3 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+6pp) 1 🟢 -
Safety 90.5% (+10pp) 2 🟢 -
Time_to_first_token 0tok (+0tok) 4 🟢 22 🔴
Llm_calls 7.24 (+0.45) 18 🟢 4 🔴
Tool_calls 2.83 (-0.13) 6 🟢 14 🔴
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 24351.1tok (+5026.04tok) 10 🟢 14 🔴
Prompt_cached_tokens 6400tok (-111.59tok) 6 🟢 12 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 565.87tok (+12.01tok) 14 🟢 12 🔴
Completion_reasoning_tokens 93.08tok (+3.77tok) 10 🟢 14 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 24916.97tok (+5038.05tok) 11 🟢 15 🔴
Estimated_cost 0$ (+0$) 6 🟢 14 🔴
Duration 14s (+2.71s) 5 🟢 21 🔴
Llm_duration 8.48s (+0.27s) 12 🟢 14 🔴

awaseem added a commit that referenced this pull request Aug 24, 2026
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

## What kind of change does this PR introduce?

Docs update: adds [fx](https://fx.sh) to the MCP client list, following
the same pattern as the recently added Warp (#48838), GitHub Copilot CLI
(#46150) and OpenCode (#41825) clients.

fx is a native coding agent and an MCP client. It supports Streamable
HTTP and the full OAuth flow (metadata discovery, PKCE, Dynamic Client
Registration fallback, refresh), so it connects to the hosted Supabase
MCP server without a proxy.

## What is the current behavior?

fx is not in the client list, so users have to hand-write the config. fx
keys servers under `mcp` rather than `mcpServers` and names the
transport `http`, which is easy to get wrong by adapting another
client's snippet.

## What is the new behavior?

fx appears in the **AI Agent CLI** group, in both the docs page and the
dashboard's Connect panel. It renders as:

> **fx**
>
> Add this configuration to `~/.fx/mcp.json`:
>
> ```json
> {
>   "mcp": {
>     "supabase": {
>       "type": "http",
>       "url": "https://mcp.supabase.com/mcp"
>     }
>   }
> }
> ```
>
> fx reads MCP servers only from this profile, so a file inside a
repository cannot add one. If a session is already open, apply the
change with `/mcp reload`.
>
> Then authenticate from the fx shell. This opens your browser to
complete the OAuth flow:
>
> ```bash
> /mcp auth supabase --open
> ```
>
> Confirm the server is connected with `/mcp list`.
>
> For more details, see [MCP
configuration](https://fx.sh/docs/capabilities/mcp) in fx.

fx is configured by file only, so it gets an `alternate` instruction
block and no `install` command, matching Cursor, VS Code, Warp and
Antigravity.

## Additional context

The config above was verified end to end against the hosted server: the
OAuth flow completes and `/mcp list` reports the server connected.

Two notes on the diff:

- **`types.ts`** gains an `FxMcpConfig` interface, a type guard and a
branch in `getMcpUrl`. fx's shape is not covered by any existing
interface (`OpenCodeMcpConfig` is the other `mcp`-rooted one, but
carries `$schema` and `type: 'remote'`). Since `getMcpUrl` throws on an
unrecognized shape and runs for every client with instructions, the
guard is required rather than cosmetic. Antigravity (#43597) and
OpenCode (#41825) added their shapes the same way.
- **Tests.** `utils/getMcpIconSrc.test.ts` gains a case for the new dark
icon variant, alongside the existing cursor and perplexity cases.
`types.test.ts` is new and checks that every client's `transformConfig`
output round-trips back through `getMcpUrl`, which is what guards the
throw above. Happy to drop either if you'd rather keep the diff to the
usual shape for a client addition.

Prettier passes with the repo config, `tsc --noEmit` is clean, and both
test files pass.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
  * Added fx as a supported MCP client in the MCP URL builder.
* Added profile-based setup guidance, OAuth authentication instructions,
connection verification, and documentation links.
  * Added light and dark fx icons for improved visual support.
* **Bug Fixes**
  * Improved MCP URL detection for fx configurations.
* **Tests**
  * Added coverage for MCP URL extraction and dark-mode icon selection.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Ali Waseem <[email protected]>
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.

3 participants