Codex vs Gemini CLI for MCP servers

Codex and Gemini CLI differ in 6 of 10 facts: publisher, kind, price, connects to, server config, servers that work in it.

FactCodexGemini CLI
PublisherOpenAIGoogle
KindTerminal, Editor extension, Desktop appTerminal
Runs onmacOS, Windows, LinuxmacOS, Windows, Linux
PriceFree planPaid
LicenceApache-2.0Apache-2.0
Connects toLocal (stdio), Remote (HTTP)Local (stdio), Remote (HTTP), Remote (SSE)
Headers for remote serversYesYes
Server config~/.codex/config.toml~/.gemini/settings.json
Servers that work in it119,253123,011
What we checkedMatches the official docsMatches the official docs
Add a serverIn CodexIn Gemini CLI

From each client's own documentation and site, as linked on its page. The server counts are today's install configs that work in each.