Skip to content

chore(studio): upgrade @supabase/mcp-server-supabase to v0.6.2#42210

Merged
mattrossman merged 3 commits intomasterfrom
mattrossman/ai-392-6b-update-self-hosted-remote-mcp-server
Jan 27, 2026
Merged

chore(studio): upgrade @supabase/mcp-server-supabase to v0.6.2#42210
mattrossman merged 3 commits intomasterfrom
mattrossman/ai-392-6b-update-self-hosted-remote-mcp-server

Conversation

@mattrossman
Copy link
Contributor

@mattrossman mattrossman commented Jan 27, 2026

Upgrades MCP packages for self-hosted remote MCP server:

  • @supabase/mcp-server-supabase: ^0.6.1^0.6.2
  • @supabase/mcp-utils: ^0.3.1^0.3.2
  • @modelcontextprotocol/sdk: ^1.24.0^1.25.2 (now a peer dependency of @supabase/mcp-server-supabase)

Also adjusts test mocks to address Node.js / Web Standard HTTP API incompatibility with downstream @hono/node-server usage in the upgraded @modelcontextprotocol/sdk.

Resolves AI-392
Ref AI-342

Summary by CodeRabbit

  • Chores

    • Updated Model Context Protocol and Supabase utility dependencies to the latest compatible versions.
  • Tests

    • Enhanced test infrastructure with improved mocking for external service compatibility.

✏️ Tip: You can customize this high-level summary in your review settings.

@vercel
Copy link

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
zone-www-dot-com Ready Ready Preview, Comment Jan 27, 2026 4:45pm
7 Skipped Deployments
Project Deployment Review Updated (UTC)
cms Ignored Ignored Jan 27, 2026 4:45pm
studio Ignored Ignored Jan 27, 2026 4:45pm
design-system Skipped Skipped Jan 27, 2026 4:45pm
docs Skipped Skipped Jan 27, 2026 4:45pm
studio-self-hosted Skipped Skipped Jan 27, 2026 4:45pm
studio-staging Skipped Skipped Jan 27, 2026 4:45pm
ui-library Skipped Skipped Jan 27, 2026 4:45pm

Request Review

@supabase
Copy link

supabase bot commented Jan 27, 2026

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 27, 2026

Walkthrough

This PR updates MCP-related dependencies in the Supabase Studio app to newer versions and introduces mock implementations for these packages in tests to address Hono and node-mocks-http compatibility issues.

Changes

Cohort / File(s) Summary
Dependency updates
apps/studio/package.json
Bumped @modelcontextprotocol/sdk from ^1.24.0 to ^1.25.2, @supabase/mcp-server-supabase from ^0.6.1 to ^0.6.2, and @supabase/mcp-utils from ^0.3.1 to ^0.3.2
MCP test setup
apps/studio/tests/pages/api/mcp/index.test.ts
Added vitest mocks for @modelcontextprotocol/sdk/server/streamableHttp.js and @supabase/mcp-server-supabase to resolve Hono/node-mocks-http compatibility issues; integrated vi.clearAllMocks() in beforeEach hook

Possibly related PRs

Suggested reviewers

  • awaseem
  • ivasilov
  • CoolAssPuppy
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately captures the main purpose of the PR—upgrading the @supabase/mcp-server-supabase package—though it omits mention of related SDK upgrades and test mock adjustments.
Description check ✅ Passed The PR description provides comprehensive context about package upgrades, HTTP API compatibility adjustments, and issue references, but does not follow the repository's structured template.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mattrossman mattrossman changed the title chore(mcp): upgrade @supabase/mcp-server-supabase to v0.6.2 chore(studio): upgrade @supabase/mcp-server-supabase to v0.6.2 Jan 27, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2026

🎭 Playwright Test Results

passed  84 passed
flaky  2 flaky
skipped  4 skipped

Details

stats  90 tests across 14 suites
duration  14 minutes, 52 seconds
commit  ce4701e

Flaky tests

Features › table-editor.spec.ts › table editor › add enums and show enums on table
Features › table-editor.spec.ts › table editor › can create and remove foreign key with column selection

Skipped tests

Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@mattrossman mattrossman marked this pull request as ready for review January 27, 2026 16:33
@mattrossman mattrossman requested a review from a team as a code owner January 27, 2026 16:33
@mattrossman mattrossman merged commit d21098a into master Jan 27, 2026
24 checks passed
@mattrossman mattrossman deleted the mattrossman/ai-392-6b-update-self-hosted-remote-mcp-server branch January 27, 2026 18:10
@github-actions
Copy link
Contributor

github-actions bot commented Jan 27, 2026

Braintrust eval report

Assistant (master-1769537538)

Score Average Improvements Regressions
Completeness 100% (+11pp) 1 🟢 -
Conciseness 0% (+0pp) - -
Correctness 100% (+33pp) 1 🟢 -
Docs Faithfulness 50% (+0pp) 1 🟢 1 🔴
Goal Completion 100% (+17pp) 2 🟢 -
Tool Usage 100% (+0pp) - -
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Time_to_first_token 0.2tok (+0.03tok) 3 🟢 6 🔴
Llm_calls 8.78 (+0.22) 2 🟢 1 🔴
Tool_calls 3.56 (+0.22) 2 🟢 -
Errors 0 (+0) - -
Llm_errors 0 (+0) - -
Tool_errors 0 (+0) - -
Prompt_tokens 92246.22tok (-9047.33tok) 5 🟢 4 🔴
Prompt_cached_tokens 56974.22tok (-9927.11tok) 2 🟢 5 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Completion_tokens 5995.78tok (+1348.44tok) 2 🟢 7 🔴
Completion_reasoning_tokens 4309.33tok (+924.44tok) 3 🟢 6 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 98242tok (-7698.89tok) 5 🟢 4 🔴
Estimated_cost 0.02$ (+0$) 3 🟢 6 🔴
Duration 52s (+5.78s) 4 🟢 5 🔴
Llm_duration 103.15s (+11.48s) 4 🟢 5 🔴

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.

2 participants