Skip to content

feat(notebooks): enable create_notebook and run_notebook tools - #509

Merged
Rodriguespn merged 1 commit into
mainfrom
feat/enable-notebook-write-run-tools
Nov 3, 2026
Merged

Rodriguespn merged 1 commit into
mainfrom
feat/enable-notebook-write-run-tools

Conversation

@Rodriguespn

@Rodriguespn Rodriguespn commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Feature

What is the current behavior?

create_notebook and run_notebook are implemented but hidden behind the internal unreleasedNotebookTools server option, so the notebooks feature group only exposes list_notebooks and get_notebook.

What is the new behavior?

The notebooks feature group registers create_notebook and run_notebook by default. The unreleasedNotebookTools option and its plumbing are removed.

Verification

Creating and running a notebook using Supabase MCP server using the official MCP inspector

  • URL for the local http mcp server with just the notebooks: http://127.0.0.1:3111/mcp?features=notebooks&project_ref=bqkkwtoarvztskjekvvo
notebook-tools-mcp.mp4

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 41608863289

Coverage decreased (-0.002%) to 97.72%

Details

  • Coverage decreased (-0.002%) from the base build.
  • Patch coverage: 16 of 16 lines across 1 file are fully covered (100%).
  • 1 coverage regression across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

1 previously-covered line in 1 file lost coverage.

File Lines Losing Coverage Coverage
packages/mcp-server-supabase/src/transports/local-http-entry.ts 1 97.59%

Coverage Stats

Coverage Status
Relevant Lines: 5763
Covered Lines: 5662
Line Coverage: 98.25%
Relevant Branches: 1124
Covered Branches: 1068
Branch Coverage: 95.02%
Branches in Coverage %: Yes
Coverage Strength: 169.33 hits per line

💛 - Coveralls

@Rodriguespn
Rodriguespn marked this pull request as ready for review November 3, 2026 10:46
@Rodriguespn
Rodriguespn requested a review from a team as a code owner November 3, 2026 10:46
@Rodriguespn Rodriguespn added the publish-preview Runs `publish-preview` workflow to publish preview packages via https://pkg.pr.new/ label Nov 3, 2026
@pkg-pr-new

pkg-pr-new Bot commented Nov 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

pnpm add https://pkg.pr.new/@supabase/mcp-server-postgrest@81ff6a5
pnpm add https://pkg.pr.new/@supabase/mcp-server-supabase@81ff6a5
pnpm add https://pkg.pr.new/@supabase/mcp-utils@81ff6a5

commit: 81ff6a5

@Rodriguespn
Rodriguespn merged commit addc4e5 into main Nov 3, 2026
7 checks passed
@supabase-releaser supabase-releaser Bot mentioned this pull request Nov 3, 2026
barryroodt pushed a commit that referenced this pull request Nov 5, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>mcp-server-supabase: 0.16.0</summary>

##
[0.16.0](mcp-server-supabase-v0.15.0...mcp-server-supabase-v0.16.0)
(2026-11-05)


### Features

* bound run_notebook cost
([#511](#511))
([e90d110](e90d110))
* **mcp-server-supabase:** run selected notebook cells
([#514](#514))
([8d04248](8d04248))
* **notebooks:** add delete_notebook tool with elicitation confirmation
([#510](#510))
([f36f74a](f36f74a))
* **notebooks:** enable create_notebook and run_notebook tools
([#509](#509))
([addc4e5](addc4e5))


### Bug Fixes

* **feedback:** accept null project_id and surface the feedback length
limit ([#521](#521))
([994f56c](994f56c))
* hint agents to re-copy malformed project refs
([#522](#522))
([0c650bf](0c650bf))
* **notebooks:** return caller errors for client-caused notebook
refusals ([#512](#512))
([5f0d393](5f0d393))
* **pg-meta:** report partition FKs once and add partition_of to
list_tables ([#508](#508))
([2c7fa82](2c7fa82))
* **pg-meta:** return complete check expressions for NOT VALID and NO
INHERIT constraints ([#517](#517))
([c54bb40](c54bb40))
* **sql:** skip destructive confirmation for planner-only EXPLAIN
([#519](#519))
([95745e5](95745e5))
* tolerate non-URL edge function paths in api platform
([#438](#438))
([00d07a4](00d07a4))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: supabase-releaser[bot] <223506987+supabase-releaser[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

publish-preview Runs `publish-preview` workflow to publish preview packages via https://pkg.pr.new/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants