Developers/MCP/Connect Your AI Editor over MCP
Connect Your AI Editor over MCP
Connect Claude Code, Claude, ChatGPT, VS Code (GitHub Copilot), Cursor, Gemini CLI, Codex CLI, or Windsurf to Supero's MCP server by signing in, then build, validate, publish, and deploy real Supero apps without leaving your editor. No API key needed.
What this is
Supero exposes an MCP (Model Context Protocol) server that lets your own AI coding agent (Claude Code, Cursor, GitHub Copilot, or any MCP-capable client) build real Supero apps on your behalf. It is a bridge to the platform, not a chatbot: your agent authors app files locally (schemas, config, UI) and calls a small set of build_* tools over MCP to validate, publish, and deploy them against your Supero workspace and project.
To connect, add
https://mcp.supero.dev/mcp to your client. The client opens a browser. You sign in to Supero (or create an account), choose where it may work, and click Allow. There is no API key to create or copy. For a step-by-step first build, see the MCP Quickstart.In Claude Code you can install the Supero plugin instead of adding the server by hand: run
/plugin marketplace add supero-platform/supero-claude-plugin, then /plugin install supero@supero, then sign in with /mcp. The plugin adds the server and a skill that tells Claude to use the Supero MCP tools when you ask it to build an app on Supero. A sample .claude/settings.json for a team is under For teams.Two addresses, one set of tools
Supero's MCP server has two addresses for the same tools. Sign in with OAuth at
https://mcp.supero.dev/mcp: this is what every client in these guides uses. Use https://api.supero.dev/mcp/v1/messages with an X-API-Key header only for CI, scripts or machines without a browser.| Address | How you authenticate | Use it for |
|---|---|---|
https://mcp.supero.dev/mcp | Sign in (OAuth) in a browser window, then Allow | Every client in these guides. Recommended. |
https://api.supero.dev/mcp/v1/messages | An API key in the X-API-Key header | CI pipelines, scripts, and machines without a browser. See Use an API key instead. |
Either way,
build_whoami confirms the connection: it reports your workspace, your role, and what the connection may do.Pick your tool
| Tool | How it connects | Guide |
|---|---|---|
| ChatGPT, Claude, Claude Code | Sign in (OAuth) at https://mcp.supero.dev/mcp | Connect ChatGPT or Claude |
| Claude Code with the Supero plugin | /plugin marketplace add supero-platform/supero-claude-plugin, /plugin install supero@supero, then sign in with /mcp | Claude Code |
| VS Code and GitHub Copilot | Sign in (OAuth), .vscode/mcp.json | Connect VS Code and GitHub Copilot |
| Cursor | Sign in (OAuth), ~/.cursor/mcp.json | Connect Cursor |
| Gemini CLI | Sign in with /mcp auth, ~/.gemini/settings.json | Connect Gemini CLI |
| Codex CLI | Sign in with codex mcp login, ~/.codex/config.toml | Connect Codex CLI |
| Windsurf (Devin Desktop) | Sign in (OAuth), mcp_config.json | Connect Windsurf |
| Any other MCP client with OAuth support | Sign in (OAuth) at https://mcp.supero.dev/mcp | Other MCP clients |
| CI pipelines, scripts, machines without a browser | An API key in X-API-Key at api.supero.dev/mcp/v1/messages | Use an API key instead on this page |
Sign-in was tested on 2026-11-13 with Claude Code, Claude (web and desktop), ChatGPT, VS Code with Copilot, Cursor, Gemini CLI and Codex CLI. Windsurf is still being verified: the server side is checked, but the client has not been run end to end yet.
With sign-in there is no key to copy or leak, and you can end a connection at any time from app.supero.dev/oauth/connections.
Endpoint & transport
Both addresses speak JSON-RPC 2.0 over Streamable HTTP. There is no per-tool or per-method route: every initialize, tools/list, tools/call, and ping request is a POST to the same path. The paths below are on the API-key address,
api.supero.dev.| Method & path | Auth required | Purpose |
|---|---|---|
| POST /mcp/v1/messages | yes | Send any JSON-RPC 2.0 message: initialize, tools/list, tools/call, ping |
| GET /mcp/v1/health | no | Liveness check: confirms the MCP service is up |
| GET /mcp/v1/info | no | Server name, version, protocol version, and capabilities. Useful for confirming the host before you wire credentials |
bash
curl https://api.supero.dev/mcp/v1/infojson
{
"name": "supero",
"version": "2.0.2",
"protocol_version": "2025-03-26",
"transport": "streamable-http",
"endpoint": "/mcp/v1/messages",
"authentication": {
"methods": ["bearer", "api_key"],
"bearer": { "header": "Authorization", "format": "Bearer <jwt_token>" },
"api_key": { "header": "X-API-Key", "format": "<api_key>" }
},
"capabilities": { "tools": true, "resources": true, "prompts": true }
}This document describes the API-key address only. The sign-in address publishes its own OAuth discovery documents; see Other MCP clients.
A raw JSON-RPC call to tools/call looks like this once you're authenticated:
json
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "build_whoami",
"arguments": {}
}
}You rarely call this directly
Your client's MCP support handles the JSON-RPC framing for you once it's configured. The raw request and response shapes here are for scripting or troubleshooting a connection.
Authentication
Sign-in (OAuth) at
https://mcp.supero.dev/mcp is the default. Your client handles it: it opens the Supero sign-in page, you choose where it may work (an existing project, a new project, or the whole workspace, and optionally "Let it publish apps"), and you click Allow. The connection then carries exactly the access you approved. See Access options.The API-key address,
https://api.supero.dev/mcp/v1/messages, takes one of two credentials. Send exactly one. Domain, project, and tenant scope come entirely from the credential, so there is no domain segment in the URL.- X-API-Key: <api_key>: an opaque key starting ak_, created in the console under Build via MCP. This is the form to use for CI and scripts. The endpoint also accepts Authorization: Bearer ak_... as a key, but X-API-Key is the documented form, so use it everywhere.
- Authorization: Bearer <jwt_token>: a session token from POST /api/v1/auth/login. This works for read-only calls but cannot build (see Access & roles).
Requests need a resolvable domain
On the API-key address, if neither header is present, or the credential can't resolve to a domain, the server returns a JSON-RPC error (HTTP 401) before any tool runs. Send the raw ak_... value in X-API-Key with no "Bearer " prefix; a prefix or a space there is refused with "must be printable ASCII".
Access & roles
Build tools authorize against the role your connection resolves to. A sign-in connection carries the access you approved on the Allow page: one project, a new project, or the whole workspace, with publishing only if you ticked "Let it publish apps". A sign-in connection is not a login session, so the session refusal in the table below does not apply to it.
On the API-key address, the role comes from the credential:
| Credential | Resolves to | Can build into |
|---|---|---|
| Domain-admin key | domain_admin | Any project in the domain, and can create new projects |
| Project-admin key | project_admin | That one project only |
| Tenant-scoped key | tenant_user | Refused: cannot run build tools |
| Login session token (Authorization: Bearer <jwt>) | jwt | Refused for mutating build tools; read-only calls only |
A project-admin key that targets a different project's project_uuid than the one it's scoped to is refused with a clear error rather than a bare permission failure. Replacing a project's entire app (build_replace_project) requires a domain-admin key, and is never offered over sign-in.
Use an API key instead (optional)
You only need this for CI pipelines, scripts, and machines without a browser. The tools are the same as over sign-in. Create a key in the console under Build via MCP, for the project you want to build (or for the domain, if the agent should be able to create new projects), then wire it in with one of the snippets below. The MCP Quickstart explains key scope in detail.
Treat your API key like a password
Anyone with the key can build into whatever it's scoped to, and a project key can read, change and delete records in every tenant of its project. Keep it out of source control: the configs below keep it in your home folder (Claude Code, Cursor) or out of the file (VS Code). If it leaks, delete it from the console; see Revoking a key.
Claude Code
bash
printf 'Supero API key: '; read -s SUPERO_API_KEY; echo
claude mcp add --scope user \
--transport http supero \
https://api.supero.dev/mcp/v1/messages \
--header "X-API-Key: $SUPERO_API_KEY"Run the first line, paste your key and press Enter: nothing is shown, and the key stays out of your shell history. Then run the second command. --scope user makes the server available in every folder; without it, Claude Code adds it only for the folder you ran the command in. Claude Code saves the key in plain text in ~/.claude.json in your home folder. Check with claude mcp list, or /mcp inside Claude Code.
Cursor
json
{
"mcpServers": {
"supero": {
"url": "https://api.supero.dev/mcp/v1/messages",
"headers": { "X-API-Key": "ak_..." }
}
}
}Add this to ~/.cursor/mcp.json (if the file already lists servers, add supero inside its mcpServers). Then turn supero on in Cursor's MCP settings (Customize in the sidebar in current versions). If no tools appear, read Output → MCP Logs. The file is in your home folder, outside your repos, and holds the key in plain text.
GitHub Copilot (VS Code)
json
{
"inputs": [
{ "type": "promptString", "id": "supero-key",
"description": "Supero API key", "password": true }
],
"servers": {
"supero": {
"type": "http",
"url": "https://api.supero.dev/mcp/v1/messages",
"headers": { "X-API-Key": "${input:supero-key}" }
}
}
}Save this to .vscode/mcp.json. VS Code asks for the key the first time the server starts and stores it outside the file, so the file is safe to commit. Then run "MCP: List Servers → Start" from the Command Palette and use Copilot Chat as an agent. Trust the workspace first: workspace servers do not start in Restricted Mode.
Gemini CLI, Codex CLI and Windsurf snippets are in each tool's own guide, under Use an API key instead.
Your first build session
Once connected, tell your agent what to build in plain language — it should reach for the build_* tools itself rather than guessing at the platform's shape. A typical first session looks like this:
- build_whoami: confirms the connection and reports your workspace, role, and what you're allowed to do. Always start here.
- build_get_skills — fetch the build spec your agent authors schemas.py / config.py / setup.py / ui/app.js against.
- build_create_project (or build_list_projects + build_get_project for an existing one) — pick or create the target project, and read its schema_namespace.
- build_validate — AST-only validation of the authored bundle against the live platform; your code is never executed.
- build_doctor and build_audit — find what breaks a deploy, then security and correctness problems in the code (for example a price set in the browser). Neither runs your code.
- build_publish — package, upload, and record a version; returns a version_uuid and download_url.
- build_deploy (target: local for you to run, or cloud_ephemeral for a short-lived managed preview), then build_smoke_test and build_verify against the preview — then build_go_live for a permanent public URL at <project>.supero.live. The server's rules ask for build_audit and build_verify before going live.
json
// tools/call params for the first step of a session
{
"name": "build_whoami",
"arguments": {}
}Iterating on an existing app
For a change request on an app you already published, have your agent start from build_get_bundle rather than re-authoring from scratch — that pulls the current published files (including any hand-tuned UI) so edits build on top of them instead of silently dropping prior work.
Tool reference
The build_* family is grouped by what stage of the build lifecycle it belongs to. Your agent discovers the full set (with JSON-Schema input shapes) by calling tools/list once connected — this table is the map to keep in your head, and the MCP tool reference documents every tool and protocol method in full.
| Group | Tools | What it's for |
|---|---|---|
| Docs & planning | build_get_skills, build_get_examples, build_plan, build_get_service_contract | Fetch the build spec, a complete reference app to copy patterns from, a checklist for a described app idea, and the state-machine contract for a transactional service (cart, order, booking, payment, ...) |
| Project | build_whoami, build_list_projects, build_get_project, build_create_project, build_update_project, build_set_project_mode, build_replace_project | Resolve your scope, find or create the target project, read its schema_namespace, and (destructively, domain-admin only) wipe-and-replace a dev-mode project's app |
| Build lifecycle | build_validate, build_publish, build_stage_bundle, build_get_bundle, build_deploy, build_deploy_status, build_logs, build_go_live, build_teardown | Validate, publish a version, stage a large bundle out-of-band, fetch the current published bundle, deploy (ephemeral or permanent), poll status, read logs, and tear a deployment down |
| Capabilities & integrations | build_list_capabilities, build_recommend_integrations, build_import_services, build_configure_services | List the live services catalog, get tiered integration recommendations for an app description, import platform services into the project, and wire test/sandbox keys for a service |
| Quality gates | build_doctor, build_audit, build_smoke_test, build_verify | Preflight a bundle for silent deploy-killers, audit its code for security and correctness problems, verify a deployed URL actually loads and reads data, and acceptance-test the running preview with throwaway accounts. (build_e2e_test and build_e2e_test_status exist but are off on Supero Cloud, so tools/list does not show them.) |
| Data sources | build_list_data_sources, build_connect_data_source, build_discover_source, build_bind_data_source, build_run_data_source, build_list_bound_schemas | Connect an app's own database, REST API, or warehouse, discover its schema, and bind it to app schemas for live or synced reads |
For any schema-backed service your app extends (cart, order, booking, appointment, payment, membership, inventory, and more), have your agent call build_get_service_contract before authoring its UI rather than guessing operation names or required fields — it returns the real state machine, operations, and default UI schemas for that service.
Usage, limits & billing
MCP tool calls and successful publishes draw from your plan's Power allowance the same way other platform activity does — current plan tiers and allowances are on the Billing screen in your dashboard at app.supero.dev/billing.
| Limit | Value |
|---|---|
| Files per bundle | 300 |
| Bytes per file | 2 MB |
| Total bundle size (inline) | ~8 MB |
Bundle too big to send inline?
If your app's files exceed what fits inline (or your model's own output-token cap truncates large files), use build_stage_bundle to get an out-of-band upload URL, upload a compressed {path: content} blob with your own key, and pass the returned file_id as files_ref to build_validate / build_publish / build_doctor instead of files.
Next steps
- supero-mcp on GitHub: a step-by-step first build, 26 project briefs to pick from, and community apps you can run and improve
- MCP Quickstart: connect, check with build_whoami, describe an app, validate, and deploy a preview
- Authentication: how login, JWT refresh, and API keys work across the REST API and the API-key MCP address
- CRUD Endpoints — the REST endpoints a deployed app's UI (and your own scripts) call directly
- Choosing a Deployment Option — the three deploy targets (Supero Cloud, your own AWS/GCP, on-premise) beyond build_go_live's managed preview and permanent URL
On this page