Codex CLI
Codex CLI (codex) reads MCP server definitions from ~/.codex/config.toml (or a project-level config, depending on version).
codex and ask it to use the tools directly:
“Use the xentfi tools to show my agent’s wallet balances and current spend policy.”Verify the server loaded with whatever
--mcp / server-listing flag your installed Codex CLI version provides (codex --help), or watch stderr on first run for [xentfi-mcp] MCP server ready over stdio.
OpenAI Agents SDK
The Agents SDK has first-class MCP support viaMCPServerStdio.
Both SDKs cache the tool list from an MCP server at connect time by default — if you rotate the XentFi API key, restart/reconnect the server.
Next steps
Tools Reference
See every available tool.
Generic MCP Client
If your runtime isn’t covered here.

