# MCP Tools

> See what every StaticX MCP tool reads or changes, including the confirmations required for destructive actions.

Canonical: https://staticx.site/documentation/mcp-tools

Tool contract

## Every action says what it changes.

Read tools inspect state. Write tools create or publish. Confirm tools cannot run until the user supplies the exact confirmation text.

  | Type | Tool | Purpose |
|---|---|---|
| Read | `staticx_config` | Check API URL, default site, and token presence without exposing the token. |
| Read | `staticx_auth_check` | Validate the configured token and return its user context. |
| Read | `staticx_list_workspaces` | List workspaces visible to the token. |
| Write | `staticx_create_workspace` | Create a workspace when the token allows it. |
| Read | `staticx_list_projects` | List visible sites, optionally inside one workspace. |
| Read | `staticx_get_project` | Read one site and its live URL. |
| Write | `staticx_create_project` | Create an empty site. |
| Write | `staticx_upload_zip` | Upload a static build ZIP and wait for queued import completion. |
| Write | `staticx_import_url` | Import a public website URL into the site workspace. |
| Write | `staticx_deploy_project` | Publish the current site workspace. Optional versioning\_enabled=false updates one baseline release. |
| Write | `staticx_deploy_zip` | Upload, wait for ZIP import, deploy, read state, and return the live URL in one flow. Optional versioning\_enabled=false keeps history off. |
| Read | `staticx_list_deployments` | List rollback-ready release history or the current baseline release. |
| Confirm | `staticx_rollback_deployment` | Requires the exact confirmation ROLLBACK deployment\_id. |
| Confirm | `staticx_delete_deployment` | Requires the exact confirmation DELETE deployment\_id. |
| Read | `staticx_get_logs` | Read recent site activity and deployment errors. |
| Write | `staticx_set_environment_variables` | Sync site environment variables. |
| Write | `staticx_connect_custom_domain` | Start manual custom domain setup and return its DNS record. |
| Read | `staticx_get_custom_domain_status` | Read DNS and activation status. |
| Read | `staticx_agent_guide` | Return the built-in safe deployment instructions. |

[View on staticx.site](https://staticx.site/documentation/mcp-tools)
