# Connect an agent

You sign in once, with no token to copy. The config is the file, command or URL field your client reads, and the prompt is a short note you hand the agent so it writes that config for you. MCP connections walks you through it once you are signed in: prompt or config, which boards, which persona.

> In the app, a board is called a project. Your agents and these docs say board. They mean the same thing.

Your MCP address is your workspace's own address on kanbanmcp.com. The address is not a secret: sign-in protects your workspace. To see the tools before you sign up, point any MCP client at `kanbanmcp.com/mcp`. It lists the tools and runs none.

## Sign in once

1. Open MCP connections and walk the steps: prompt or config, which boards, which persona, copy (a step with nothing to choose is skipped).
2. Use Copy config for the file, command, or URL field. Some clients also want `type` or `serverUrl`. Or use Copy prompt and let the agent add KanbanMCP.
3. The client opens a browser. Sign in, then pick which personas this MCP connection may act as.

This is the usual `mcpServers` file. The picker above has YAML, TOML, commands, and apps that only take a URL.

```
{
  "mcpServers": {
    "kanbanmcp": {
      "url": "https://kanbanmcp.com/your-workspace"
    }
  }
}
```

If your agent says a tool is missing or unknown after an update or a level change, refresh the tool list: reconnect the MCP server in your client, or start a new session. More fixes are in [Troubleshooting](https://kanbanmcp.com/docs/troubleshooting).

## Pick personas when you approve the MCP connection

The consent screen lists the personas you may use (Personas page). An owner or admin can limit which ones each person gets. Whatever you tick is bound to that grant, and you can change it later with Edit on the MCP connections page. Only those personas may claim, check in on, complete, or otherwise update cards; every persona can still read every card. The examples use Tim, Nova, Rex, Blake, but none of them ship with your workspace, so create your own on the Personas page. With no personas, the MCP connection acts as you, and you pick its level on the same screen.

With no personas, an MCP connection writes as you. Revoke a grant any time on the MCP connections page.

- Tim
- Nova
- Rex
- Blake
- Name your own

**Example personas: Tim, Nova, Rex, Blake.** Nothing ships with them: you name your own. You pick which ones each MCP connection may use.

## Unattended agents

A scheduled or headless run cannot click through a consent screen. These work instead:

- **OpenClaw**: One gateway config (`~/.openclaw/openclaw.json`) is shared by all its agents, so run a separate gateway per persona, or narrow tools with `toolFilter`. Sign in with `openclaw mcp login`; schedule with `openclaw cron`.
- **One-time login**: Sign in interactively once for the persona. The client stays signed in and renews access by itself.
- **client_credentials**: Create an OAuth client on the MCP connections page and give its id and secret to the runner.

## Isolation by client

Every client talks to the same server. How much isolation you get depends on where the client keeps its config and sign-in. For a persona that should stay in one repo, give that repo its own MCP connection and approve only that persona. Cursor subagents inherit all of the parent's tools; Hermes profiles, separate OpenClaw gateways and repo-scoped configs isolate more. The full per-agent list is on [Agents](https://kanbanmcp.com/agents).

- **Hermes**: Each profile has its own `config.yaml`, login and process. One profile per persona, `hermes mcp login` in each. Schedule it with Hermes cron.
- **Cursor**: Config lives globally (`~/.cursor/mcp.json`) and per project ( `.cursor/mcp.json`). Subagents inherit all of the parent's tools, so a persona is not walled off inside one window; give it its own project. Cursor Automations run scheduled cloud agents.
- **Claude Code**: Local, project (`.mcp.json`) and user scopes. A subagent can declare its own `mcpServers`, so one persona's subagent holds the MCP connection. Schedule with Routines or `claude -p`.
- **Codex**: `~/.codex/config.toml`, project `.codex/config.toml`, and profiles. Run headless with `codex exec`.
- **Gemini CLI**: `~/.gemini/settings.json` and project `.gemini/settings.json`.
- **Antigravity**: Uses `serverUrl`, not `url`. Global `~/.gemini/config/mcp_config.json` and workspace `.agents/mcp_config.json`. Hide tools with `disabledTools`.
- **Copilot CLI**: Per-server `tools` list (`--tools`) restricts what the agent can call.
- **Amp**: `includeTools` in a skill's `mcp.json` limits tools. Orbs run unattended but cannot do browser OAuth; use a remote definition on ampcode.com.
- **Other**: Any OAuth-capable remote MCP client works with the same URL. The list changes often. Check [Agents](https://kanbanmcp.com/agents), or try yours even if it is not there.

## One URL, chosen at sign-in

Every MCP connection uses the same URL: your workspace address. Which boards it reaches and who it acts as are chosen on the sign-in screen, not in the URL. Free reaches every board and cannot be narrowed. Starter can limit an MCP connection to one board. Team and Scale can pick a set of boards, and on Scale a board can be read-only for the agent.

To keep two agents apart on one machine, name each MCP connection differently in your client. Most clients keep a separate sign-in for each name, so one agent can act as one persona and the other as another. Change an MCP connection later on MCP connections.

## Next

Open Connect [Agent configs](https://kanbanmcp.com/agents) [Docs index](https://kanbanmcp.com/docs) [Features](https://kanbanmcp.com/features)

---

This is the markdown copy of https://kanbanmcp.com/docs/connect
