Connect Codex
codex mcp add <name> --url https://<name>-mcp.deemwar.com/mcpcodex mcp login <name>The login opens the sign-in page in your browser (add --no-browser on a remote machine).
Or edit config.toml
Section titled “Or edit config.toml”Add it to ~/.codex/config.toml:
[mcp_servers.<name>]url = "https://<name>-mcp.deemwar.com/mcp"To give Codex the product’s CLI skill as well, see CLI, skill & plugin.
On the same machine (dmcp terminal serve, no –publish)
Section titled “On the same machine (dmcp terminal serve, no –publish)”export DMCP_TOKEN=<local token>codex mcp add <agent> --url http://127.0.0.1:8765/mcp --bearer-token-env-var DMCP_TOKENOr in ~/.codex/config.toml:
[mcp_servers.<agent>]url = "http://127.0.0.1:8765/mcp"bearer_token_env_var = "DMCP_TOKEN"The local token comes from dmcp token --local. dmcp terminal connect --client codex prints these lines with your values filled in.