Connect Codex
Before you begin
Section titled “Before you begin”Create an agent credential and store it in an environment variable:
export TXCAST_AGENT_TOKEN='txc_REDACTED'Configure the server
Section titled “Configure the server”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 = 30tool_timeout_sec = 120default_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.
Keep sensitive writes prompted
Section titled “Keep sensitive writes prompted”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.
First request
Section titled “First request”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.