Skip to the page

reference / references

References

Every command, every MCP tool and every endpoint in one place. Everything the console does is here too, so an agent never needs the browser.

CLI commands

Every command can answer in JSON, returns plain data and uses stable exit codes: 0 done, 1 failed, 2 not allowed.

account

00b5e2 loginLogin through the browser, or with a token--token
00b5e2 logoutEnd the session on this machine
00b5e2 whoamiWho, or which token, is logged in
00b5e2 updateUpdate the CLI to the latest version
00b5e2 helpList every command, or explain one

projects

00b5e2 initCreate a project from the current folder--name
00b5e2 lsList projects and services
00b5e2 git connectDeploy a GitHub repo on every push<owner/repo>

services

00b5e2 services addAdd a site, API, worker, database, cron job or container; its address is reserved--name --dir --engine --address
00b5e2 services lsList the services of a project
00b5e2 services rmRemove a service and its development data--prod
00b5e2 services openOpen a service at its address; a database gets its own port<service> --allow --prod
00b5e2 services closeClose a service; only its project reaches it<service> --prod

deploys

00b5e2 deployDeploy to development, production or a preview--prod --preview
00b5e2 promoteMove a development deploy to production<deploy id>
00b5e2 rollbackGo back to a previous deploy--prod --to
00b5e2 previews lsList the previews of a project
00b5e2 previews rmRemove a preview<branch>

variables

00b5e2 env setSet or rotate a variable, value asked for--prod --redeploy
00b5e2 env lsList variables, never secret values--prod
00b5e2 env rmRemove a variable--prod
00b5e2 env importImport variables from a .env file--prod

databases

00b5e2 db createCreate a Postgres database. MySQL and Valkey coming next--engine --name --prod
00b5e2 db connectOpen a tunnel from your machine--port --prod
00b5e2 db shellOpen a database shell--prod
00b5e2 db backups lsList the nightly backups by date--prod
00b5e2 db backups createTake a backup now--prod
00b5e2 db restoreRestore a database to a date--date --into --prod

cron jobs

00b5e2 cron addAdd or change a cron job--schedule --command --prod
00b5e2 cron lsList cron jobs and their last run--prod
00b5e2 cron runStart a run now<name>
00b5e2 cron rmRemove a cron job--prod

domains

00b5e2 domains addAdd a domain to an open service (main site by default) and get its records<domain> --service
00b5e2 domains verifyCheck the records and issue HTTPS<domain>
00b5e2 domains lsList domains and their state
00b5e2 domains rmRemove a domain<domain>

network

00b5e2 network allowLet one project reach another of the organisation--to
00b5e2 network lsList the allowed paths

logs and metrics

00b5e2 logsRead or follow logs--prod --since --follow --level --grep --run
00b5e2 metricsRequests, latency, cpu, memory and disk--prod --since
00b5e2 alerts addAlert when a metric crosses a value--metric --above --for
00b5e2 alerts lsList alerts
00b5e2 alerts rmRemove an alert<id>

agents

00b5e2 tokens createCreate a scoped token, shown once--scope --project --expires
00b5e2 tokens lsList tokens and their scopes
00b5e2 tokens revokeRevoke a token at once<name>
00b5e2 auditWhat each token and person did--token --since
00b5e2 mcpRun the MCP server locally

organisation

00b5e2 members lsList members and their roles
00b5e2 members inviteInvite someone to the organisation or a project--role --project
00b5e2 members rmRemove a member and free the seat<name>
00b5e2 usageSeats and cubes of the organisation

MCP tools

The MCP server at https://mcp.00b5e2.com (or 00b5e2 mcp) exposes the same actions as tools. Each one checks the scopes of the token, and anything in production also needs deploy:prod.

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

API

The CLI and the MCP server both use the same HTTP API. Send the token as a bearer token; every response is JSON.

api.00b5e2.com
$ curl -H "Authorization: Bearer $TOKEN" https://api.00b5e2.com/v1/projects
[{"name":"my-site","services":9,"env":"production"}]

Base URL https://api.00b5e2.com/v1. Errors come back with an HTTP status and a code, never as HTML.

Markdown versions

Every page exists as Markdown for agents and LLMs. Add .md to the address, or ask for text/markdown.

addressreturns
docs.00b5e2.com/page.mdthis page, in Markdown
00b5e2.com/.mdthe home page, in Markdown
/llms.txtan index of every page
/llms-full.txtevery page in one file
Accept: text/markdownMarkdown from any address