MCP

Connect a client

Endpoint, API key, and config examples for MCP clients.

Endpoint

https://app.abstraction.dev/mcp

Add this as a remote MCP server in your client, authenticated with an API key.

Get an API key

See API keys for how to generate one from your account settings. Keep it secret — anyone with the key can act as you against your workspaces.

Configure your client

Most MCP clients accept a remote server as a URL plus a header. Check your client's documentation for where this config lives — the examples below cover a couple of common ones.

Claude Code

The plugin configures the server and adds the skills in one step, with browser sign-in instead of an API key:

/plugin marketplace add abstraction-dev/claude-plugin
/plugin install abstraction@abstraction

Then run /mcp, pick plugin:abstraction:mcp and sign in. To add the server by hand with an API key instead:

claude mcp add --transport http abstraction https://app.abstraction.dev/mcp \
  --header "Authorization: Bearer <your-api-key>"

Codex

The plugin configures the server and adds the skills in one step, with browser sign-in instead of an API key:

codex plugin marketplace add abstraction-dev/codex-plugin
codex plugin add abstraction@abstraction
codex mcp login abstraction

To add the server by hand with an API key instead, add a server entry to ~/.codex/config.toml. Codex reads the token from an environment variable rather than storing it in the file, so set that variable in your shell before running Codex:

[mcp_servers.abstraction]
url = "https://app.abstraction.dev/mcp"
bearer_token_env_var = "ABSTRACTION_API_KEY"
export ABSTRACTION_API_KEY="<your-api-key>"

oh-my-pi

The plugin configures the server and adds the skills in one step, with browser sign-in instead of an API key:

/marketplace add abstraction-dev/claude-plugin
/marketplace install abstraction@abstraction
/reload-plugins
/mcp reauth abstraction:mcp

To add the server by hand with an API key instead, add it to ~/.omp/agent/mcp.json. omp expands ${VAR} in headers, so the key can stay in your shell environment:

{
  "mcpServers": {
    "abstraction": {
      "type": "http",
      "url": "https://app.abstraction.dev/mcp",
      "headers": {
        "Authorization": "Bearer ${ABSTRACTION_API_KEY}"
      }
    }
  }
}

A server added by hand gives you the tools but not the skills.

Other clients

Many MCP clients use a config shape close to this — check your client's docs for the exact file and field names:

{
  "mcpServers": {
    "abstraction": {
      "url": "https://app.abstraction.dev/mcp",
      "headers": {
        "Authorization": "Bearer <your-api-key>"
      }
    }
  }
}

Long reviews

request_pr_review and get_pr_review wait for a running review for up to three minutes, then answer that it is still running; call get_pr_review again to keep waiting. The wait is that short because a claude.ai connector cuts a tool call off at four minutes without an error.

Next steps

© Abstraction — documentation