MCP Quickstart: Build an App over MCP
Connect your AI client to https://mcp.supero.dev/mcp by signing in, confirm the connection with build_whoami, describe the app, validate and publish it, and deploy a preview. Real tool output at every step.

Before You Start
- An AI client that speaks MCP: Claude Code, Claude (web or desktop), ChatGPT, VS Code with Copilot, Cursor, Gemini CLI or Codex CLI. Windsurf is still being verified.
- A Supero account. If you do not have one, you can create it in the sign-in window.
1. Connect
https://mcp.supero.dev/mcp to your client as an MCP server. In Claude Code:claude mcp add --scope user --transport http supero https://mcp.supero.dev/mcpclaude, type /mcp, select supero and choose Authenticate. Other clients have their own one-page guides: ChatGPT or Claude, VS Code and Copilot, Cursor, Gemini CLI, Codex CLI, Windsurf.- 1
Sign in
Your browser opens the Supero sign-in page. Sign in, or create an account.
- 2
Choose where it may work
An existing project, a new project, or the whole workspace. Tick "Let it publish apps" if you want it to be able to put an app live; previews work either way. See Access options.
- 3
Click Allow
The client is connected. You can end the connection at any time from app.supero.dev/oauth/connections.
2. Check the Connection with build_whoami
{
"ok": true,
"role": "project_admin",
"domain": "acme",
"scope": "project",
"project_scope": "project",
"project_name": "restaurant-orders",
"permissions": ["project:read", "project:update", "tenant:create", "tenant:read", "..."],
"can": {
"create_project": false,
"update_project": true,
"publish": true,
"deploy": true
},
"project_uuid": "6f1c...",
"schema_namespace": "restaurant_orders",
"project_binding": "ok",
"plan": {
"plan_name": "unknown",
"can_deploy_cloud": true,
"permanent_hosting": "available"
},
"can_create_projects": false,
"next_steps": "Call build_get_skills (the MCP tool — not a local file), then build_get_project, ..."
}domainis your workspace.roleandscopeare what the connection resolved to:project_adminandprojectfor one project,domain_adminanddomainfor the whole workspace.can.publishmeans it may run build_publish (record a version). Putting an app live with build_go_live also needs "Let it publish apps" on the connection.plan.plan_namecan readunknownon a project connection, because only workspace admins can read the plan.plan.permanent_hostingstill says whether going live is available.
role is domain_admin, project_name is null, every can flag except create_project is false, and next_steps tells the client to call build_create_project. The project is created when you describe the app.Do not verify by listing tools
3. Describe the App
Build me a restaurant ordering app on Supero: a menu with categories and prices,
a cart, and orders with status. Give me the preview link when it is ready.schemas.py: your object typesconfig.py: project identity and the services you importsetup.py: provisioning, seed data and workflow definitions__main__.pyrequirements.txtrun.shui/app.js: the application shell
Six files must not be in the bundle
4. Validate and Publish
build_validate
ok: false with a list of errors is a normal answer, not a tool failure: the client fixes them and runs it again.{
"ok": true,
"errors": [],
"warnings": [],
"checks": {
"files_received": 7,
"files_kept": 7,
"namespace": "restaurant_orders",
"namespace_verified": true,
"schema_validation": {
"status": "valid",
"schema_count": 4,
"errors": [],
"conflicts": [],
"cycles": []
}
},
"next_steps": "All checks passed — run build_doctor for a deploy-readiness lint ..."
}build_doctor and build_audit
{
"ok": true,
"verdict": "ready to publish + deploy",
"errors": [],
"warnings": [],
"checks": { "schema_validation": { "status": "valid", "schema_count": 4 }, "...": "..." },
"next_steps": "Healthy — build_publish → build_deploy → build_smoke_test the returned URL."
}build_publish
{
"ok": true,
"version_uuid": "b2e4...",
"version": 1,
"app_slug": "restaurant-orders",
"file_id": "f9a0...",
"checksum": "9c1e...",
"total_files": 7,
"download_url": "<signed download link>",
"dropped_files": null,
"missing_files": null,
"incomplete_bundle": false,
"settings_link_warning": null,
"next_steps": "Published — the bundle is an ARTIFACT, not the finish line. ..."
}Iterating after the first build
build_get_bundle, edits them, then runs validate, doctor and publish again. Starting from scratch would drop hand-tuned UI and earlier fixes.Adding integrations
config.py by their catalog service id. build_list_capabilities shows what exists; build_recommend_integrations suggests what suits the app you described. See External Integrations for what each one needs.Configure test credentials only over MCP
5. Deploy a Preview
cloud_ephemeral starts a short-lived preview. It returns at once with a poll URL; the app is not up yet.{
"ok": true,
"target": "cloud_ephemeral",
"status": "launching",
"url": null,
"poll_url": "/api/v1/preview/project/acme/restaurant-orders?project_uuid=6f1c...",
"version_uuid": "b2e4...",
"note": "Ephemeral (~30m). Poll with build_deploy_status, then run build_smoke_test on the returned url to confirm the app actually renders (not just 'running')."
}launching for that long is normal; treat it as failed only if there is still no working URL after about ten minutes, and then read build_logs.{
"ok": true,
"status": "running",
"url": "https://preview-acme-restaurant-orders.supero.live",
"permanent": false,
"elapsed_s": 371,
"error": null,
"next_steps": "Live. Run build_smoke_test on this url to confirm it renders, then give the user the url — and tell them it's a temporary preview (expires ~30 min). ...",
"raw": { "status": "running", "expires_at": "2026-11-14T10:42:00Z", "...": "..." }
}https://preview-<workspace>-<project>.supero.live. A preview lasts about 30 minutes on the free plan. It comes with sample data and working sign-up and login. Finally the client runs build_smoke_test (does the URL render, and is it the version you just published) and build_verify (sign-up, login, the role permission matrix and server-side pricing, tested with throwaway accounts).Going live
supero.live subdomain, until you take it offline with build_teardown. Over sign-in it needs "Let it publish apps" on the connection. Permanent hosting also depends on your plan; plan.permanent_hosting in build_whoami tells you up front. The server asks for a clean build_audit and build_verify before going live.Limits worth knowing before you hit them
| Limit | Value |
|---|---|
| Preview lifetime | About 30 minutes (free plan) |
| Files per bundle | 300 |
| Size per file | 2 MB |
| Total bundle size | 8 MB |
| Request body | 12 MB |
Two failure modes that look like something they are not
Use an API Key Instead (Optional)
| Setting | Value |
|---|---|
| Endpoint | https://api.supero.dev/mcp/v1/messages |
| Transport | Streamable HTTP, JSON-RPC 2.0 |
| Auth header | X-API-Key: ak_... |
| Where to create the key | In the console, under Build via MCP |
A project key reaches every tenant
The scope is where the key was created, not a setting
| Key is created under | Effective role | Can it build? |
|---|---|---|
default-project / default-tenant | domain_admin: the whole domain | Yes, and more besides. Broader than a build needs. |
your project / default-tenant | project_admin: that one project | Yes. This is the one you want for building. |
| your project / a named tenant | tenant_user: one tenant's data | No. Build tools refuse this role. |
curl -X POST https://api.supero.dev/api/v1/domains/acme/api-key \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"project_name": "my-app",
"tenant_name": "default-tenant",
"description": "MCP build key",
"scopes": ["read", "write", "delete"]
}'Scopes cap a key; they never widen it
| scopes | What the key can do |
|---|---|
["read"] | Read only. |
["read", "write"] | Read and write, but not delete. |
["read", "write", "delete"] | Full record access. Use this for a build key. |
A read-only key will start a build and then fail partway
Login tokens cannot build
Authorization: Bearer is refused by every build tool with this message:build_publish requires an API key (domain-admin or project-admin), not a JWT session. Connect with header X-API-Key: ak_<domain>_<project>_<tenant>_...https://mcp.supero.dev/mcp is not a JWT session: its build calls run with the access you approved on the Allow page, so you will not see this message there.Send exactly one credential header
role: "project_admin" and your project. tenant_user means the key was created for a named tenant and cannot build.Revoking a key
Delete a key to revoke it; disabling is not enough
Two fields that are not checked everywhere
Where to Go Next
Ideas for what to build
Project briefs, a step-by-step first build, and community apps with source. supero-mcp on GitHub
Tool reference
Every tool, its parameters, and the protocol details. Open
What you are building on
Domain, project, tenant, and the Builder/Runtime split. Core Concepts
A worked example
A multi-tenant issue tracker built this way, end to end. Case study
The REST API instead
Domain, project, schema and your first CRUD call with curl. REST API walkthrough
On this page