codex-mcp-tool
by x51xxx·★ 21·综合分 43
连接Claude/Cursor与Codex CLI的MCP服务器,支持文件分析、多轮对话和本地模型
developer-toolsai-llm
5
Forks
0
活跃 Issue
1 个月前
最近提交
2 天前
收录于
概述
Codex MCP Server在Claude/Cursor和Codex CLI之间建立桥梁,通过文件引用(@src/, @package.json)实现高级代码分析,支持会话管理的多轮对话和重构用的结构化变更模式。该服务器支持包括GPT-5.5在内的多种模型,以及通过Ollama或LM Studio运行的本地OSS模型。它提供沙盒代码执行、网络搜索功能和SCAMPER等头脑风暴框架。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
你:使用文件引用进行代码分析和重构
你:带有上下文保存的代码多轮对话
你:本地模型集成用于私有代码分析
你:使用此MCP服务器前需要安装什么?
你:我可以在此MCP服务器中使用本地模型吗?
什么时候选它
当您已经在使用 Codex CLI 并希望与 Claude/Cursor 无缝集成以进行代码分析,特别是关于代码库的多轮对话时,请选择此服务器。
什么时候不要选它
如果您需要文件写入权限(此服务器只读)或尚未使用 Codex CLI,请避免使用它,因为设置需要额外的 CLI 安装,而不仅仅是 MCP 配置。
此 server 暴露的工具
从 README 抽取出 5 个工具ask-codexExecute Codex CLI with file analysis, models, sessions
brainstormGenerate ideas with SCAMPER, design-thinking, etc.
list-sessionsView/delete/clear conversation sessions
healthDiagnose CLI installation, version, features
pingTest connection with Codex CLI
可对比工具
gemini-mcp-toolclaude-codexgithub-mcpcursor-cli
安装
安装
Claude Desktop
claude mcp add codex-cli -- npx -y @trishchuk/codex-mcp-tool配置
{
"mcpServers": {
"codex-cli": {
"command": "npx",
"args": ["-y", "@trishchuk/codex-mcp-tool"]
}
}
}**配置位置:**
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
FAQ
- 使用此MCP服务器前需要安装什么?
- 您需要安装Node.js 18+、Codex CLI,并配置OpenAI认证。该服务器与Claude Desktop配合使用。
- 我可以在此MCP服务器中使用本地模型吗?
- 是的,v1.6.0+版本支持通过Ollama或LM Studio使用本地OSS模型。您需要运行支持工具调用的Ollama模型。
codex-mcp-tool 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。