Ellipsis hosts an MCP server at `https://mcp.ellipsis.dev`. Each tool calls one Agents API endpoint as you, so an agent on your machine can start a session, follow it, send it follow-ups, and read code reviews.

## Connect a client

Any MCP client that supports OAuth connects with the same address. Add the server to Claude Code, then run `/mcp` in Claude Code and choose `ellipsis` to log in.

```bash
claude mcp add --transport http ellipsis https://mcp.ellipsis.dev
```

Add the server to Codex.

```bash
codex mcp add ellipsis --url https://mcp.ellipsis.dev
```

Then log in.

```bash
codex mcp login ellipsis
```

Logging in opens **Authorize MCP** in the dashboard. Choose the account, and the client gets a token that lasts 90 days. Sessions the client starts are attributed to you in that account. When the token expires, log in again.

## Connect with an API key

A client can send an [API key](/docs/api/authentication) as a bearer token instead of logging in. Use this on a machine without a browser.

```bash
claude mcp add --transport http ellipsis https://mcp.ellipsis.dev --header "Authorization: Bearer $ELLIPSIS_API_TOKEN"
```

```bash
codex mcp add ellipsis --url https://mcp.ellipsis.dev --bearer-token-env-var ELLIPSIS_API_TOKEN
```

## Tools

Each tool takes the endpoint's path parameters, query parameters, and `body`, and returns the endpoint's JSON response. An API error returns as a tool error with its status code and message.

| Tool | Endpoint |
| --- | --- |
| `get_identity` | [`GET /v1/identity`](/docs/api/platform/get-identity) |
| `get_account_usage` | [`GET /v1/account/usage`](/docs/api/account/get-account-usage) |
| `get_account_budget` | [`GET /v1/account/budget`](/docs/api/account/get-account-budget) |
| `list_account_models` | [`GET /v1/account/models`](/docs/api/account/get-account-models) |
| `list_environments` | [`GET /v1/environments`](/docs/api/environments/get-environments) |
| `get_environment` | [`GET /v1/environments/{id}`](/docs/api/environments/get-environments-id) |
| `create_environment` | [`POST /v1/environments`](/docs/api/environments/post-environments) |
| `list_agents` | [`GET /v1/agents`](/docs/api/agents/get-agents) |
| `get_agent` | [`GET /v1/agents/{id}`](/docs/api/agents/get-agents-id) |
| `create_agent` | [`POST /v1/agents`](/docs/api/agents/post-agents) |
| `start_session` | [`POST /v1/sessions`](/docs/api/sessions/post-sessions) |
| `start_agent_session` | [`POST /v1/agents/{id}/sessions`](/docs/api/agents/post-agents-id-sessions) |
| `list_sessions` | [`GET /v1/sessions`](/docs/api/sessions/get-sessions) |
| `get_session` | [`GET /v1/sessions/{id}`](/docs/api/sessions/get-sessions-id) |
| `send_session_message` | [`POST /v1/sessions/{id}/messages`](/docs/api/sessions/post-sessions-id-messages) |
| `stop_session` | [`POST /v1/sessions/{id}/stop`](/docs/api/sessions/post-sessions-id-stop) |
| `list_reviews` | [`GET /v1/reviews`](/docs/api/reviews/get-reviews) |
| `list_review_configs` | [`GET /v1/reviews/configs`](/docs/api/reviews/get-reviews-configs) |
| `get_review` | [`GET /v1/reviews/{id}`](/docs/api/reviews/get-reviews-id) |
