Skip to content

chore(mcp-server-supabase): hide create_notebook and run_notebook - #499

Merged
barryroodt merged 1 commit into
mainfrom
pedrorodrigues/ai-1377-hide-notebook-tools-from-toolslist-and-mcp-release-0150
Oct 29, 2026
Merged

barryroodt merged 1 commit into
mainfrom
pedrorodrigues/ai-1377-hide-notebook-tools-from-toolslist-and-mcp-release-0150

Conversation

@Rodriguespn

@Rodriguespn Rodriguespn commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Release gate (chore)

What is the current behavior?

With features=notebooks, tools/list offers create_notebook and run_notebook, and release PR #477 would ship them in 0.15.0.

What is the new behavior?

The server no longer registers create_notebook or run_notebook. With notebooks requested, tools/list shows only list_notebooks and get_notebook, and a call to either hidden tool returns tool not found. The static tool registry (supabaseMcpToolSchemas / createToolSchemas) still lists both tools, so it no longer matches what the server registers for notebooks.

An @internal server option, unreleasedNotebookTools, turns them back on. It defaults to false and has no CLI flag or query param. Tests that cover the hidden tools set it, including the local HTTP suite through startEntry. @internal is only a doc comment, so the option still ships as unreleasedNotebookTools?: boolean on the exported SupabaseMcpServerOptions, and hosts using createSupabaseMcpHandler can set it.

The commit type is chore, so this PR adds nothing to the changelog. The notebook entries from #445, #446 and #478 come out of #477 through BEGIN_COMMIT_OVERRIDE blocks on those PRs.

Closes AI-1377

Not registered unless the internal unreleasedNotebookTools option is set,
so tools/list omits them even when the notebooks feature is requested.

Refs AI-1377
@Rodriguespn
Rodriguespn requested a review from a team as a code owner October 28, 2026 18:59
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 40750173861

Coverage increased (+0.002%) to 97.62%

Details

  • Coverage increased (+0.002%) from the base build.
  • Patch coverage: 21 of 21 lines across 2 files are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 5769
Covered Lines: 5662
Line Coverage: 98.15%
Relevant Branches: 1122
Covered Branches: 1065
Branch Coverage: 94.92%
Branches in Coverage %: Yes
Coverage Strength: 169.18 hits per line

💛 - Coveralls

@barryroodt
barryroodt merged commit 5afc540 into main Oct 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants