agent-fleet
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agent-fleetuse codex to write a quick sort function"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
agent-fleet
Claude Code + Codex 双模型协作工具。通过 MCP (Model Context Protocol) 和 tmux 实现 Claude Code 主控、Codex 执行的实时协作。
架构
┌─────────────────────────┬──────────────────────────┐
│ │ │
│ Claude Code │ Codex Output │
│ (用户交互, MCP client) │ (实时流式日志) │
│ │ │ │
│ │ MCP/HTTP │ tail -f /tmp/fleet.log │
│ ▼ │ ▲ │
│ ┌──────────────┐ │ │ │
│ │ MCP Server │───────┼── codex exec --json │
│ │ (HTTP :9876) │ │ │ │
│ └──────────────┘ │ ▼ │
│ │ [codex subprocess] │
└─────────────────────────┴──────────────────────────┘Related MCP server: codex-bridge
安装
cd ~/projects/agent-fleet
npm install前置要求
Node.js >= 18
Claude Code CLI
Codex CLI (
npm install -g @openai/codex)tmux(可选,用于分屏)
使用
1. 启动
# 启动 MCP server + tmux 分屏
npx tsx src/cli.ts start
# 仅启动 MCP server(不用 tmux)
npx tsx src/cli.ts start --no-tmux
# 指定端口
npx tsx src/cli.ts start -p 99992. 配置 Claude Code
在项目的 .claude/settings.json 或全局 ~/.claude/settings.json 中添加:
{
"mcpServers": {
"agent-fleet": {
"url": "http://127.0.0.1:9876/mcp",
"type": "streamable-http"
}
}
}或运行 npx tsx src/cli.ts setup 查看配置。
3. 在 Claude Code 中使用
配置完成后,Claude Code 可以使用以下 MCP 工具:
工具 | 说明 |
| 向 Codex 下发任务 |
| 检查 Codex 当前状态 |
| 取消正在运行的任务 |
| 查看集群状态 |
4. 停止
npx tsx src/cli.ts stopMCP 工具详情
codex_run
codex_run({
prompt: "实现一个快速排序函数",
cwd: "/path/to/project", // 可选:工作目录
model: "o3", // 可选:指定模型
sandbox: "workspace-write" // 可选:沙箱策略
})返回:
{
"taskId": "uuid",
"output": "任务输出...",
"exitCode": 0,
"state": "completed"
}开发
# 开发模式(热重载)
npm run dev
# 编译
npm run build
# 测试
npm test
# 类型检查
npx tsc --noEmitLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceMCP server that enables Claude Code to send code and plans for review by OpenAI Codex, returning structured feedback inline.Last updated8523MIT
- AlicenseAqualityDmaintenanceMCP server that lets Claude Code ask GPT Codex for adversarial planning, code review, debugging, research, and risk triage without leaving your project workflow.Last updated9261MIT
- Alicense-qualityDmaintenanceA MCP server that enables Claude Code to delegate coding tasks to Codex via the MCP protocol, with task management, security checks, and result verification.Last updated34MIT
- Alicense-qualityDmaintenanceMCP server that enables Claude Code to communicate with other Claude Code agents over HTTP, allowing users to ask questions about remote codebases or delegate coding tasks.Last updatedMIT
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/baiqiaw/agent-fleet'
If you have feedback or need assistance with the MCP directory API, please join our Discord server