Crescendo Lab Docs
English
Sign up

MCP tools

The deploy tools on the Agent Lab MCP server. An AI tool can do what you can do in the console, and nothing more.

Last updated

Endpoint#

text
https://api.agentlab.cresclab.com/v1/mcp

See Deploy with an AI tool to connect. Every tool takes an organization argument; the server says its value when the client connects.

Apps and versions#

ToolWhat it does
sites_listLists apps with their addresses and internal addresses.
sites_createCreates an app. The address label can't be reused.
sites_deployStarts a new version and returns an upload address and token.
sites_deploy_finalizeAfter the upload finishes, sends the version to be built.
sites_deploy_statusA version's stage, failure reason, port and notices.
sites_deploy_retryRetries a version the platform failed, without a new upload.
sites_promoteMakes a version live. Also used to roll back.
sites_runtime_statusWhich version is serving and how many instances are ready.
sites_restartApplies saved settings without downtime.
sites_filesA version's file list: paths, sizes and hashes, never the contents.
sites_lifecyclePauses, resumes, removes or restores an app, in every branch at once.
sites_purgeDeletes an app permanently. This can't be undone.

Scheduled jobs#

ToolWhat it does
scheduled_jobs_list, scheduled_jobs_getLists jobs, or reads one.
scheduled_jobs_create, scheduled_jobs_updateCreates or changes a job. An update replaces the whole job, so read it first.
scheduled_jobs_runRuns a job now.
scheduled_jobs_runsRun history, and one run's log.
scheduled_jobs_lifecyclePauses, resumes or deletes a job.

Branches and docs#

ToolWhat it does
environments_listLists the organization's branches.
docs_readReads these docs as Markdown. Without a page it returns the index.

Name the branch when there is more than one

When the organization has more than one branch, every call must name one; otherwise it's refused with environmentRequired.

When a deploy is refused, the failure in sites_deploy_status carries help, the Markdown address of Troubleshoot failed deployments. Image notices carry noticesHelp, pointing at the container runtime contract.