MCP server
Connect a client
Two transports, one server.
Endpoints
Streamable HTTP is the one to build against. SSE is there for clients that have not moved yet.
| Transport | URL |
|---|---|
| Streamable HTTP | https://api.openemail.uk/mcp |
| SSE | https://api.openemail.uk/sse |
How the grant works
- Point the client at the Streamable HTTP URL.
- It reads the authorization-server metadata and registers itself.
- You are sent here to sign in and are shown what is asking and where your access would be sent.
- Approving issues the client an access token.
OAuth, and only OAuth. A Better Auth session cookie in the Authorization header does not work. It was how this connected before the grant existed, and the endpoints no longer accept it.
Account → Connected apps lists everything holding a token and removes one. Removing an app deletes every token it holds and the approval behind it, so the next attempt has to ask again.