mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 23:49:03 +00:00
## Problem [MCP 0.16.0](https://github.com/supabase/mcp/releases/tag/mcp-server-supabase-v0.16.0) enables the notebook tools (`create_notebook`, `run_notebook`, `delete_notebook`) alongside `list_notebooks` and `get_notebook`, in the `notebooks` feature group, and [0.16.1](https://github.com/supabase/mcp/releases/tag/mcp-server-supabase-v0.16.1) enables that group by default. The MCP docs page doesn't mention them or their confirmations, and the configuration panel has no way to select the group or skip its confirmations. ## Solution Document the Notebooks group on the MCP page in the same format as the other groups: hosted only, not available in local or self-hosted Studio. Add a Notebook confirmations section covering `run_notebook` and `delete_notebook` elicitation and read-only behavior. Add `run_notebook` and `delete_notebook` to `skip_elicitations`, and add a Notebooks recommendation covering the per-run limits (50 query cells, about 1 MB of rows). In the configuration panel and Studio Connect sheet, add Notebooks as a default group for hosted connections only. A `defaultDisabled` flag on each group replaces the hardcoded Storage exclusion, and the notebook skip options appear only while Notebooks is enabled. No docs change needed for the other 0.16.0 and 0.16.1 fixes (feedback `project_id`, project ref hint, `partition_of`, check expressions, EXPLAIN confirmation, edge function paths, notebook URLs in tool outputs). ## Before merge - [supabase/platform#38799](https://github.com/supabase/platform/pull/38799) must ship. Until then, hosted only serves `list_notebooks` and `get_notebook`. - The scoped token permissions table is generated from the platform `mcp-tools-permissions` endpoint, which doesn't list `create_notebook`, `run_notebook`, or `delete_notebook` yet. ## Verification <img width="838" height="367" alt="image" src="https://github.com/user-attachments/assets/29d1bd4e-5046-4986-9dbb-ed077bdf3a56" /> MCP Docs preview [page](https://docs-git-rodriguespn-ai-1409-mcp-docs-v0-16-0-supabase.vercel.app/docs/guides/ai-tools/mcp) Closes AI-1409
Supabase Docs
This directory contains the Next.js app for supabase.com/docs.
Guides live in content/ as MDX. Reference pages are generated from the specs in spec/: OpenAPI, SDKSpec, ConfigSpec, and CLISpec. Some sections come from other repositories.
Where to go
- To write a page, follow the style guide.
- To find where a page lives, add one, or update generated reference docs, use the contributing guide. Library maintainers start at Reference structure.
- To use an agent, use the AI agent skills for docs authoring. Those skills include framing a page and placing it in the information architecture.
- To run the site locally, use the developers' guide.
- To add or change a redirect, read
lib/redirects/README.mdfirst.