# Connect your AI

Step by step for Claude, ChatGPT, Grok, Claude Code and any other agent.

> [!NOTE]
> The MCP server is in private beta. These steps work only for an admitted account. Any other account sees **Request access** on the connect page. See [Private beta and requesting access](/docs/private-beta).

Every assistant connects to the same server URL:

```text
https://app.cobroker.ai/api/mcp
```

The easiest way is the connect page in Cobroker. It shows the steps for the assistant you pick and tells you when the connection works:

```text
https://app.cobroker.ai/connect
```

Claude, ChatGPT, Grok and Claude Code sign in to Cobroker on a Cobroker page, where you click **Allow**. No key is needed.
Other agents use a personal key. See [Sign-in and keys](/docs/sign-in-and-keys).

## Pick your assistant

### Claude

One click, nothing to copy: [Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Cobroker&connectorUrl=https%3A%2F%2Fapp.cobroker.ai%2Fapi%2Fmcp) opens Claude's "Add custom connector" dialog with the name and address already filled in.

1. Click **Add to Claude**.
2. Check the name and address, then click **Continue**.
3. Leave the sign-in settings as they are and click **Add**.
4. On the Cobroker page that opens, click **Allow**.

Free Claude plans allow one custom connector. On Team or Enterprise, an owner adds it first.

#### Add it by hand

Or add Cobroker from Claude's own screens and paste the server URL yourself.

Screen by screen:

1. In a Claude chat, click +, then Plugins, then Manage plugins.
2. Click + Add, then Add custom connector.
3. Name it Cobroker, paste the address, click Continue.
4. Leave the sign-in settings as Claude found them. Click Add.
5. On the Cobroker page that opens, click Allow.

### ChatGPT

About a minute, one paste. Copy the server URL, then [Open ChatGPT](https://chatgpt.com/plugins).

1. Copy the server URL, then click **Open ChatGPT**.
2. Click **Add**, then **Add custom MCP server**.
3. Name it **Cobroker**, paste the URL, tick **I understand and want to continue**, then click **Create as a plugin**.
4. Click **Continue to Cobroker**, then **Allow** on the Cobroker page.
5. Click **Try in chat** to use it.

Per OpenAI, custom MCP servers that make changes need ChatGPT Business or Enterprise, and run on the web only.

Screen by screen:

1. Click Open ChatGPT. On its Plugins page, click Add, then Add custom MCP server.
2. Name it Cobroker, paste the address, tick the box, click Create as a plugin.
3. Click Continue to Cobroker.
4. On the Cobroker page that opens, click Allow.
5. Click Try in chat and send your first question.

### Grok

About a minute, one paste. Copy the server URL, then [Open Grok](https://grok.com/connectors).

1. Copy the server URL, then click **Open Grok**.
2. Click **Add a custom connector**. Name it **Cobroker** and paste the URL.
3. Click **Add MCP**, then **Allow** on the Cobroker page that pops up.

On Grok Business, an admin adds it first in the xAI console.

The last step, the Cobroker sign-in window, is new. If it does not appear, see [Troubleshooting](/docs/troubleshooting#grok).

Screen by screen:

1. Click Open Grok. On Connect Apps, click Add a custom connector.
2. Name it Cobroker, paste the address, click Add MCP.
3. In the Cobroker window that pops up, click Allow.

### Claude Code

Two commands in your terminal. No key: you sign in in your browser.

1. Paste the first command into a terminal and press Enter.
2. Run the second command. Your browser opens a Cobroker page.
3. Sign in if Cobroker asks, then click **Allow** on that page.

```bash
claude mcp add --transport http --scope user cobroker https://app.cobroker.ai/api/mcp
```

```bash
claude mcp login cobroker
```

#### On a machine with no browser

Use a personal key instead. In Cobroker, Settings › Connected AI creates one and shows the ready command for Claude Code once. Run it in that machine's terminal.

### Another agent

One setup prompt with no key inside, for Cursor, Codex and others. Your agent reads it and tells you what it needs.

1. Copy the prompt below and paste it into your agent.
2. Do what it says. It sets Cobroker up, or tells you the one thing to do yourself.

```text
Help me connect Cobroker to you. Cobroker is an MCP server for US commercial parcels and their owners.
Server name: cobroker
Server URL: https://app.cobroker.ai/api/mcp
Transport: Streamable HTTP
There is no key in this message. Never ask me to paste a key into this chat.

Do the first one that fits you:
1. If you can run commands on my computer and you are Claude Code, run these two commands, then tell me to click Allow on the Cobroker page that opens in my browser:
   claude mcp add --transport http --scope user cobroker https://app.cobroker.ai/api/mcp
   claude mcp login cobroker
2. If you are a chat app or run in a cloud sandbox, don't run anything. Tell me what to do myself:
   in Claude, open https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Cobroker&connectorUrl=https%3A%2F%2Fapp.cobroker.ai%2Fapi%2Fmcp and click Continue, then Add;
   in ChatGPT or Grok, add a custom connector named Cobroker with the server URL above.
   Then I sign in to Cobroker in my browser.
3. If you are any other agent, add an MCP server named cobroker at the server URL above over Streamable HTTP, with OAuth sign-in if you support it.
   Today Cobroker accepts OAuth sign-in only from Claude, Claude Code, ChatGPT and Grok. If sign-in is refused, or you only support a fixed header, stop and tell me to create a personal key in Cobroker (Settings › Connected AI) and put it in the Authorization: Bearer header myself.
4. Once it is connected, call get_account and tell me my Cobroker plan and how many credits I have left.
```

Only Claude, Claude Code, ChatGPT and Grok can sign in to Cobroker today. Other agents, like Cursor and Codex, need a personal key.

#### With a personal key

A personal key is for an agent running on your own computer that cannot sign in. In Cobroker, Settings › Connected AI creates it and shows a ready command and prompt for that agent once.

> [!WARNING]
> Never paste a key into a chat app or a cloud sandbox, and never put one in a URL. A key opens your Cobroker account to whatever holds it.

## After you connect

Paste this into a new chat to check it works:

```text
Using Cobroker, what is my plan and how many credits do I have left? Then find retail parcels over 1 acre in Austin, TX owned by out-of-state companies and show me the 10 largest.
```

Then see [Check that it works](/docs/check-connection). If nothing happens, see [Troubleshooting](/docs/troubleshooting).
