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

# MCP Client Setup

> Configure Claude Code, Claude Desktop, Cursor, Codex, OpenCode, Hermes, Pi, OpenClaw, and CI/Docker with AgentOnboard Remote MCP.

Use the instructions below for your MCP Client. Replace `<YOUR_API_KEY>` with an `aon_live_...` key from [Dashboard Keys](https://agentonboard.xyz/dashboard/keys).

After adding the MCP server, install the AgentOnboard skill so your agent knows how to discover `/auth.md` and `/.well-known/auth.md`:

```bash theme={null}
npx skills add agentonboard/skills -g -a '*' -s '*' -y
```

***

## Claude Code

```bash theme={null}
claude mcp add --transport http --scope user agentonboard https://agentonboard.xyz/api/mcp \
  --header "Authorization: Bearer <YOUR_API_KEY>"
```

Restart Claude Code or run `/exit` to reload MCP tools.

***

## Claude Desktop

Open your Claude Desktop configuration file:

* **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
* **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`

Add `agentonboard` under `mcpServers` using `mcp-remote` (since Claude Desktop local config launches stdio bridges for remote HTTP servers):

```json title="claude_desktop_config.json" theme={null}
{
  "mcpServers": {
    "agentonboard": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://agentonboard.xyz/api/mcp",
        "--header",
        "Authorization: Bearer <YOUR_API_KEY>"
      ]
    }
  }
}
```

Quit and reopen Claude Desktop to load the `get_token` and `whoami` tools.

***

## Cursor

Add `agentonboard` to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (workspace):

```json title="~/.cursor/mcp.json" theme={null}
{
  "mcpServers": {
    "agentonboard": {
      "type": "http",
      "url": "https://agentonboard.xyz/api/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_API_KEY>"
      }
    }
  }
}
```

Reload the Cursor window to initialize the MCP connection.

***

## Codex

```bash theme={null}
export AGENTONBOARD_API_KEY="<YOUR_API_KEY>"
codex mcp add agentonboard \
  --url https://agentonboard.xyz/api/mcp \
  --bearer-token-env-var AGENTONBOARD_API_KEY
```

Reload with `/mcp` or restart your Codex session.

***

## OpenCode

Run in your terminal:

```bash theme={null}
opencode mcp add agentonboard --url https://agentonboard.xyz/api/mcp
```

Or add directly to `~/.config/opencode/opencode.json`:

```json title="~/.config/opencode/opencode.json" theme={null}
{
  "mcp": {
    "agentonboard": {
      "type": "remote",
      "url": "https://agentonboard.xyz/api/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_API_KEY>"
      }
    }
  }
}
```

***

## Hermes

Run in your terminal:

```bash theme={null}
hermes mcp add agentonboard --url https://agentonboard.xyz/api/mcp
```

Or configure in `~/.hermes/config.yaml`:

```yaml title="~/.hermes/config.yaml" theme={null}
mcp_servers:
  agentonboard:
    type: http
    url: https://agentonboard.xyz/api/mcp
    headers:
      Authorization: Bearer <YOUR_API_KEY>
```

***

## Pi

```bash theme={null}
export AGENTONBOARD_API_KEY="<YOUR_API_KEY>"
pi mcp add agentonboard \
  --url https://agentonboard.xyz/api/mcp \
  --bearer-token-env-var AGENTONBOARD_API_KEY
```

***

## OpenClaw

Add to `~/.openclaw/openclaw.json`:

```json title="~/.openclaw/openclaw.json" theme={null}
{
  "mcp": {
    "servers": {
      "agentonboard": {
        "type": "http",
        "url": "https://agentonboard.xyz/api/mcp",
        "headers": {
          "Authorization": "Bearer <YOUR_API_KEY>"
        }
      }
    }
  }
}
```

***

## CI / Docker (Headless)

For GitHub Actions, Docker containers, or background agents:

1. Inject your API Key via an environment variable or CI secret:
   ```bash theme={null}
   export AGENTONBOARD_API_KEY="aon_live_..."
   ```
2. Point your MCP config to `https://agentonboard.xyz/api/mcp` with `Authorization: Bearer ${AGENTONBOARD_API_KEY}`, or call `POST https://agentonboard.xyz/api/v1/token/exchange` directly from scripts.
3. Install the skill in your container build or startup step:
   ```bash theme={null}
   npx skills add agentonboard/skills -g -a '*' -s '*' -y
   ```

Token minting happens over HTTPS, so containers need no local daemon or host socket mounts.


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