Skip to content

feat: mcp url - #4186

Merged
gregnr merged 3 commits into
developfrom
feat/mcp-url
Sep 24, 2025
Merged

feat: mcp url#4186
gregnr merged 3 commits into
developfrom
feat/mcp-url

Conversation

@gregnr

@gregnrgregnr commented Sep 20, 2025

Copy link
Copy Markdown
Member

Adds a new URL for MCP at http://127.0.0.1:54321/mcp. Proxies from kong to studio at /api/mcp.

Also adds the new MCP URL to supabase start and supabase status output:

Started supabase local development setup.
API URL: http://127.0.0.1:54321
GraphQL URL: http://127.0.0.1:54321/graphql/v1
S3 Storage URL: http://127.0.0.1:54321/storage/v1/s3
MCP URL: http://127.0.0.1:54321/mcp
...

Testing

  1. Checkout this branch feat/mcp-url and start a local stack:

    go run . start
  2. Add to your preferred MCP client using the URL http://127.0.0.1:54321/mcp.

    • If using Cursor you can use this button:

      Install MCP Server

    • If using Claude Code you can use this command:

      claude mcp add --transport http local-supabase http://127.0.0.1:54321/mcp
  3. Test the tools:

    • "What tables do I have?"
    • "What migrations have I run?"
    • "Create a todos table"

Resolves DEVWF-703. Follow up to supabase/supabase#38797

@gregnr
gregnr marked this pull request as ready for review September 23, 2025 20:00
@gregnr
gregnr requested a review from a team as a code ownerSeptember 23, 2025 20:00
@gregnr
gregnrforce-pushed the feat/mcp-url branch 2 times, most recently from fb7e99d to 552b4fdCompareSeptember 23, 2025 20:07
@coveralls

coveralls commented Sep 23, 2025

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 17961341283

Details

  • 14 of 17(82.35%) changed or added relevant lines in 2 files are covered.
  • 5 unchanged lines in 1 file lost coverage.
  • Overall coverage remained the same at 54.889%

Changes Missing CoverageCovered LinesChanged/Added Lines%
internal/status/status.go131681.25%
Files with Coverage ReductionNew Missed Lines%
internal/gen/keys/keys.go512.9%
TotalsCoverage Status
Change from base Build 17941895924:0.0%
Covered Lines:6360
Relevant Lines:11587

💛 - Coveralls

@gregnrgregnr added the enhancement New feature or request label Sep 23, 2025
@gregnr
gregnr merged commit 04fb522 into developSep 24, 2025
11 checks passed
@gregnr
gregnr deleted the feat/mcp-url branch September 24, 2025 13:16
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@gregnr@coveralls@sweatybridge