https://api.adside.ai/mcp, for AI assistants and agents, and the REST API at https://api.adside.ai/v1, which the adside CLI uses. Both take a bearer token in the Authorization header, and both act as you: every call checks what you can do in Adside at that moment.
OAuth
Claude, ChatGPT, Claude Code and Codex connect tohttps://api.adside.ai/mcp and open the Adside sign-in in your browser. See Connect your assistant. The CLI does the same with adside login.
Personal API keys
A personal API key lets a script, a CI job or an AI agent use Adside as you, without a browser.- Create one in Adside, in Settings → API keys. You see the key once: store it as a secret named
ADSIDE_API_KEY. - One organization. A key works in the organization you created it in, in the workspaces you can open there.
- Read only, or read and write. A read-only key can read everything you can see and can’t change anything. Billing and members are never available with a key. A key that can write makes changes on the first call through the API and the CLI, and an agent using it over the MCP answers its own confirmations, so give each key only the access its job needs.
- It expires after 30, 90 or 180 days, or a year. Delete it in Settings at any time: it stops working at its next request.
- It follows your access. If you lose access to a workspace, or leave the organization, the key loses it too.
adside_pat_ followed by 49 letters and digits. Send them only in the Authorization header, never in a URL.
The CLI
adside whoami says which key is in use, what it may do and when it expires. A key in ADSIDE_API_KEY comes before a stored adside login.
Claude Code
.mcp.json, where Claude Code reads the variable when it starts, so the key is never committed:
claude -p "…" --mcp-config adside.json --allowedTools "mcp__adside".
Codex
In~/.codex/config.toml, for the CLI, the IDE and codex exec:
Claude API (MCP connector)
anthropic-beta: mcp-client-2025-11-20 header. In Claude Managed Agents, store the key as a static_bearer vault credential for https://api.adside.ai/mcp.
OpenAI Responses API
"require_approval": "never" only with a read-only key.