A side-by-side look at the Codex MCP Bridge and DesktopCommanderMCP MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Codex MCP Bridge for coding agents work as a local process; choose DesktopCommanderMCP for coding agents as a local process. You can also run both side by side in one mcpServers block.
OPENAI_API_KEY, CODEX_MAX_CONCURRENT.codex, search, query.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Coding Agents | Coding Agents |
| Quality signal | 64/100 · Good | 56/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | API key required | No auth required |
| Pricing | BYOK (pay the provider) | Free |
| Required env vars | OPENAI_API_KEYCODEX_MAX_CONCURRENT | None listed |
| Verified owner | Community listing | Community listing |
| GitHub stars | 3 | 10,103 |
| Directory activity | 4 views 0 installs 0 upvotes | 2 views 0 installs 0 upvotes |
| Tools | 7 | Not listed |
| Full listing | View Codex MCP Bridge | View DesktopCommanderMCP |
codexExecute a prompt via Codex CLI. Codex is an AI coding agent that can generate, analyze, refactor, and explain code with full project context (reads AGENTS.md/CODEX.md automatically).
Capabilities: code generation and refactoring, code analysis and explanation, file reading and modification (when sandbox allows), git operations and terminal commands, multi-turn conversations via sessionId.
When to use a different tool:
- For analysis of text you already have (plans, docs, opinions), inline it directly in the prompt rather than passing file paths. The files parameter triggers full file I/O and increases timeout pressure.
Tips:
- Set workingDirectory to the target repo for project-aware responses.
- Use sandbox "read-only" (default) for analysis, "full-auto" for code changes.
- Break complex tasks into focused prompts rather than one large request.
- Resume multi-turn conversations with sessionId (returned in previous response metadata).
- Include relevant files via the files parameter for targeted context (text and images supported).
- Set reasoningEffort to control depth: "none" for trivial, "minimal" for lightweight, "low"/"medium" for routine, "high"/"xhigh" for deep analysis.searchWeb search via Codex CLI. Searches the web and synthesizes a comprehensive answer with source URLs. Use for current information, documentation lookups, API references, and research questions.
Tips:
- Ask specific, focused questions for best results.
- Results include source URLs for verification.
- Use maxResponseLength to control response verbosity.
- Default timeout is 2 minutes; increase for complex research queries that may require multiple web fetches.queryLightweight query for analysis or opinions on text you already have. No file reading, no repo exploration, no session state. Pass text in the context parameter. For code execution or file operations, use the codex tool instead.
Use cases: reviewing a plan, critiquing a draft, comparing approaches, answering questions about provided text, generating summaries.
Tips:
- Pass the text to analyze in the context parameter, not as file paths.
- Set reasoningEffort to control depth: "none" for trivial, "minimal" for lightweight, "low"/"medium" for routine, "high"/"xhigh" for thorough analysis.
- Use maxResponseLength to control verbosity.reviewRun Codex CLI's native diff-aware review via codex exec review --json. The bridge does not accept or bundle a review prompt; upstream Codex owns the reviewer instructions.
Use for MCP clients that cannot run shell commands but need native Codex review of uncommitted changes, a base branch diff, or a single commit.
Tips:
- Set workingDirectory to the target git repository.
- Choose mode "uncommitted", "base", or "commit".
- Use the codex tool with sandbox "read-only" for free-form review prompts.structuredGenerate a JSON response conforming to a provided JSON Schema. Use for data extraction, classification, or any task needing machine-parseable output.listSessionsList active Codex conversation sessions. Returns session metadata for orchestration (no prompts or responses, just IDs and timing). Use to check available sessions before resuming with the codex tool's sessionId parameter.pingHealth check: verifies Codex CLI is installed and authenticated, reports versions and capabilities.No tool names declared yet. Check the project README from the listing page.
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"codex-mcp-bridge": {
"command": "npx",
"args": [
"-y",
"codex-mcp-bridge"
],
"env": {
"OPENAI_API_KEY": "YOUR_OPENAI_API_KEY_HERE",
"CODEX_MAX_CONCURRENT": "YOUR_CODEX_MAX_CONCURRENT_HERE"
}
}
}
}
{
"mcpServers": {
"wonderwhy-er-desktopcommandermcp": {
"command": "npx",
"args": [
"-y",
"@wonderwhy-er/desktop-commander@latest"
]
}
}
}