mirror of
https://github.com/supabase/supabase.git
synced 2026-12-06 16:39:05 +00:00
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) <img width="792" height="890" alt="image" src="https://github.com/user-attachments/assets/74dbe7fd-b1e2-48bf-8b87-403800c8076f" /> <img width="792" height="747" alt="Screenshot 2026-10-30 at 15 30 05" src="https://github.com/user-attachments/assets/bc61ee27-58ba-45b7-bd19-99676035c21d" /> Closes AI-1387
This commit is contained in:
1 parent
340101642a
commit
5bbddd5f01
3 files changed
+28
-1
No files matched your search
@@ -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
|
||||
|
||||
@@ -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(<McpConfigPanel {...props} />, {
|
||||
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(<McpConfigPanel {...props} isPlatform={false} />)
|
||||
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(<McpConfigPanel {...props} />, {
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user