codex-subagent-mcp
Enables Claude Code to delegate coding tasks—investigation, review, long-running background jobs, and optional file edits—to a locally installed OpenAI Codex CLI, with the model and reasoning effort chosen per task and read-only execution by default. Follow-up requests reuse Codex's existing context, and write-enabled delegations can be confined to a managed git worktree so the user's own checkout stays untouched.
インストール
npx -y codex-subagent-mcp
上記の設定をMCPクライアントの設定ファイル(Claude Desktop は claude_desktop_config.json)に追記し、クライアントを再起動してください。
{
"mcpServers": {
"codex-subagent-mcp": {
"command": "npx",
"args": [
"-y",
"codex-subagent-mcp"
],
"env": {
"CODEX_BIN": "<CODEX_BIN>",
"CODEX_SUBAGENT_MAX_EFFORT": "<CODEX_SUBAGENT_MAX_EFFORT>",
"CODEX_SUBAGENT_MAX_SANDBOX": "<CODEX_SUBAGENT_MAX_SANDBOX>",
"CODEX_SUBAGENT_DEFAULT_MODEL": "<CODEX_SUBAGENT_DEFAULT_MODEL>",
"CODEX_SUBAGENT_ALLOWED_MODELS": "<CODEX_SUBAGENT_ALLOWED_MODELS>",
"CODEX_SUBAGENT_DEFAULT_EFFORT": "<CODEX_SUBAGENT_DEFAULT_EFFORT>"
}
}
}
}上記の設定をMCPクライアントの設定ファイル(Claude Desktop は claude_desktop_config.json)に追記し、クライアントを再起動してください。
出典:公開されているMCPサーバーカタログ。当サイトは独立した第三者ディレクトリであり、各MCPサーバーの提供元との提携や推奨関係はありません。