# Connecting Pombo

Help the user connect one surface, then check it with `get_account {}` or `pombo whoami`. The MCP URL is `https://pombo-flame.vercel.app/api/mcp` (Streamable HTTP, POST only). Keys come from Settings → API in Pombo; never ask the user to paste a key into the chat when a sign-in works.

## MCP

Claude Code, Claude.ai, Claude Desktop, ChatGPT, Cursor and VS Code sign in with OAuth from the URL alone: the user signs in to Pombo and picks the workspace and permissions, with no key to paste. Codex, n8n and Make take a key; Gemini CLI and Copilot Studio can do either.

Claude Code: add it, then run `/mcp` in Claude Code to sign in.

```sh
claude mcp add --transport http pombo https://pombo-flame.vercel.app/api/mcp
```

Claude.ai, Claude Desktop and ChatGPT: add a custom connector with the URL above and leave the OAuth fields empty.

Only when a client can't sign in (or for a script), use a key from Settings → API in a header:

```sh
claude mcp add --transport http pombo https://pombo-flame.vercel.app/api/mcp --header "Authorization: Bearer $POMBO_KEY"
```

Gemini CLI, in `~/.gemini/settings.json` (or `gemini mcp add -s user -t http pombo https://pombo-flame.vercel.app/api/mcp`, then `/mcp auth pombo` in Gemini CLI to sign in with OAuth):

```json
{
  "mcpServers": {
    "pombo": {
      "httpUrl": "https://pombo-flame.vercel.app/api/mcp",
      "headers": { "Authorization": "Bearer $POMBO_KEY" }
    }
  }
}
```

The Gemini CLI setup follows its docs but hasn't been run end to end against Pombo; if it fails, check that `$POMBO_KEY` is set in the shell that starts Gemini CLI, or use `/mcp auth pombo`.

Cursor, VS Code, Codex, Microsoft Copilot Studio, n8n and Make: see `https://pombo-flame.vercel.app/docs/agents` and `https://pombo-flame.vercel.app/docs/mcp`.

## CLI

```sh
npm install -g pombo-cli
pombo login
pombo whoami
pombo skill install
```

`pombo login --device` works without a browser on the machine. For CI and scripts set `POMBO_API_KEY` instead of logging in.

## REST

```sh
curl https://pombo-flame.vercel.app/api/v1/me -H "Authorization: Bearer $POMBO_KEY"
```

`GET /me` is the same as `get_account`. The OpenAPI document is at `/api/v1/openapi.json`.
