From 5bbddd5f0152aaa9775bb29c8c22868ffdef7d5e Mon Sep 17 00:00:00 2001 From: Pedro Rodrigues <44656907+Rodriguespn@users.noreply.github.com> Date: Fri, 30 Oct 2026 19:09:14 +0000 Subject: [PATCH] docs(mcp): document feedback tools and feature group (#52557) ## Problem [MCP 0.15.0](https://github.com/supabase/mcp/releases/tag/mcp-server-supabase-v0.15.0) adds `submit_feedback` and `delete_feedback` in a new `feedback` group. The MCP docs page doesn't mention them, and the configuration panel always sends an explicit `features` list without `feedback`, so hosted users who set up through the panel never get these tools. ## Solution Document both tools on the MCP page: the `feedback` value, that they're hidden in read-only mode, what data is sent, and how hosted, project-scoped, and local connections differ. Update the "Available tools" intro. ## Verification [MCP Tools docs page Preview](https://docs-git-pedrorodrigues-ai-1387-2d-optional-doc-f3ca8e-supabase.vercel.app/docs/guides/ai-tools/mcp) image Screenshot 2026-10-30 at 15 30 05 Closes AI-1387 --- apps/docs/content/guides/ai-tools/mcp.mdx | 9 ++++++++- .../src/McpUrlBuilder/McpConfigPanel.test.tsx | 15 +++++++++++++++ .../ui-patterns/src/McpUrlBuilder/clients.data.ts | 5 +++++ 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/apps/docs/content/guides/ai-tools/mcp.mdx b/apps/docs/content/guides/ai-tools/mcp.mdx index ab31b481d02..720f2111e48 100644 --- a/apps/docs/content/guides/ai-tools/mcp.mdx +++ b/apps/docs/content/guides/ai-tools/mcp.mdx @@ -45,7 +45,7 @@ Additionally, you can install Supabase agent skills alongside the MCP server, us ## Available tools -The Supabase MCP server provides tools organized into feature groups. All groups except Storage are enabled by default. You can enable or disable specific groups using the [configuration panel above](#configure-your-ai-tool). +The Supabase MCP server provides tools organized into feature groups. Groups that your connection supports are enabled by default, except Storage. You can enable or disable specific groups using the [configuration panel above](#configure-your-ai-tool). ### Database @@ -101,6 +101,13 @@ Requires a paid plan. - `create_branch` / `list_branches` / `delete_branch` - Branch management - `merge_branch` / `reset_branch` / `rebase_branch` - Branch operations +### Feedback + +Disabled in read-only mode (`read_only` parameter). + +- `submit_feedback` - Send feedback about Supabase tools to the Supabase team +- `delete_feedback` - Delete feedback using the token returned by `submit_feedback` + ### Storage (disabled by default) - `list_storage_buckets` - List storage buckets diff --git a/packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.test.tsx b/packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.test.tsx index 1b95fea1a8c..7ac8b25bbf7 100644 --- a/packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.test.tsx +++ b/packages/ui-patterns/src/McpUrlBuilder/McpConfigPanel.test.tsx @@ -20,6 +20,21 @@ function selectOptOut(tool: string) { }) } +describe('McpConfigPanel default feature groups', () => { + it('enables feedback by default only for hosted connections', () => { + const { container, rerender } = render(, { + wrapper: TooltipProvider, + }) + expect(container.textContent).toMatch(/features=[^&\s"]*feedback/) + expect(container.textContent).not.toMatch(/features=[^&\s"]*storage/) + + // Older local Studio versions reject unknown groups with a 400. + rerender() + expect(container.textContent).toContain('features=docs') + expect(container.textContent).not.toMatch(/features=[^&\s"]*feedback/) + }) +}) + describe('McpConfigPanel opt-out transitions', () => { it('permanently clears cost opt-outs when a connection becomes project scoped', () => { const { container, rerender } = render(, { diff --git a/packages/ui-patterns/src/McpUrlBuilder/clients.data.ts b/packages/ui-patterns/src/McpUrlBuilder/clients.data.ts index 2c6e6c20969..bdb2394ebd9 100644 --- a/packages/ui-patterns/src/McpUrlBuilder/clients.data.ts +++ b/packages/ui-patterns/src/McpUrlBuilder/clients.data.ts @@ -55,6 +55,11 @@ export const FEATURE_GROUPS_PLATFORM: McpFeatureGroup[] = [ name: 'Branching', description: 'Manage database branches', }, + { + id: 'feedback', + name: 'Feedback', + description: 'Send feedback about Supabase tools to the Supabase team', + }, { id: 'storage', name: 'Storage',