About Codex Tools MCP
Codex Tools MCP is an MCP server published by agynio in the Blockchain category: 基于Codex开发的IDE工具MCP服务器 - 一个强大的模型上下文协议服务器,提供全面的开发工具集,包括文件操作、Git集成、项目管理、依赖管理、构建/部署功能和高级搜索功能,通过Codex技术增强开发体验.
The repository has 3 stars and 1 forks, with the last commit 5 months ago. Recent commit activity is the strongest signal that reported issues will get attention.
Install
git clone https://github.com/agynio/codex-tools-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Codex Tools MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Codex Tools MCP Server
A minimal Model Context Protocol server implemented in Rust that exposes the update_plan and apply_patch tools used by the Codex GPT-5 model. It lets developers integrate these tools inside any MCP-aware client without running the Codex CLI.
Build & Run
Prerequisite: install Rust toolchain 1.90.0 or newer (edition 2024 support) before building, e.g. rustup toolchain install 1.90.0 and rustup override set 1.90.0 in this directory.
cargo build --release
The binary communicates over stdio using JSON-RPC 2.0. Launch it from an MCP-compatible host (for example, the MCP Inspector or any tool runner that can spawn stdio-based servers). Run ./target/release/codex-tools-mcp --help for command-line options (log level, version information).
Tool Schemas
update_plan: matches the schema defined incodex-rs/core/src/plan_tool.rs(requiredplanarray withstepandstatus, optionalexplanation).apply_patch: matches the JSON variant defined incodex-rs/core/src/tool_apply_patch.rs(requiredinputstring containing the full patch payload).
The apply_patch tool reuses the official Codex codex-apply-patch crate to parse and apply patches, so file changes are applied exactly as in the CLI. The server streams the CLI-equivalent summary back in the MCP response. update_plan returns the acknowledgement "Plan updated".
Agents SDK Demo
For local testing without exposing an HTTP endpoint, use the OpenAI Agents SDK with the stdio MCP server:
pip install openai-agents
OPENAI_API_KEY=your_key python3 scripts/agents_demo.py
Set OPENAI_API_KEY (or export it beforehand) so the Agents SDK can authenticate with OpenAI. This runs the codex MCP binary via stdio and asks it to write hello world! into hello.txt in the working directory.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.