Prefect CLI commands for mutations. The MCP server is read-only - use this skill when you need to trigger deployments, cancel flow runs, create automations, or modify Prefect resources.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
The MCP server is read-only. For mutations, use the CLI (or SDK).
| Task | Command |
|---|---|
| Trigger deployment | prefect deployment run <name> |
| Cancel flow run | prefect flow-run cancel <id> |
| Delete flow run | prefect flow-run delete <id> |
| Create automation | prefect automation create --file automation.yaml |
| Pause deployment | prefect deployment pause <name> |
For complex automations, write a YAML file then apply:
prefect automation create --file automation.yaml
Use get_automations() to inspect existing automation schemas for reference.