DocsGPT icon indicating copy to clipboard operation
DocsGPT copied to clipboard

🚀 Feature: Supabase MCP connector preset

Open dartpain opened this issue 2 months ago • 5 comments

🔖 Feature description

Add Supabase to the Connectors catalog as a remote MCP preset, so agents can work with a user's Supabase projects (list tables, run SQL, read logs, search Supabase docs) after one OAuth sign-in.

Supabase runs a hosted MCP server at https://mcp.supabase.com/mcp. It answers an unauthenticated request with a 401 that points to OAuth metadata, and its authorization server supports dynamic client registration, which is exactly what the preset list requires (see the inclusion rules at the top of docsgpt/connectors/presets/mcp.yaml). Users don't need to register an app or paste an API key.

🎤 Why is this feature needed?

Developers building on Supabase want to ask "how many users signed up today?" or "why is this query slow?" from the same agent that knows their docs. Today they would have to set it up as a custom MCP server by hand.

✌️ How do you aim to achieve this?

This is a small, self-contained change. No Python code is needed beyond the catalog entry:

  1. Add an entry to docsgpt/connectors/presets/mcp.yaml, following the existing ones (e.g. Sentry or Stripe):
    • key: mcp:supabase, name: Supabase, a one-line description
    • icon: supabase, category: database
    • mcp_url: https://mcp.supabase.com/mcp, auth_kind: mcp_oauth
    • capabilities: [read], or [read, write] if the server exposes tools that change things
    • docs_url: https://supabase.com/docs/guides/getting-started/mcp
  2. Add the icon at frontend/src/assets/connectors/supabase.svg (use Supabase's official brand mark).
  3. Add the description key settings.connectors.descriptions.mcp_supabase to all seven locale files in frontend/src/locale/ (de en es jp ru zh zh-TW).
  4. Add Supabase to the preset lists in docs/content/Sources/Connectors/index.mdx (the "MCP presets" section) and docs/content/Tools/mcp-tools.mdx.
  5. If a test lists or validates the presets (see tests/connectors/test_catalog.py), update it.

Before choosing capabilities, sign in once and look at the server's tools/list to see which tools read and which ones write.

Notes for Supabase:

  • The server can run SQL and change projects. Supabase supports ?read_only=true and ?project_ref=<ref> query parameters on the URL. Use the plain URL in the preset, and mention the read-only option in the PR so maintainers can decide.
  • Supabase recommends connecting development projects rather than production. The free plan is enough to test.

Other presets are being added in parallel this month and touch the same YAML and locale files, so expect to rebase on main before merge.

Acceptance criteria

  • Supabase appears on the Connectors page with its icon and description in every locale.
  • Connecting it opens Supabase's OAuth sign-in, and the connection then works as an agent tool.
  • ruff check ., python -m pytest tests/connectors and cd frontend && npm run lint pass.

🔄️ Additional Information

Please attach a screenshot of the Supabase card on the Connectors page and of an agent using one of its tools. UI work follows frontend/DESIGN.md. Vercel (#2874) is a similar issue, so it's a useful reference.

dartpain avatar Oct 02 '26 14:10 dartpain

I would like to take this issue. Can you please assign me?

SUJALSPATEL avatar Oct 02 '26 14:10 SUJALSPATEL

@SUJALSPATEL, you are assigned.

  • Open a PR or post a progress update within 14 days; otherwise, the issue will be made available to others.
  • Read CONTRIBUTING.md and frontend/DESIGN.md before starting.
  • Include a screenshot or short recording of the UI change in your PR.

Automated triage. A maintainer will follow up.

arc53-machine avatar Oct 02 '26 14:10 arc53-machine

Hi @dartpain @pabik, I have opened PR #2946 implementing the Supabase MCP connector preset with the official SVG brand icon, descriptions in all 7 locales, documentation updates, and unit tests passing.

Git-rey-08 avatar Oct 03 '26 14:10 Git-rey-08

hi, I'd love to take on this issue ,Thanks

shaw778 avatar Oct 23 '26 14:10 shaw778

@shaw778, PR #2961 already addresses this issue, and @SUJALSPATEL is assigned. You can help by reviewing or testing that PR instead.

Automated triage. A maintainer will follow up.

arc53-machine avatar Oct 23 '26 14:10 arc53-machine