forge-orchestrator
by nxtg-ai·★ 116·综合分 47
基于 Rust 的 MCP 服务器,提供多 AI 任务编排、文件锁定和知识捕获功能。
概述
Forge Orchestrator 是一个复杂的 MCP 服务器,旨在协调多个 AI 编程工具在共享仓库中的工作。它解决了多个 AI 工具在同一代码库中工作而无共享状态的问题,提供文件锁定以防止冲突、知识捕获以维护跨会话的决策上下文,以及漂移检测以确保工作与规范保持一致。服务器通过 MCP stdio 协议暴露 11 个工具,使其与任何连接的 AI 客户端兼容。使用 Rust 构建为单二进制文件,无运行时依赖,既适用于交互式仪表板使用,也适用于无头自主执行。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
在同一个仓库中使用多个 AI 编码工具,并需要工具间协调、文件锁定和知识保存的团队。
什么时候不要选它
如果您只使用单个 AI 编码工具,或需要完全开源解决方案(此软件使用功能源许可证,将于 2028 年转换为 Apache 2.0)。
此 server 暴露的工具
从 README 抽取出 11 个工具initInitialize Forge in a project with state, event log, and knowledge base
plan_generateGenerate task plan from specifications by decomposing into dependency-aware tasks
dashboardLaunch the TUI dashboard with live tool panes and task status
runExecute tasks headlessly in autonomous mode for CI/CD pipelines
statusShow current state summary including task assignments and dependencies
verifyRun automated acceptance tests on the project
uatRun interactive user acceptance tests
shipRelease ceremony with changelog generation, archiving, and tagging
config_brainConfigure the AI brain with openai API key or rule-based approach
drift_detectionCompare in-progress work against specifications to detect divergence
file_lockingAcquire or release exclusive file locks to prevent conflicting edits
说明:Tool names inferred from CLI commands in the README. While it mentions there are 11 MCP tools, the exact MCP API signatures and tool names aren't explicitly documented, only the CLI commands. Tools like 'drift_detection' and 'file_locking'
可对比工具
安装
安装
curl -fsSL https://forge.nxtg.ai/install.sh | sh
forge initClaude Desktop 集成
添加到 Claude Desktop 配置中:
{
"mcpServers": {
"forge": {
"command": "forge",
"args": ["mcp"]
}
}
}从源码构建
git clone https://github.com/nxtg-ai/forge-orchestrator
cargo build --release注意:单个二进制文件,4.7 MB。无运行时依赖。
FAQ
- Forge Orchestrator 支持哪些 AI 工具?
- 它支持 Claude Code(通过 MCP stdio)、Codex CLI 和 Gemini CLI(通过文件系统)。每个工具适配器都读取自己的配置格式,不需要特定的配置语言。
- 文件锁定如何工作?
- 当工具开始编辑文件时,Forge 会在 .forge/locks/ 中获取独占锁。请求同一文件的其他工具会被排队并收到通知。系统包含崩溃工具的超时机制和死锁检测,有 378 个测试用例覆盖并发访问场景。
- 什么是知识飞轮?
- 知识飞轮在 .forge/knowledge/ 中捕获所有工具会话中的决策、模式和经验。条目会被自动分类并可跨工具和会话搜索。此上下文会被保留供将来使用,使新会话能够从累积的知识而非从零开始。
Hacker News 讨论
开发者社区最近的相关讨论。
- 帖子 by vipdestiny · 2026-02-09
forge-orchestrator 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。