Codex Bridge
未认领A lightweight MCP server bridging AI agents to OpenAI models via official CLI
安装
$
claude mcp add codex-bridge -s user -- uvx codex-bridge工具(10 个)
consult_codex
Direct CLI bridge for simple queries with structured JSON output by default.
consult_codex_batch
Batch processing for multiple queries - perfect for CI/CD automation.
consult_codex_with_stdin
CLI bridge with stdin content for pipeline-friendly execution.
directory
(string): Working directory for the query (default: current directory)
format
(string): Output format - "text", "json", or "code" (default: "json")
prompt
(string): The prompt to process the stdin content
queries
(list): List of query dictionaries with 'query' and optional 'timeout'
query
(string): The question or prompt to send to Codex
stdin_content
(string): Content to pipe as stdin (file contents, diffs, logs)
timeout
(int, optional): Timeout in seconds (recommended: 60-120, default: 90)