Tools
What the MCP server can call, and what it refuses.
These are the actions an editor can take. Ask the server for tools/list and use those names. Prefer apps_document_apply with a dflow.json object. That document is the source of truth. groups_create puts several applications on one shared file and does not deploy. A missing or non-Bearer Authorization header returns unauthenticated and does not call the API.
A read times out at 30 seconds. A deploy or other change returns when the API accepts it. It does not wait until the work finishes. Call operations_wait with the operation id. That call returns the phases, the last log lines, and the final URL or the failure. operations_logs without follow reads a finished build again from Better Stack when the API has query credentials, and from stored chunks otherwise. follow: true streams the live lines. operations_inspect still reads one operation. Stop when that status is failed.
A delete asks for the name, the host, or the email first. If that confirmation is missing, the tool returns validation and does not call the API. Signup, a password, and Google or GitHub sign-in stay on the CLI.
What you can call
| Group | Tools |
|---|---|
| Identity | whoami, issues_create, issues_list, issues_inspect, issues_refresh_status |
| Workspace | workspaces_list, workspaces_create, workspaces_inspect |
| Project | projects_list, projects_create, projects_delete, environments_list, environments_create, providers_list |
| Applications | apps_list, apps_inspect, apps_report, apps_document, apps_document_apply, apps_delete, apps_deploy, apps_build, apps_restart, apps_logs, apps_events, apps_events_pods, apps_env_get, apps_env_set, apps_env_unset, apps_secret_list, apps_secret_set, apps_secret_unset, apps_releases_list, apps_rollback, apps_route_set, apps_route_show, apps_route_delete |
| Data | db_list, db_postgres_create, db_mysql_create, db_mongodb_create, db_redis_create, db_info, db_credentials, db_delete, db_link, db_backups_list, db_backups_create, db_restore, volumes_create, volumes_list, volumes_inspect, volumes_mount, volumes_umount, volumes_expand, volumes_delete, jobs_create, jobs_schedule, groups_list, groups_create, templates_list, templates_install |
| Recipes | recipe_schema, recipe_example, recipe_validate |
| Access | tokens_list, tokens_create, members_list, members_role, members_remove, workspace_operations_list, operations_inspect, operations_cancel, operations_events, operations_logs, operations_wait, github_repos_list, github_branches_list |
| Older names | list_projects, list_applications, create_application, create_deployment, get_deployment_status, get_logs, list_operations |
issues_create takes message. Optional fields are title, kind (unexpected, bug, docs, or other), tags (deploy, route, database, billing, docs, or agent), tool, request_id, application_id, and operation_id. An empty message or an unknown tag returns validation and does not call the API. Screenshots are not an MCP argument. A stored ClickUp task is tagged dFlow Cloud and customer report. issues_list and issues_inspect return status from the database and do not call ClickUp. Pass page_token from the previous next when the page is not the last one. issues_refresh_status takes issue_id, pulls the ClickUp status, and stores it. At most once per minute per issue. A missing ClickUp task returns precondition and does not call ClickUp. A ticket is opened on create when the API is configured for that.
apps_report returns a short support report for one application: identity, image, port, route, volumes, and pods. It leaves out env and secret keys. projects_delete removes empty environments on the way and is refused while the project still has applications, databases, volumes, or jobs.
apps_env_set replaces the caller's variables. Platform DFLOW_ link variables stay on the server. A new or different reserved name is refused. Unchanged copies of those names are left out of the write. apps_env_unset removes one key. A missing key is ignored. SQL and MongoDB links use DFLOW_DATABASE_*. Redis links use DFLOW_REDIS_*. db_credentials reveals a connection once. db_mysql_create creates MySQL. db_mongodb_create creates MongoDB. Both take database, the same as db_postgres_create. MongoDB is one instance, still a replica set. db_redis_create creates Redis. The provider id is redis. Redis has no version argument. Storage on those creates defaults to 20Gi and accepts 1Gi through 100Gi. PostgreSQL versions are 16, 17, or 18 (default 18). MySQL versions are 8.0 or 8.4 (default 8.0). MongoDB versions are 6, 7, or 8 (default 8). db_backups_list and db_backups_create are for PostgreSQL, MySQL, and Redis. A failed backup includes failure_reason, with credential-shaped text removed. When the object store driver is s3, those three get a daily backup at 02:00 UTC, five-field cron 0 2 * * *, kept 7 days. db_restore creates a new service from backup_id or target_time and leaves the source as it is. Point-in-time restore is on for those three. MongoDB backups are not available, and those commands return that. When backups are not configured, the backup tools return precondition. Deleting a database does not delete the bucket copy. The personal workspace is private.
Confirmation
A delete or revoke returns validation and does not call the API when the confirmation is missing or empty.
| Tool | Argument | Must equal |
|---|---|---|
projects_delete | confirm_name | project name |
apps_delete | confirm_name | application name |
db_delete | confirm_name | service name |
db_restore | confirm_name | source service name |
volumes_delete | confirm_name | volume name |
tokens_revoke | confirmation | display prefix |
apps_route_delete | confirm_host | that host |
members_remove | confirm_email | that member's email |
Not tools
Signup, logout, a password, Google or GitHub sign-in, and an invite stay on the CLI. environments_delete is not a tool. dflow clusters:register is not a tool. There is no Kubernetes, shell, or exec tool. apps_deploy can set cpu_millicores and memory_mi. apps_build can send path instead of repo. apps_restart does not create a release. db_mysql_create and db_mongodb_create create MySQL and MongoDB. db_redis_create creates Redis.
How is this guide?
Last updated on