Supabase MCP local fails

Hello,

Claude kept using my supabase_prod (for data read only access) instead of the local supabase and it kept driving me mad.

Seems like there's an issue with the local supabase MCP:

When clicking on "Authenticate" I get:
HTTP 404: Invalid OAuth error response


supabase cli: 2.58.5

Here is my .mcp.json

    "supabase": {
      "type": "http",
      "url": "http://localhost:54321/mcp"
    },
    "supabase_prod": {
      "type": "http",
      "url": "https://mcp.supabase.com/mcp?project_ref=<redacted>&read_only=true&features=database"
    },
CleanShot_2025-11-18_at_13.22.522x.jpg
CleanShot_2025-11-18_at_13.24.462x.jpg
Was this page helpful?