Can't use the MCP in Claude Code

hi ⎿ Error: {"error":{"name":"Error","message":"Unauthorized. Please provide a valid access token to the MCP server via the --access-token flag or SUPABASE_ACCESSTOKEN."}} the token is legit the good one since I copy pasted it from accounts/tokens (sbf) works on Cursor though, but not In Claude Code
8 Replies
ihm40
ihm403w ago
are you using the .mcp.json file for claude code?
Monjo
MonjoOP3w ago
yep
No description
Monjo
MonjoOP3w ago
btw, but still got the error message
No description
Monjo
MonjoOP3w ago
No description
ihm40
ihm403w ago
it's connected but still giving unauthorised errors?
Monjo
MonjoOP3w ago
yeah haha
ihm40
ihm403w ago
okay i did a brief search and a few other people have come across this issue, only solution i can find is this one https://www.reddit.com/r/ClaudeCode/comments/1mi59fo/comment/nfor2ik/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button (resinstalling it)
Reddit
Diligent-Bad6841's comment on "Supabase MCP Server - Persistent "Un...
Explore this conversation and more from the ClaudeCode community
ihm40
ihm403w ago
If possible, maybe try it? See if that works. If you are out of date in anyway also with your version of claude code i would also say look to see fi that could be an issue

Did you find this page helpful?