Cloud 66 MCP by usefulapi

v1.2.1
io.usefulapi/cloud-66 Checked 1 day ago Published 7 hours ago

Read stacks, servers, deployments and backups; redeploy stacks and cancel deployments in Cloud 66.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

cloud66_list_stacks List stacks

List the stacks (apps) the user can access: name, environment, cloud, status, health, git branch. Good first call. Cloud 66 API: GET /stacks.

ParameterTypeDescription
pageintegerPage number, 1-based (see pagination in the response).

cloud66_get_stack Get a stack

Get one stack by uid: status, health, maintenance mode, load balancer, git repo and branch, cloud. Cloud 66 API: GET /stacks/{id}.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_list_stack_actions List stack actions

List the actions run on a stack (for example clear_caches or a deployment step), with their status. Cloud 66 API: GET /stacks/{id}/actions.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).
user_referencestringFilter by the user_reference sent with the action.

cloud66_get_stack_action Get a stack action

Get one stack action by id, including its status and result. Cloud 66 API: GET /stacks/{stack_id}/actions/{id}.

ParameterTypeDescription
action_id *stringAction id (from cloud66_list_stack_actions).
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_list_deployments List deployments

List the deployments (redeploys) of a stack, newest first, with status and git ref. Cloud 66 API: GET /stacks/{stack_id}/deployments.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).
pageintegerPage number, 1-based (see pagination in the response).

cloud66_get_deployment Get a deployment

Get one deployment of a stack by id: status, git ref, services, timestamps. Cloud 66 API: GET /stacks/{stack_id}/deployments/{deployment_id}.

ParameterTypeDescription
deployment_id *stringDeployment id (from cloud66_list_deployments).
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_redeploy_stack Redeploy a stack

Start a redeploy of a stack. This changes live code on the stack's servers. Optional git_ref picks the commit or branch; services limits the deploy. Cloud 66 API: POST /stacks/{stack_id}/deployments.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).
deployment_profilestringDeployment profile name, if the stack uses profiles.
git_refstringCommit sha or branch to deploy. Default: the stack's branch.
servicesstringComma-separated service names to deploy. Default: all.
user_referencestringYour own label for this deploy, stored with it.

cloud66_cancel_deployment Cancel a deployment

Cancel a deployment of a stack that has not finished. Cloud 66 API: DELETE /stacks/{stack_id}/deployments/{deployment_id}.

ParameterTypeDescription
deployment_id *stringDeployment id (from cloud66_list_deployments).
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_list_servers List servers

List the servers of a stack with their state, cloud, size and IP details. Cloud 66 API: GET /stacks/{stack_id}/servers.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_get_server Get a server

Get one server of a stack by uid: state, cloud, size, IP details. Cloud 66 API: GET /stacks/{stack_id}/servers/{server_id}.

ParameterTypeDescription
server_id *stringServer uid (from cloud66_list_servers).
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_list_server_groups List server groups

List the server groups of a stack (for example web, worker, database). Their ids feed the database tools. Cloud 66 API: GET /stacks/{stack_id}/server_groups.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_list_services List services

List the services defined for a stack (from its service.yml), with their status. Cloud 66 API: GET /stacks/{stack_id}/services.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_list_processes List processes

List the processes (running services and workers) of a stack, optionally for one server. Cloud 66 API: GET /stacks/{stack_id}/processes.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).
server_uidstringLimit results to one server uid.

cloud66_get_process Get a process

Get one process of a stack by id: state, command, server. Cloud 66 API: GET /stacks/{stack_id}/processes/{id}.

ParameterTypeDescription
process_id *stringProcess id (from cloud66_list_processes).
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_list_containers List containers

List the running containers of a stack, optionally for one server. Cloud 66 API: GET /stacks/{stack_id}/containers.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).
server_uidstringLimit results to one server uid.

cloud66_list_jobs List scheduled jobs

List the scheduled jobs (cron tasks) of a stack with their schedule and last run. Cloud 66 API: GET /stacks/{stack_id}/jobs.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_list_backups List backups

List the database backups of a stack, optionally for one server group or database type. Cloud 66 API: GET /stacks/{id}/backups.

ParameterTypeDescription
stack_id *stringStack uid (from cloud66_list_stacks).
db_typestringDatabase type to filter by, for example mysql or postgresql.
groupstringServer group name to filter by.

cloud66_list_databases List databases

List the databases of one server group of a stack. Cloud 66 API: GET /stacks/{stack_id}/server_groups/{server_group_id}/databases.

ParameterTypeDescription
server_group_id *stringServer group id (from cloud66_list_server_groups).
stack_id *stringStack uid (from cloud66_list_stacks).

cloud66_list_database_users List database users

List the database users of one server group of a stack (no passwords). Cloud 66 API: GET /stacks/{stack_id}/server_groups/{server_group_id}/database_users.

ParameterTypeDescription
server_group_id *stringServer group id (from cloud66_list_server_groups).
stack_id *stringStack uid (from cloud66_list_stacks).