Repository navigation
feat(mcp-server-supabase): run selected notebook cells - #514
Merged
Merged
Conversation
Rodriguespn
reviewed
Nov 4, 2026
Rodriguespn
approved these changes
Nov 4, 2026
Rodriguespn
left a comment
Contributor
There was a problem hiding this comment.
Approved with a nit comment to improve AX. Thanks for carrying this
Stop after cancellation and charge named size-limit errors to the remaining run budget.
Rodriguespn
reviewed
Nov 5, 2026
Contributor
|
Just needs rebase to get the mgmt-api types CI job to succeed and we're good to go. Thx Barry! |
…ok-cost # Conflicts: # packages/mcp-server-supabase/src/tools/destructive-sql.ts
…to feat/run-notebook-cells
…to feat/run-notebook-cells
Coverage Report for CI Build 42037337589Coverage increased (+0.02%) to 98.038%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
Merged
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>
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #511.
Adds an optional
cellslist (cell ids) torun_notebook, so an agent can re-run just the cell it fixed instead of the whole notebook. Leaving it out runs the whole notebook as before.Selected cells run in notebook order. There's no dependency resolution, so the agent should include any setup cell it needs. Duplicate ids are de-duped. Unknown or non-query ids are skipped, and each one comes back in the results as
{ cell_id, status: 'skipped', reason }so the agent can spot a typo or stale id. An empty list, or a selection with no matching query cell, fails as aToolCallerErrorbefore any prompt or query runs.The cell cap, result budget, confirmation prompt and
notebook_runcounts all apply to the selected cells, and skipped ids don't count toward any of them. An approval is tied to the selection it was given for, so approving one set of cells doesn't approve a different one. Selecting more than 50 query cells is refused with a message that tells the agent to callrun_notebookagain with the next 50 or fewer ids.Closes AI-1402