Codex app
このコンテンツはまだ日本語訳がありません。
The desktop app, the IDE extension, and Codex CLI share MCP settings on the same computer, in ~/.codex/config.toml. Set Flovia up on the Codex CLI page. To sign in with OAuth instead of a key, run the Codex command from Quick Install in Console (opens in new tab) in a terminal, then quit the app and open it again. The rest of this page is for a key. Keep your key out of the chat.
If you open the app from outside the terminal, it does not see that terminal’s environment. An app opened from the Dock does not read ~/.zshrc. Put FLOVIA_KEY where the app reads it, then quit the app fully and open it again. codex mcp list shows Bearer token when only the variable name is saved. The key can still be missing or wrong, and the chat then has no Flovia tools and no error.
Put the key in the config file
Section titled “Put the key in the config file”If the app still can’t see FLOVIA_KEY, put the key in ~/.codex/config.toml instead. Replace the [mcp_servers.flovia] section with this, and put your key in place of <your key>:
[mcp_servers.flovia]url = "https://api.flovia.dev/mcp"http_headers = { "Authorization" = "Bearer <your key>" }Then let only you read the file, and restart the app:
chmod 600 ~/.codex/config.tomlThe file now holds your key. Don’t share it or commit it to a repository. If you create a new key, update this line too.
To remove the shared setup, use the removal command on the CLI page.