---
title: "MCP server"
description: "Build, deploy and run web apps from an AI client, with the infrastructure they need."
canonical_url: "https://extraorbital.dev/docs/mcp"
last_updated: "2026-11-26"
---

# MCP server

> Build, deploy and run web apps from an AI client, with the infrastructure they need.

<Callout title="In brief">

- Chat apps and remote clients connect to `https://extraorbital.dev/mcp` and sign in with OAuth, or send an API key.
- ChatGPT's apps directory lists `https://extraorbital.dev/agents/chatgpt/mcp`, the same server without purchases. See [ChatGPT](/docs/chatgpt).
- Coding agents with a terminal run [`npx extraorbital`](/docs/cli) commands directly, with the machine’s identity, or connect to the same URL.
- No tool returns a credential value: agents use variable names, and the values go to the app’s environment.

</Callout>

Choose the connection for your client:

| Where the agent runs | Use | Signs in with |
| --- | --- | --- |
| In a chat app (Claude, ChatGPT, Le Chat, Perplexity, Grok…) | `https://extraorbital.dev/mcp` | OAuth: you sign in once and approve it |
| On your machine (Claude Code, Codex, Cursor, Windsurf, Gemini CLI, VS Code…) | The [CLI](/docs/cli), `npx extraorbital`, or `https://extraorbital.dev/mcp` | This machine's identity with the CLI; OAuth with the MCP server |
| Your own code or CI | `https://extraorbital.dev/mcp` | An `eo_live_` [API key](/docs/api) as a bearer token |

## Remote: chat apps

Add `https://extraorbital.dev/mcp` as a custom connector, then sign in and approve it.

| App | Where |
| --- | --- |
| Claude, Claude Desktop | Settings → Connectors → Add custom connector (Team and Enterprise: an owner adds it under Organization settings → Connectors) |
| Claude Code (remote) | `claude mcp add --transport http extraorbital https://extraorbital.dev/mcp`, then `/mcp` to sign in |
| ChatGPT | The ExtraOrbital app in the apps directory, or in developer mode a custom MCP server. See [ChatGPT](/docs/chatgpt) |
| Codex (remote) | `codex mcp add extraorbital --url https://extraorbital.dev/mcp`, then `codex mcp login extraorbital` |
| Le Chat (Mistral) | Connectors → Add connector → Custom MCP connector |
| Perplexity | Settings → Connectors → Custom connector → Remote |
| Grok | grok.com/connectors → New connector → Custom |
| Manus | Settings → Integrations → Custom MCP servers, with an API key as a bearer header |
| OpenAI, xAI and Z.ai APIs | The `mcp` tool type with `server_url` `https://extraorbital.dev/mcp` and an `eo_live_` key as the authorization |

If the menu differs, look for “custom connector” or “MCP server” in settings.

Connectors added before at `https://deploy.extraorbital.dev/mcp` keep working: it is the same server.

### With a key instead of OAuth

Clients that support an authorization header can use an API key:

```bash
claude mcp add --transport http extraorbital https://extraorbital.dev/mcp \
  --header "Authorization: Bearer $EXTRAORBITAL_API_KEY"
```

## Local: coding agents

A coding agent with a terminal needs no MCP server: it runs [`npx extraorbital`](/docs/cli) commands, which use this machine's identity, with no key to paste, and do the same things as the tools, previews aside ([CLI and MCP](/docs/cli-vs-mcp)). Add `--json` for structured output. For previews, connect it to `https://extraorbital.dev/mcp` as above:

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

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

```json title=".cursor/mcp.json"
{
  "mcpServers": {
    "extraorbital": { "url": "https://extraorbital.dev/mcp" }
  }
}
```

Windsurf, Gemini CLI and VS Code take the same URL as a remote MCP server in their MCP settings.

## Tools

