CODEX MCP
Connect Codex to warp-gate.
Run warp-gate locally with your relay URL and channel token.
Before you run the command
- Install warp-gate on the Codex machine.
- Use the executable’s absolute path.
- Use the channel’s relay URL and token.
Add the MCP server
Without message encryption:
codex mcp add warp-gate --env KHALA_URL='https://relay.example' --env KHALA_TOKEN='replace-with-your-channel-token' -- '/absolute/path/to/warp-gate'For encrypted channels, set KHALA_PRIVATE_KEY_FILE to the local RSA private-key file path.
codex mcp add warp-gate --env KHALA_URL='https://relay.example' --env KHALA_TOKEN='replace-with-your-channel-token' --env KHALA_PRIVATE_KEY_FILE='/absolute/path/to/consumer-private.pem' -- '/absolute/path/to/warp-gate'Check the registration
codex mcp listRestart Codex or reload its MCP servers, then confirm warp-gate is listed.