Repository navigation
docs: add fx as a supported MCP client - #49446
Conversation
|
@suarezesteban is attempting to deploy a commit to the Supabase Team on Vercel. A member of the Team first needs to authorize it. |
|
Thanks for contributing to Supabase! ❤️ Our team will review your PR. A few tips for a smoother review process:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (6)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe MCP URL builder adds Fx support with typed HTTP configuration, URL extraction, CLI instructions, authentication, and light and dark icon assets. Tests cover URL recovery and dark icon selection. ChangesFx MCP client support
Estimated code review effort: 2 (Simple) | ~15 minutes Merge Risk: ⚪ Minimal · up to This PR adds fx documentation and configuration support without introducing an actionable merge-blocking risk; it is merge-ready after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
|
Fx is sick, lets get this in |
kemaldotearth
left a comment
There was a problem hiding this comment.
Approved for design assets.
Braintrust eval reportEvals in progress... ⌛ |
I have read the CONTRIBUTING.md file.
YES
What kind of change does this PR introduce?
Docs update: adds fx 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
mcprather thanmcpServersand names the transporthttp, 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 is configured by file only, so it gets an
alternateinstruction block and noinstallcommand, 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 listreports the server connected.Two notes on the diff:
types.tsgains anFxMcpConfiginterface, a type guard and a branch ingetMcpUrl. fx's shape is not covered by any existing interface (OpenCodeMcpConfigis the othermcp-rooted one, but carries$schemaandtype: 'remote'). SincegetMcpUrlthrows on an unrecognized shape and runs for every client with instructions, the guard is required rather than cosmetic. Antigravity (docs(mcp): add Antigravity client #43597) and OpenCode (feat: add OpenCode support to MCP clients #41825) added their shapes the same way.utils/getMcpIconSrc.test.tsgains a case for the new dark icon variant, alongside the existing cursor and perplexity cases.types.test.tsis new and checks that every client'stransformConfigoutput round-trips back throughgetMcpUrl, 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 --noEmitis clean, and both test files pass.Summary by CodeRabbit