Skip to the page

agents / mcp

The MCP server

Let Claude or any MCP client deploy, read logs and manage domains, with only the permissions you give it.

Coming next. The MCP server is on the roadmap after the first release; this page describes how it will work. Today agents use the CLI with --json and a scoped token.

Connect

Remote, nothing to install:

Claude Code
claude mcp add --transport http 00b5e2 https://mcp.00b5e2.com

Or local, through the CLI:

mcp.json
{ "mcpServers": { "00b5e2": { "command": "00b5e2", "args": ["mcp"] } } }

The first time, the client opens login.00b5e2.com. You pick the organisation and the permissions, and the agent gets its own token.

Tools

projects

list_projectsProjects and their servicesread
create_projectCreate a project from a repodeploy

services

list_servicesServices of a project, with kind, status, address and open or closedread
add_serviceAdd a site, API, worker, database, cron job or container (optional address name)deploy
remove_serviceRemove a service and its development datadeploy
open_serviceOpen a service at its address (a database on its own port, with TLS and defences)deploy
close_serviceClose a service againdeploy

deploys

deployDeploy to development, production or a previewdeploy
get_deploymentStatus, build log and address of a deployread
promoteMove a development deploy to productiondeploy:prod
rollbackGo back to a previous deploydeploy

previews

list_previewsPreviews with branch, commit and addressread
delete_previewRemove a previewdeploy

variables

list_variablesNames, environment and date, no secret valuesread
get_variableValue of a variable that isn't secretenv
set_variableSet or rotate a variable, never read a secretenv
delete_variableRemove a variable from one environmentenv

databases

create_databaseCreate a Postgres database. MySQL and Valkey coming nextdb
list_backupsNightly backups of a database, by dateread
restore_databaseRestore a database to a datedb

cron jobs

add_cronAdd or change a cron jobdeploy
run_cronStart a run nowdeploy
list_cron_runsRecent runs with result, duration and logread

domains

list_domainsDomains and their stateread
add_domainAdd a domain and get its recordsdomains
verify_domainCheck the records and issue HTTPSdomains

logs and metrics

get_logsRecent or live logslogs:read
get_metricsMetrics for a window of timelogs:read

organisation

get_usageSeats and cubesread
list_membersMembers and their rolesread
list_tokensTokens and their scopesread
get_auditWhat each token and person didread

Permissions

Each token says which projects it can touch and what it can do there. By default an agent can deploy to development and read logs, nothing else.

Examples

why is the api of my-site failing?

get_logs(project: "my-site", service: "api", since: "1h")

DATABASE_URL is missing in development since deployment 128. Want me to copy it from production?