| Tools | What they do |
| --- | --- |
| `create_project` · `list_projects` · `get_project` | A Next.js app with a live preview in seconds, and its resources |
| `create_preview` · `list_previews` · `delete_preview` | Branches: more previews, forked from one another |
| `Read` · `Write` · `Edit` · `MultiEdit` · `ApplyPatch` · `Glob` · `Grep` · `LS` · `Tree` · `Bash` | A preview's files and shell, like their local namesakes |
| `typecheck` · `logs` · `restart_preview` · `preview_login` | Checks, logs and a signed-in test user on a preview |
| `list_features` · `add_feature` · `add_collection` | slices.sh features and collections |
| `env_set` · `env_add` · `list_services` | Variables, and ExtraOrbital resources provisioned onto a preview |
| `deploy` · `list_deployments` · `deployment_status` · `deployment_logs` · `rollback` | Production on Vercel, with a version history |
| `git_info` | The project's own git repository on ExtraOrbital (every deploy commit is pushed there) and its other remotes, never the token |
| `check_domain` · `buy_domain` · `add_domain` · `domain_status` · `list_domains` · `remove_domain` | Domains. `buy_domain` charges the team, after you confirm the name and the price |
| `list_dns_records` · `add_dns_record` · `remove_dns_record` | DNS of the domains bought here |
| `whoami` · `usage` · `credits` · `upgrade_to_paid` · teams and members | The account, spending and teams. `credits` reads the team's prepaid credit, auto-reload and recent purchases; you buy credit and change auto-reload in Settings → Billing |
| `list_resources` · `set_lifetime` · `set_backup_policy` · `list_backups` · `backup_resource` | Resources' lifetimes and backups, and a backup taken now |
| `search` · `fetch` · `list_snippet_platforms` · `list_snippet_actions` · `get_snippet` · `send_feedback` | These docs, setup code for a resource, and feedback to the ExtraOrbital team |
| `show_*` · `open_console` | Cards in ChatGPT and Claude that follow a preview, a deploy or a domain |

Tools declare whether they read, write or delete. Your client controls confirmation behavior.

The [CLI](/docs/cli) does the same things, except previews: [CLI and MCP](/docs/cli-vs-mcp) maps every tool to its command.

### Credentials stay out of the conversation

No tool returns a credential value. Provisioned resources land in the preview's environment, and in production's, and every answer shows a value it would contain as the variable's name. For a project on your machine, run [`npx extraorbital provision`](/docs/cli#extraorbital-provision) in its folder: the CLI writes the values to `.env`.

## How sign-in works

For client authors: an unauthenticated request gets `401` with
`WWW-Authenticate: Bearer resource_metadata="https://extraorbital.dev/.well-known/oauth-protected-resource/mcp", scope="eo:deploy offline_access"`.
From there:

- Protected resource metadata (RFC 9728) names the authorization server. It advertises `eo:deploy` and `offline_access`, but no scope is checked: a token issued for the MCP URL (RFC 8707 `resource`) is enough. Ask for `offline_access` to get a refresh token.
- Authorization server metadata (RFC 8414) is at
  `/.well-known/oauth-authorization-server/api/auth`.
- Clients register with a [Client ID Metadata Document](https://datatracker.ietf.org/doc/draft-ietf-oauth-client-id-metadata-document/)
  or dynamically (RFC 7591); PKCE `S256` is required.
- Tokens are issued for the URL the client was given (RFC 8707). Loopback redirects match any port.

## Listed in

Registry name: `dev.extraorbital/extraorbital`, with remote and npm transports in the [MCP Registry](https://registry.modelcontextprotocol.io).

## Next

- [ChatGPT](/docs/chatgpt) — the apps directory version
- [Quickstart](/docs/quickstart) — the same thing from a terminal

---

More for agents: [Sitemap](https://extraorbital.dev/sitemap.md) · [llms.txt](https://extraorbital.dev/llms.txt) · [agents.md](https://extraorbital.dev/agents.md)
