---
title: "Connect a client"
description: "Two transports, one server."
url: "https://openemail.uk/docs/mcp/connect"
area: "MCP server"
category: "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

1. Point the client at the Streamable HTTP URL.
2. It reads the authorization-server metadata and registers itself.
3. You are sent here to sign in and are shown what is asking and where your access would be sent.
4. 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.
