MCP tools

The platform as tools an agent can call.

Start the server with npx -y uarpie mcp --client <name>. Every tool carries a title and readOnlyHint / destructiveHint annotations; compliant clients use them to decide when to ask the person first.

ToolRead-onlyDestructiveWhat it does
deploynonoDetect, build and put an app online. Returns bind_url on the first deploy.
statusyesnoAddress, live version, in-progress update, usage and spend, current link
logsyesnoRecent runtime activity
versionsyesnoEvery deploy, newest first
deployment_logyesnoThe trace of one deploy: steps and build output
rollbacknoyesGo back to a version; with_data restores the snapshot
set_secretnoyesSet one setting; creates a config-only version
sharenonoInvite a person by email
add_domainnonoAttach a domain; returns the one CNAME to add
estimateyesnoLikely monthly cost with breakdown
list_projectsyesnoApps in the signed-in account
loginnonoStart signing this computer in; returns a code and link for the person
login_waitnonoWait for the person to approve
clonenonoPut an app's source on this computer

Results

Success returns the same shapes the dashboard uses. Failure returns the error contract with isError: true, so the agent reads fix, applies it, and calls again.

Naming the app

Tools that act on an app take project: a project id (prj_...) or the app's name. When omitted, the app in the current folder's deploy.json is used. Names require a signed-in account (login).