team-protocol
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., "@team-protocolWhat's the merge status for the verifier's handoff?"
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.
GitMono Agent Team
面向 Libra + Monorepo 的最小三 Agent 协作仓库。它不负责替代模型或代码托管平台,而是把三个角色之间必须共享的工程契约固化为可验证文件和一个本地 MCP 服务:
Implementer(实现):在锁定的
baseCommit上完成受限范围的改动,交付 PatchSet 与自测证据。Verifier(验证):独立复跑验收、记录失败原因或通过证据,不能绕过测试结论。
Integrator(集成):检查基线、路径冲突、审查结论和风险门禁;只提交“允许合并”的决定,不直接替代人工审批。
仓库以 Git submodule 固定 Mega、ScorpioFS 和 Libra 的上游版本,并提供 Mega + ScorpioFS Docker Compose 用于本地部署。
架构遵循 GitMono 方案中的链路:IntentSpec → Task → PatchSet → Evidence → Decision。Libra 保存会话、checkpoint 与版本化证据;本仓库的 team-protocol MCP 只负责角色间的结构化交接和合并门禁。
快速开始
安装并初始化 Libra(或将现有 Git 仓库转换为 Libra 仓库)。
libra init --from-git-repository <your-repository> cd <your-repository> libra agent enable在本仓库安装 lockfile 固定的运行时依赖。
Set-Location -LiteralPath '<ABSOLUTE_PATH_TO_THIS_REPOSITORY>' npm ci按客户端选择配置模板,并替换其中的两个绝对路径占位符:
Codex:将 mcp/codex.config.toml.example 中的配置段合并到
config.toml。接受顶层
mcpServersJSON 的客户端:使用 mcp/mcp.template.json。
两种格式不能直接互换;完整说明见 mcp/README.md。
libra是 Libra 的 stdio MCP;team-protocol是本仓库提供的协作接口。复制 examples/intent-spec.example.json,为一次工作创建 IntentSpec。将同一文件、同一
baseCommit交给三个 Agent。按以下顺序交接:Implementer → Verifier → Integrator。每次交接由
team.submit_handoff写入.agent-team/handoffs.jsonl;Integrator 审查前调用team.get_gate做前置条件预检。提交批准后再次调用:低/中风险以readyToMerge作为最终门禁,高风险则交由 MCP 外部授权人工门禁完成最终决定。npm test npm run demo
Related MCP server: AI Workbench MCP
目录
agents/ 三个角色的系统提示与边界
skills/ 三个角色可安装的 Agent Skill
contracts/ IntentSpec、Handoff 的 JSON Schema
mcp/ MCP 客户端配置模板与工具契约
src/mcp-server.js 执行 JSON Schema 输入校验的 stdio MCP 服务
src/protocol.js 校验、路由与合并门禁逻辑
examples/ 可复制的 IntentSpec / Handoff 样例
deploy/ Mega + ScorpioFS Compose 与安装说明
submodules/ 固定版本的 Mega、ScorpioFS、Libra 上游仓库
test/ 协议与 MCP 调用测试CI 与合并门禁
Pull Request 使用两层门禁:
Node 22.x与Node 24.x从package-lock.json执行完整测试;Node 24 还强制执行原生覆盖率阈值和隔离状态目录下的 demo 断言。Node 20 已结束维护,不再作为支持或合并门禁。Contracts and configuration会编译 Draft 2020-12 Schema、验证正反样例与运行时校验器、检查 JavaScript/JSON/TOML,并对锁定依赖执行高危漏洞审计。Submodules and containers会初始化并核对三个固定 gitlink 与 canonical URL,从固定 ScorpioFS 源码构建镜像,再启动 PostgreSQL、Redis、RustFS、bucket 初始化和 Mega,检查健康状态、重启次数与真实/api/v1/status响应。托管 runner 不启动需要/dev/fuse的 ScorpioFS 服务。独立的
Dependency review与CodeQL检查依赖增量和 JavaScript 安全问题。启用Dependency review为必需检查前,仓库必须先启用 Dependency graph,并确认该检查至少成功运行一次。
所有复用 Action 均固定到完整 commit SHA;除 CodeQL 外的 PR 工作流只有 contents: read。CodeQL 额外获得读取工作流元数据所需的 actions: read 与上传分析结果所需的 security-events: write。仓库不使用 pull_request_target,也不会由 CI 自动合并。
真实 FUSE 验证位于手工触发的 Trusted FUSE smoke 工作流。它只接受默认分支,使用受保护的 trusted-fuse Environment,并要求专用 runner 同时具有 self-hosted、linux、x64、fuse、ephemeral 标签。该 runner 必须用 JIT/--ephemeral 注册并在每个 job 后销毁;普通 PR 代码不得在其上执行。
不可变协作规则
baseCommit是本轮协作的基线;任一 Agent 发现不一致必须阻塞交接。Implementer 只交付指定
allowedPaths内的 PatchSet 和其自测;Verifier 不修改同一 PatchSet。Verifier 的
passed交接必须包含通过的test证据;失败必须回传 Implementer。Integrator 的
approved决定必须建立在同一patchRef的实现、通过测试和通过审查三类顺序证据之上;新 PatchSet 会使旧验证与旧审批失效。risk: high永远由外部授权的人工门禁决定;Agent Handoff 不能自报human_approval,本地 MCP 始终返回readyToMerge: false与externalHumanApprovalRequired: true。外部门禁必须独立读取 IntentSpec 并核对精确的风险、基线及非人工门禁字段。每次交接都应写入可选的 Libra
sessionId/checkpointId,使审计可追到 Think + Code 过程。ready、passed、approved等正向交接不得夹带任何failed/rejected证据;发现矛盾时必须失败关闭门禁。
MCP 工具
内置 stdio 服务当前锁定 legacy MCP 2025-11-25;它不会宣告支持尚未实现的 2026-07-28 stateless/discovery 协议。
工具 | 写入 | 用途 |
| 否 | 读取指定角色的输入、输出与允许交接方向。 |
| 是 | 验证并持久化一份角色交接记录。 |
| 否 | 按 Intent 查询已交接的证据链。 |
| 否 | 计算当前 Intent 是否达到合并门禁。 |
完整输入输出见 mcp/tools.md。JSON Schema 可用于 CI、Hook 或其他编排器;本服务不调用 LLM,也不直接执行 git merge。
与 Libra 的关系
Libra 是 Git 兼容、面向 Agent 的版本控制层,可捕获 Agent session 和 checkpoint,并原生提供 MCP 接入。其 stdio MCP 的进程启动参数为:
{
"command": "libra",
"args": ["code", "--stdio"]
}因此任务事实不在聊天窗口中漂移:IntentSpec 绑定 base commit,Handoff 绑定 PatchSet/Evidence,Libra trace 绑定会话与 checkpoint。详见 Libra README。
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 Connectors
Durable agent-to-agent handoffs and shared scratchpad for multi-agent workflows.
Pre-execution governance for AI agents. Deterministic PASS/FAIL/REVIEW verdicts, replayable proof.
Shared task queue for humans and AI agents: leases, handoffs, approvals and signed receipts.
Runtime AI governance: decision gates, human approval, hash-chained audit, compliance mapping.
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides plan state management and phase gate enforcement for AI development loops. It tracks task progress and coordinates the lifecycle of agents by requiring specific evidence before advancing through development phases.10MIT
- AlicenseCqualityCmaintenanceEnables acceptance gates for AI coding-agent runs by recording evidence, running deterministic validation, applying a quality gate, and rendering auditable outcomes.7Apache 2.0
- AlicenseNot gradedqualityAmaintenanceLocal-first AI agent for approval-gated automation and verifiable LLM workflows.1MIT
- AlicenseNot gradedqualityBmaintenanceGoverned, self-hosted memory for AI agents: writes queue until an authorized approver signs off.Apache 2.0
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/marshawcoco/gitmono-agent-team'
If you have feedback or need assistance with the MCP directory API, please join our Discord server