Skip to Content
dFlow

Codex

Register the hosted dFlow MCP server in the OpenAI Codex CLI.

Codex uses streamable HTTP MCP. Register the URL, then run codex mcp login so OAuth can complete when the server advertises it.

MCP URL

https://k8s.dflow.sh/mcp

Steps

  1. Copy the URL.
  2. Register the server (same as Dashboard → Agents → Codex):
codex mcp add dflow --url https://k8s.dflow.sh/mcp
  1. Log in for OAuth:
codex mcp login dflow
  1. Sign in to dFlow and approve workspace and scopes. Deploy is off by default.
  2. You are done when tools work.

Syntax for the add command is codex mcp add <name> --url <url> per the OpenAI Codex CLI.

Turn Deploy on later

Revoke the dashboard grant, run codex mcp login dflow again after reconnecting with Deploy enabled on consent.

Troubleshooting

SymptomWhat to do
401Run codex mcp login dflow again or reconnect OAuth; check Connected agents for revokes.
Scope errorEnable Deploy on a fresh consent.
Login hangsConfirm the MCP URL is exactly https://k8s.dflow.sh/mcp (no trailing path).

How is this guide?

Last updated on