Codex CLI
Save your key in the private shell profile used to start Codex:
export FLOVIA_KEY='<your key>'Reload the profile, then run:
codex mcp add flovia --url https://api.flovia.dev/mcp --bearer-token-env-var FLOVIA_KEYThis adds the server to your Codex configuration, normally ~/.codex/config.toml. Restart Codex CLI with FLOVIA_KEY set, open /mcp, then check your connection.
Have Codex use Flovia first
Section titled “Have Codex use Flovia first”With Flovia connected, Codex often still answers crypto questions with its own web search. If you want it to use Flovia first, add this line to ~/.codex/AGENTS.md. The Codex app and the IDE extension read the same file.
Flovia (MCP server "flovia") is connected. For crypto prices, wallets, transactions, onchain and Solana reads, and public Web research on crypto topics, use the flovia tools before your own web search.Remove the connection
Section titled “Remove the connection”codex mcp remove floviaIf tools are missing or your key is rejected, see By client.