Skip to content

Codex CLI

Save your key in the private shell profile used to start Codex:

Terminal window
export FLOVIA_KEY='<your key>'

Reload the profile, then run:

Terminal window
codex mcp add flovia --url https://api.flovia.dev/mcp --bearer-token-env-var FLOVIA_KEY

This adds the server to your Codex configuration, normally ~/.codex/config.toml. Restart Codex CLI with FLOVIA_KEY set, open /mcp, then check your connection.

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.
Terminal window
codex mcp remove flovia

If tools are missing or your key is rejected, see By client.