Overview
Install the MCP server and the skills in one prompt.
The hosted MCP server is https://k8s.dflow.sh/mcp. Auth is a bearer token on each request. There is no OAuth and no browser sign-in. A password is not an MCP argument.
Signup stays on the CLI. dflow tokens:create prints a workspace token once. That secret is the bearer token. Do not write it into a repository or a chat log.
The skills do not connect the server. The prompt below does both.
Set up this editor
Paste this prompt into the editor. It installs the CLI if needed, creates the token, writes the user-level MCP config, and installs every skill.
Set up dFlow in this editor.
Run every step now.
Do not pause between steps to ask me to continue.
If the CLI prints Password:, wait only for me to type it.
1. If dflow is not on PATH, install it:
curl -fsSL https://github.com/dflow-sh/dflow/releases/latest/download/install.sh | sh
2. If dflow whoami fails, run:
dflow auth:register --email
Ask me for the email.
The password is typed at the prompt.
Do not pass --password.
Do not write the password into a chat log.
Signup creates one personal workspace.
That workspace is private.
3. Run:
dflow tokens:create
The secret is printed once.
Hold it for step 4.
Do not write it into a repository or a chat log.
4. Add the dFlow MCP server at user scope
for the editor you are running in.
Name: dflow
URL: https://k8s.dflow.sh/mcp
Transport: HTTP
Auth: bearer secret from step 3
There is no OAuth.
Do not leave the Authorization header empty.
Cursor, in ~/.cursor/mcp.json, not the project file:
mcpServers.dflow = {
"url": "https://k8s.dflow.sh/mcp",
"headers": { "Authorization": "Bearer <secret>" }
}
Claude Code:
claude mcp add --scope user --transport http dflow https://k8s.dflow.sh/mcp --header "Authorization: Bearer <secret>"
Codex. Export DFLOW_TOKEN to the secret in the user environment.
The variable holds the secret only, not the word Bearer.
codex mcp add dflow --url https://k8s.dflow.sh/mcp --bearer-token-env-var DFLOW_TOKEN
Copilot, in the VS Code user MCP config, not the workspace:
servers.dflow = {
"type": "http",
"url": "https://k8s.dflow.sh/mcp",
"headers": { "Authorization": "Bearer <secret>" }
}
5. Install the skills globally for this editor.
Set <agent> to cursor, claude-code, codex, or github-copilot.
npx skills add dflow-sh/dflow -g -y -a <agent>
That installs dflow, dflow-onboarding, dflow-cli, and dflow-mcp.
When you are done, report the config path
and confirm the four skills are installed.
Do not print the bearer secret.A new account still follows From install to a URL before a deploy. The tool list is on Tools.
How is this guide?
Last updated on