Repository navigation
docs: add Warp as a supported MCP client - #48838
Conversation
Adds Warp to the data-driven MCP client list, so it surfaces in the docs MCP panel, the generated markdown, and Studio's Connect panel. Warp speaks the native remote (Streamable HTTP) transport, so the standard mcpServers config connects directly without an mcp-remote proxy. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughWarp is added to the MCP URL builder with client metadata, IDE grouping, setup instructions, and light and dark icon assets. The instructions cover remote MCP configuration and Supabase OAuth authentication. ChangesWarp MCP client
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx`:
- Around line 215-218: Update the paragraph in the MCP server setup instructions
to explicitly state that the server is started after being added, before
explaining that Warp opens a browser window for the Supabase OAuth flow.
Preserve the existing credential-storage information.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: eb44c29c-7ee1-46cc-b2ab-3c7aa8292eb1
⛔ Files ignored due to path filters (2)
packages/ui-patterns/src/McpUrlBuilder/assets/warp-icon-dark.svgis excluded by!**/*.svgpackages/ui-patterns/src/McpUrlBuilder/assets/warp-icon.svgis excluded by!**/*.svg
📒 Files selected for processing (3)
packages/ui-patterns/src/McpUrlBuilder/clients.data.tspackages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsxpackages/ui-patterns/src/McpUrlBuilder/utils/mcpIconAssets.ts
| <paragraph> | ||
| After adding the server, Warp opens a browser window to complete the Supabase OAuth flow | ||
| and stores the credentials securely on your device. | ||
| </paragraph> |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
echo "== Locate relevant file =="
git ls-files | rg 'packages/ui-patterns/src/McpUrlBuilder/clients\.instructions\.md\.tsx$' || true
echo "== Read relevant section =="
if [ -f packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx ]; then
nl -ba packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx | sed -n '180,240p'
fi
echo "== Search for Supabase/Warp/start server instructions nearby =="
rg -n "Supabase|Warp opens|opens a browser|start the server|start it|without credentials|MCP|server" packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx || true
echo "== Locate linked docs references or templates around these instructions =="
rg -n "docs\.warp\.dev/agents/capabilities/mcp|MCP server|browser flow|credentials|start the server|start Warp|MCP" -S . \
--glob '!node_modules' --glob '!dist' --glob '!build' | head -n 120Repository: supabase/supabase
Length of output: 317
🌐 Web query:
Warp docs MCP capabilities start server without credentials opens browser OAuth flow
💡 Result:
Yes, Warp supports an OAuth flow for Model Context Protocol (MCP) servers that automatically triggers a browser-based authentication process when you attempt to start or add a server that lacks existing credentials [1][2][3]. When you configure an MCP server that requires OAuth (such as for services like GitHub or Figma) within Warp, the following behavior applies: 1. Automatic Trigger: If you start or add a server without existing credentials, Warp will automatically open a browser window directed to the service provider's authorization page [1][2][3]. 2. Authentication Flow: After you grant the requested permissions in the browser, Warp captures the resulting token and stores it securely on your device [1][4][3]. 3. Automatic Injection: Once stored, Warp automatically injects these credentials into the MCP connection, and handles background token refreshes to maintain connectivity [4][3]. 4. Re-authorization: You will generally only be prompted to re-authorize if the token expires or if the server's required scopes are modified [3]. This "one-click installation" style flow is designed to simplify configuration for OAuth-protected servers [1][2]. In the event of issues with specific OAuth providers (such as those strictly enforcing redirect URI matching), Warp has implemented fixes to ensure compliance with OAuth standards (RFC 6749) by using clean redirect URIs [5]. Credentials can also be managed or revoked at any time through the MCP Servers pane within Warp settings [1][2].
Citations:
- 1: https://docs.warp.dev/agents/capabilities/mcp/
- 2: https://docs.warp.dev/agent-platform/capabilities/mcp/
- 3: https://mintlify.wiki/warpdotdev/warp/agent/mcp-servers
- 4: https://warpdotdev-warp.mintlify.app/agent/mcp-servers
- 5: MCP OAuth: Warp appends ?server_id= to redirect_uri, breaking RFC 6749 compliance warpdotdev/warp#9088
🌐 Web query:
docs.warp.dev/agents/capabilities/mcp Warp MCP adding server start server browser
💡 Result:
In Warp, you can add and manage Model Context Protocol (MCP) servers to extend AI agent capabilities with external tools and data sources [1][2][3]. Adding an MCP Server You can add MCP servers primarily through the Warp settings UI or via agent-driven commands [1][2][3]. 1. Using Settings UI: Navigate to Settings > AI > MCP Servers [2][4]. Click Add MCP server to paste a configuration for a stdio-based server (e.g., a command like npx) or enter an HTTP URL for a remote/SSE server [1][2][4]. 2. Using the MCP Gallery: For popular tools (e.g., GitHub, Linear, Slack), go to Settings > AI > MCP Servers > Browse gallery to add them with one click [2][4]. 3. Using Agent Skills: You can use the built-in /agent-add-mcp skill within a chat session. The agent will help create or update file-based MCP server definitions (typically saved to a.warp/.mcp.json file) [1][5][3]. Managing and Starting Servers After registration, you can manage your servers in the MCP Servers pane [1][5]. - Starting/Stopping: You can manually Start or Stop servers directly from the MCP Servers page in your settings [1][5]. A status indicator (typically a green dot) shows when a server is running and its tools are available [2][4]. - Logs: If a server fails to start, click the server name in the settings UI and open the Logs tab, or use the CLI command oz mcp logs <server_name> [2][4]. - Authentication: For servers requiring authentication, Warp handles this via browser-based OAuth flows [1][5]. If you start a server without existing credentials, Warp automatically opens a browser window to authenticate; credentials are then stored securely on your device [1][5]. For more complex workflows, such as cloud agents or shared configurations, you can also manage MCP servers via the oz CLI or by defining them in agent config files [3][6][7].
Citations:
- 1: https://docs.warp.dev/agents/capabilities/mcp/
- 2: https://mintlify.wiki/warpdotdev/warp/agent/mcp-servers
- 3: https://docs.warp.dev/guides/external-tools/using-mcp-servers-with-warp/
- 4: https://warpdotdev-warp.mintlify.app/agent/mcp-servers
- 5: https://docs.warp.dev/agent-platform/capabilities/mcp/
- 6: https://docs.warp.dev/platform/mcp/
- 7: https://docs.warp.dev/reference/cli/mcp-servers/
Make the OAuth trigger explicit.
After adding the server, start it. Then Warp opens a browser window to complete the Supabase OAuth flow.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@packages/ui-patterns/src/McpUrlBuilder/clients.instructions.md.tsx` around
lines 215 - 218, Update the paragraph in the MCP server setup instructions to
explicitly state that the server is started after being added, before explaining
that Warp opens a browser window for the Supabase OAuth flow. Preserve the
existing credential-storage information.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
kemaldotearth
left a comment
There was a problem hiding this comment.
Unblocking for design.
Braintrust eval report
|
## 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]>
Adds Warp as a supported client in the Supabase MCP docs. Because Warp speaks the native remote (Streamable HTTP) transport, the standard config connects to the hosted server directly, no
mcp-remoteproxy needed:{ "mcpServers": { "supabase": { "url": "https://mcp.supabase.com/mcp" } } }The MCP client list is data-driven, so this single addition surfaces in the docs MCP panel, the generated markdown, and Studio's Connect panel. Concretely: registers the
warpclient (config file~/.warp/.mcp.json, docs link) under the IDE group, adds setup instructions (auto-load + Settings → AI → MCP Servers, automatic OAuth), and adds the official Warp logo in light and dark variants.What is Warp?
Warp is an agentic development environment built from the terminal: a Rust-based, GPU-accelerated app that runs coding agents (Claude Code, Codex, Gemini) directly in the terminal. It has first-class MCP support with native remote (Streamable HTTP / SSE) transport and automatic OAuth (no PAT required).
Why add support for the Supabase MCP server?
Warp is a mainstream, widely-adopted client (warpdotdev/warp has 64k+ ⭐ on GitHub) that natively supports MCP. Documenting it lets Warp users connect the hosted Supabase MCP server with a copy-paste config, matching the coverage we already provide for Cursor, VS Code, Windsurf, and others.
How to test
pnpm dev:docs) and open the MCP guide (apps/docs/content/guides/ai-tools/mcp.mdx). Warp appears under IDE with its logo (verify both light and dark themes) and the config snippet.~/.warp/.mcp.json(or Settings → Agents → MCP Servers → + Add). Warp auto-spawns thesupabaseserver.supabaseserver → complete the Supabase OAuth in the browser → the Supabase tools load.Verified end-to-end on Warp v0.2026.07.29 (macOS): the config auto-loads and connects over Warp's native remote transport, and the OAuth flow completes without a PAT.
Refs AI-1031
Summary by CodeRabbit