Skip to content

Connect Codex

Create an agent credential and store it in an environment variable:

Terminal window
export TXCAST_AGENT_TOKEN='txc_REDACTED'

Add txcast to your Codex MCP configuration:

[mcp_servers.txcast]
url = "https://api.txcast.com/mcp"
bearer_token_env_var = "TXCAST_AGENT_TOKEN"
startup_timeout_sec = 30
tool_timeout_sec = 120
default_tools_approval_mode = "writes"

Restart the Codex host after changing the configuration. Use codex mcp list in the CLI or /mcp in the TUI to confirm the server is connected.

Use a write-prompt default and explicit prompt overrides for contract registration, draft replacement, workflow/run publication, public visibility, cancellation, Safe rejection/signature submission, transaction recording, external completion, and manual checkpoints.

Only tools allowed by the credential’s scopes appear. A visible tool can still fail when current role, resource ownership, account grant, or lifecycle state does not permit the action.

Try:

Use txcast to list my organisation context, controlled accounts, and saved contracts. Do not make changes.

Then ask Codex to validate a complete draft before creating or replacing it. Review the node mapping and warnings.

See the official Codex MCP guide for current host configuration and approval controls.