https://api.surnex.io/mcp over HTTP transport. It uses OAuth — you don’t configure a credential, you approve the client in a browser.
You do not need an API key. Keys are for the REST API and are explicitly refused by the MCP endpoint.
Claude Code
Claude Desktop, Cursor, Windsurf
What happens on first connection
- The client calls the server with no token and gets a 401 carrying a pointer to the protected-resource metadata.
- It reads that metadata, which names Supabase as the authorization server.
- It registers itself and sends you to authorize.
- You land on the Surnex consent screen — “Claude wants to access your Surnex account” — listing the scopes and what the tools can do. Approve or deny.
- The client receives a token and connects.
Verifying
Ask the agent to list your organizations. It should calllist_organizations and return real data.
If it reports no such tool, the server isn’t connected. If it reports an authentication error, see troubleshooting.
One connection covers every organization
Unlike an API key, the token identifies you — so a single connection reaches every organization you’re a member of. You don’t add one server entry per organization. Because of that, org-scoped tools take an optionalorganization argument. If you belong to more than one and don’t name it, the call is refused with a list of your organizations rather than being resolved to a guess.
Name the organization in your prompt when you have several:
Check rankings for example.com in the Acme organization.
What the agent can do
The token carries your role. A member’s connection can’t delete a project, because that member can’t. An owner’s can. It can never mint an API key, change billing, invite or remove people, or read an organization you don’t belong to.Related
- MCP authentication — the flow and the consent screen in detail
- MCP tools
- Troubleshooting