AI SyncForge
БесплатноНе проверенA LAN multi-AI collaborative development ecosystem connecting tools like Cursor, Windsurf, and Claude Desktop via MCP for automated Dev-QA-Ops workflows.
Описание
A LAN multi-AI collaborative development ecosystem connecting tools like Cursor, Windsurf, and Claude Desktop via MCP for automated Dev-QA-Ops workflows.
README
License: MIT Python 3.10+ FastMCP
🇺🇸 English
AI-SyncForge is an innovative LAN Multi-AI Collaborative Development Ecosystem. It leverages the cross-network capabilities of the Model Context Protocol (MCP) to connect multiple AI programming tools (such as Cursor, Windsurf, Claude Desktop, etc.) within your local network. It breaks the boundaries of a single AI, building a fully automated, asynchronous three-party collaboration loop consisting of Developer (Dev), Quality Assurance (QA), and Operations Expert (Ops).
💎 Core Advantages: Distributed Collaboration
Unlike traditional single-agent development, the true power of AI-SyncForge lies in distributed synergy:
- 🖥️ Cross-Software Linkage: Let your Cursor focus on writing code, while Windsurf or Claude Desktop on another device in the LAN automatically handles testing.
- 📱 Heterogeneous Compute Pool: Fully utilize idle computing power. For example: a high-performance desktop runs the Dev role, a laptop runs the QA role, and even a tablet can participate in monitoring.
- 🛡️ Zero Human Intervention Loop: Task state transitions across processes and devices are managed via the MCP Broker. Developers can go "offline" after submitting code, with subsequent QA and environment fixes handled automatically by background AIs.
- ⚡ Zero Latency State Sync: Based on the
asyncio.Eventsignal mechanism, ensuring that state changes are synchronized to all participants in milliseconds, even on different physical machines.
🏗️ System Architecture
AI-SyncForge uses a "Hub-and-Spoke" architecture. The MCP Broker acts as the central scheduler.
graph TD
subgraph "Local / Server (Broker Hub)"
Broker["MCP Broker (Streamable-HTTP)"]
DB[(SQLite Task Queue)]
Watchdog[Ops Whistleblower]
end
Dev["Cursor (Dev Agent)"] -- "submit_and_wait" --> Broker
QA["Antigravity (QA Agent)"] -- "poll_task / finish_test" --> Broker
Ops["Ops-Forge (Ops Agent)"] -- "poll_ops_task / manage_env" --> Broker
Broker <--> DB
Watchdog -.-> DB
🛠️ Quick Start
1. Start Broker Service
Option A: Docker Deployment (Recommended)
docker-compose up -d --build
Option B: Direct Run
pip install -r requirements.txt
python server.py
2. Configure Agents
Add the following to your MCP client configuration (e.g., mcp_config.json):
Cursor Configuration:
"local-sse-server": {
"url": "http://localhost:8080/"
}
Antigravity Configuration:
"local-sse-server": {
"serverUrl": "http://localhost:8080/"
}
[!IMPORTANT] Transport Mode: Use
Streamable-HTTP. The Broker automatically handles path resolution and session mapping for root-path connections.
3. Agent Prompts
For detailed system prompts for each role (Dev, QA, Ops), please refer to PROMPTS.md.
🇨🇳 中文
AI-SyncForge 是一个创新的 局域网多 AI 协同开发生态系统。它利用 Model Context Protocol (MCP) 的跨网络能力,将您局域网内的多个 AI 编程工具(如 Cursor、Windsurf、Claude Desktop 等)连接在一起。它打破了单一 AI 的边界,构建了一个由 开发者 (Dev)、测试员 (QA) 和 运维专家 (Ops) 组成的完全自动化、异步的三方协作环路。
🏗️ 系统架构
AI-SyncForge 采用“中心调度”架构。MCP Broker 作为核心调度器,管理所有任务状态。
graph TD
subgraph "核心服务器 (Broker Hub)"
Broker["MCP Broker (流式 HTTP 模式)"]
DB[(SQLite 任务队列)]
Watchdog[Ops 吹哨人]
end
Dev["Cursor (开发代理)"] -- "提交并等待" --> Broker
QA["测试代理 (QA)"] -- "轮询任务 / 提交报告" --> Broker
Ops["运维代理 (Ops)"] -- "紧急轮询 / 环境管理" --> Broker
Broker <--> DB
Watchdog -.-> DB
🛠️ 快速开始
1. 启动 Broker 服务
推荐使用 Docker 一键部署:
docker-compose up -d --build
2. 配置 Agent 客户端
在您的 MCP 客户端配置(如 mcp_config.json)中添加:
Cursor 配置格式:
"local-sse-server": {
"url": "http://localhost:8080/"
}
Antigravity 配置格式:
"local-sse-server": {
"serverUrl": "http://localhost:8080/"
}
[!TIP] 模式说明:本项目目前运行在
Streamable-HTTP模式下,完美兼容 Antigravity 等各类插件。直接指向根路径http://localhost:8080/即可,无需额外后缀。
3. 角色提示词配置
关于 Dev、QA、Ops 各角色的详细系统提示词(System Prompt)配置,请参考 PROMPTS.md。
⚙️ 环境变量与调优 (Environment Variables & Tuning)
AI-SyncForge 允许您根据硬件和网络环境自定义协作节奏。您可以在 .env 文件中设置以下变量:
# MCP Broker 端口 (默认 8000,Docker 映射为 8080)
SYNCFORGE_PORT=8000
# 吹哨人死锁判定阈值 (默认 600s/10分钟)
WHISTLEBLOWER_TIMEOUT=600
# 物理连接死守超时 (默认 1200s/20分钟)
PHYSICAL_TIMEOUT=1200
# 数据库路径
# DB_PATH=./task_queue.db
# 日志级别 (DEBUG/INFO/WARNING/ERROR)
LOG_LEVEL=INFO
[!IMPORTANT] 运维小贴士 (Performance Tip):如果在实际使用场景(如 Cursor 配合 Windsurf)中遇到任何任务分发或状态同步延迟,只需调整
.env中的WHISTLEBLOWER_TIMEOUT或增加轮询频率即可。
🧰 MCP 工具集
| 工具名称 | 调用者 | 描述 |
|---|---|---|
submit_and_wait |
Dev | 提交代码并挂载协程,毫秒级等待测试结果。 |
poll_task |
QA | 长轮询获取待测任务,无任务时保持挂起。 |
finish_test |
QA/Ops | 提交测试或修复结果,瞬间唤醒被阻塞的 Dev。 |
poll_ops_task |
Ops | 专属高优先级长轮询通道,获取系统自动生成的自愈任务。 |
manage_env |
Ops | 执行环境管理(如重启容器、清理故障现场等)。 |
🏗️ 运维自愈:吹哨人机制
系统内置了 Ops 吹哨人 (Watchdog) 模块:
- 持续监控:每 30 秒扫描一次数据库。
- 死锁判定:如果一个测试任务超过 10 分钟无响应,自动判定为环境死锁。
- 自动派单:系统会自动生成一个
ops_task急救工单并投递给运维通道,请求 Ops Agent 介入修复。
Установка AI SyncForge
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/chen-muxi/AI-SyncForgeFAQ
AI SyncForge MCP бесплатный?
Да, AI SyncForge MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для AI SyncForge?
Нет, AI SyncForge работает без API-ключей и переменных окружения.
AI SyncForge — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить AI SyncForge в Claude Desktop, Claude Code или Cursor?
Открой AI SyncForge на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare AI SyncForge with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
