Unauthorized. Please provide a valid access token: Claude Code

Unable to connect supabase mcp with claude code due to:

⎿ Error: {"error":{"name":"Error","message":"Unauthorized. Please provide a valid access token to the MCP server via the --access-token flag or SUPABASE_ACCESS_TOKEN."}}

Tried everything but unable to get pass this error, I can confirm my token is correct even created several other but none working, tried using curl to verify the token it succed but still unable to connect and use tools of the mcp with claude code. Tried even downgrading the supabase version but still not working.
Screenshot_from_2025-09-22_22-53-02.png
Was this page helpful?