autocloud

Built for coding agents

Tudo que o dashboard faz existe em CLI não interativa, API e MCP. Este é o guia mínimo para Claude Code, Codex, Cursor e outros agentes. Versão machine-readable: /llms.txt

Deploy an existing application

# 1. Install the CLI
npm i -g simdeploy

# 2. Authenticate (token created at /dashboard/settings)
simdeploy login --token sd_live_...

# 3. Analyze (offline, no side effects)
simdeploy analyze --json

# 4. Non-interactive deploy — essential for agents
simdeploy deploy --yes

# 5. Verify (exit code != 0 on failure)
simdeploy status --json
simdeploy logs

Golden rules

  • Sempre --yes em automação; sem ele a CLI pede confirmação.
  • Sempre --json quando for interpretar a saída.
  • Builds run on the local machine; only the output goes to SimDeploy.
  • Estados de deployment: CREATED, ANALYZING, QUEUED, BUILDING, DEPLOYING, READY e as falhas tipadas ANALYSIS_FAILED, BUILD_FAILED, DEPLOY_FAILED.
  • Displayed costs are projections from price tables, never a real bill.

API v1

Auth: Authorization: Bearer sd_live_... — erros retornam {"error":{"code","message"}}.

GET /api/v1/mevalidates token; returns organization and scopes
GET | POST /api/v1/projectslist / create project {name}
GET | DELETE /api/v1/projects/:iddetail / delete project
POST /api/v1/projects/:id/analyzeregisters analysis; returns cost + planned route
GET | POST /api/v1/projects/:id/deploymentslist / deploy (multipart meta + artifact)
GET /api/v1/deployments/:idstatus + pipeline events
GET /api/v1/deployments/:id/logsstructured logs (?format=text for plain text)
GET | POST /api/v1/projects/:id/envlist keys / set variable
POST /api/v1/cost/estimatestandalone cost estimate

MCP

Servidor stdio simdeploy-mcp com as ferramentas analyze_project, estimate_cost, create_project, deploy_project, list_projects, get_project, get_deployment e get_logs. A autenticação reusa a da CLI.

{
  "mcpServers": {
    "simdeploy": { "command": "simdeploy-mcp" }
  }
}