> ## Documentation Index
> Fetch the complete documentation index at: https://midplane.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect an agent

> One MCP URL per region for every agent. Each person signs in with OAuth and picks a workspace, and their agent reads only what they can.

An agent is an MCP client such as Claude, ChatGPT, Cursor or VS Code. Each
person connects their own, and it reads your sources and metrics as that
person, masked as it is for them. Every call is in [Activity](https://midplane.ai/docs/activity.md).

## The MCP URL

Every agent in a region uses one URL. Copy it from **Agents**; in the EU it
is:

```text theme={null}
https://eu.mcp.midplane.ai/mcp
```

and in the US `https://us.mcp.midplane.ai/mcp`.

It holds no secret and names no workspace: signing in decides who you are and
which workspace the agent reads. Each region's URL is in [regions](https://midplane.ai/docs/regions.md).

## Sign in

Once you add the URL, the agent opens Midplane in your browser. Sign in, pick
the workspace and select **Allow**. The agent's token names you and the
workspace, never tables: Midplane checks your access as it is now on every
call, so a change in **Access** applies to the next one. A denied call is the
workspace's policy, not a broken connection
([what a denial means](https://midplane.ai/docs/agents/tools.md#what-a-denial-means)).

> [accordion] If the page says you do not belong to a workspace yet
>
> Open your invitation's link and select **Join**, signed in with the
> invited address, or make a workspace. Then start again from your agent.

> [accordion] If you are signed in with the wrong account
>
> Sign out of the control room in that browser, then start again from your
> agent.

## Clients

| Client | Admin step first | Answers show as |
| - | - | - |
| [Claude](https://midplane.ai/docs/agents/claude.md), web, Desktop and mobile | Team, Enterprise: an owner adds Midplane | Chart view |
| [Claude Code](https://midplane.ai/docs/agents/claude-code.md) | None | Text |
| [ChatGPT](https://midplane.ai/docs/agents/chatgpt.md), on the web | Business, Enterprise, Edu: an admin adds and publishes Midplane | Chart view |
| [Cursor](https://midplane.ai/docs/agents/cursor.md) | Enterprise with an MCP allowlist: an admin allows the URL | Text |
| [VS Code](https://midplane.ai/docs/agents/vs-code.md), with Copilot | Copilot Business, Enterprise: an owner turns on MCP servers | Chart view |
| [Other clients](https://midplane.ai/docs/agents/other.md) | Depends on the client | Chart view with MCP Apps, otherwise Text |

Every client gets the answer as text: a sentence or two, up to 20 rows, the
provenance line and a link. The chart view adds the same answer as a chart
and a table you can change ([answers](https://midplane.ai/docs/answers.md)).

## See and revoke agents

Each person's agent has one connection, a grant, to one workspace. **Agents**
lists yours, when each connected and last asked; owners and admins see
everyone's, and can revoke any. **Revoke** ends an agent's tokens at once: its
next call is refused until it signs in again. Leaving a workspace, or being
removed, ends your agents' connections to it.

## Switch workspaces

Signing in again doesn't ask for a workspace while the connection is live. To
switch, revoke the agent on **Agents** in the workspace it reads now, then
sign in again from the agent and pick the other one.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.