codex-mcp-wrapper
v1.0.0
Published
MCP wrapper for Codex/GPT CLI with logging support for Claude Code
Maintainers
Readme
Codex MCP Wrapper
MCP wrapper for Codex/GPT CLI tool with stderr logging support for Claude Code.
Installation
Using Claude Code CLI (easiest):
claude mcp add codex --scope user -- npx -y codex-mcp-wrapperOr install globally:
npm install -g codex-mcp-wrapperThen add to ~/.claude/mcp.json:
{
"mcpServers": {
"codex": {
"command": "codex-mcp-wrapper",
"args": []
}
}
}Prerequisites
Make sure you have codex-mcp-server installed and authenticated:
npm install -g codex-mcp-server
codex authWhat it does
This wrapper:
- Runs
codex-mcp-server - Redirects stderr to
~/codex-mcp.logfor debugging - Keeps stdout clean for JSON-RPC communication with Claude Code
Debugging
Check logs if you encounter issues:
tail -f ~/codex-mcp.logLicense
MIT
