Skip to content

Codex

Live

Codex’s terminal tool, desktop app and code editor extension share one settings file, ~/.codex/config.toml. Set Famasi up in any of them and it works in all of them.

Terminal

Terminal window
codex mcp add famasi --url https://mcp.famasi.ai/mcp
codex mcp login famasi

Sign in when your browser opens, then check it with codex mcp list.

Desktop app

  1. Open Settings, then MCP servers.
  2. Select Add server, name it famasi and enter https://mcp.famasi.ai/mcp.
  3. Restart Codex, then select Authenticate and sign in.

Code editor extension

  1. Select the gear icon, then MCP servers.
  2. Select Add server, then Streamable HTTP.
  3. Name it famasi and enter https://mcp.famasi.ai/mcp.
  4. Restart the extension, then select Authenticate and sign in.

With a provider API key

Set your key:

Terminal window
export FAMASI_PROVIDER_API_KEY=YOUR_PROVIDER_API_KEY

Then add this to ~/.codex/config.toml. Codex reads the key from your environment, so it never sits in the file.

[mcp_servers.famasi]
url = "https://mcp.famasi.ai/mcp"
env_http_headers = { "x-api-key" = "FAMASI_PROVIDER_API_KEY" }

See Provider API keys.

Check it works

Find amoxicillin 500mg on Famasi