Skip to content

Supabase MCP connector OAuth reconnect fails: "Unrecognized client_id" #84609

Description

@Faggundes

Description

Reconnecting the Supabase MCP connector (plugin:supabase:supabase) fails. Claude Code flagged the connector as needing reauthentication at session start. Running /mcp to reconnect (and manually visiting claude.ai connector settings) produces an OAuth authorize URL that Supabase's own OAuth server rejects.

Steps to reproduce

  1. Have the Supabase MCP connector connected, then let the session expire (or otherwise trigger the "needs re-authentication" state).
  2. Attempt to reconnect via /mcp in Claude Code, or via claude.ai connector settings.
  3. This produces an authorize URL of the form:
https://api.supabase.com/v1/oauth/authorize?response_type=code&client_id=cda4198c-136f-464b-9612-2c1a767924be&code_challenge=<pkce>&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A3118%2Fcallback&state=<state>&scope=organizations%3Aread+projects%3Aread+projects%3Awrite+database%3Awrite+database%3Aread+analytics%3Aread+secrets%3Aread+edge_functions%3Aread+edge_functions%3Awrite+environment%3Aread+environment%3Awrite+storage%3Aread&resource=https%3A%2F%2Fmcp.supabase.com%2Fmcp
  1. Opening this URL in a browser returns, from api.supabase.com:
{"message":"Unrecognized client_id"}

Expected behavior

Supabase's OAuth server should recognize the client_id used by Anthropic's Supabase MCP connector and proceed to the normal Supabase login/consent screen.

Actual behavior

Supabase's OAuth authorize endpoint immediately rejects the request with Unrecognized client_id for client_id=cda4198c-136f-464b-9612-2c1a767924be, before any login/consent prompt. This makes it impossible to reconnect the Supabase MCP connector at all — not a one-time flake, reproduced twice.

Environment

  • Claude Code CLI (desktop), Windows 11
  • Connector: plugin:supabase:supabase (Anthropic-managed OAuth connector)
  • Observed: 2026-08-06

Impact

Blocks any workflow that depends on the Supabase MCP connector until Anthropic's registered OAuth client is recognized again by Supabase's api.supabase.com OAuth server (this looks like a server-side registration issue between Anthropic and Supabase, not something fixable from the user's Claude Code settings).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions