ai-collab-mcp
This server provides multi-model AI orchestration tools, letting you list configured providers/agents/models and run collaborative workflows across Claude, OpenAI, and Gemini.
Inspect environment:
list_providersshows which API keys are configured;list_agentslists registered specialists;list_modelsexposes model capabilities (e.g., grounded retrieval, pricing) as wired in this codebase.Run sequential pipelines:
run_pipelinechains steps, each handled by a chosen provider, feeding each step's output into the next.Run orchestrator/worker collaboration:
run_orchestratoruses a Chief provider to classify task complexity, pick specialists (simple=1, normal=3, deep=4), and synthesize final answers, with optional budget constraints and evidence labeling.Run multi-model debate:
run_debatehas multiple providers answer independently, critique each other over configurable rounds, then a judge merges or selects the best answer.Note: The CHIEF decision-audit engine (review, human adjudication, revision, verification) is implemented offline but not yet exposed as server tools; the current server surface is the earlier multi-model orchestration layer.
Allows the MCP server to make model calls to OpenAI using the OPENAI_API_KEY environment variable for authentication.
Click on "Deploy 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., "@ai-collab-mcp Ask Claude, GPT, and Gemini to answer this and synthesize their responses."
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.
CHIEF
Before you send this artifact, know which parts you cannot defend.
CHIEF is decision-audit infrastructure for AI-assisted review, revision, and human adjudication. It doesn't just help produce an artifact — it produces the record of how it was produced: which issues were raised against it, whether a human actually authorized acting on each one, what was changed in response, and whether that change is provably present in whatever came next.
The pipeline
review → deliberation → human adjudication → revision → successor verificationReview — issues and findings are raised against a draft artifact (
SemanticIssue,ReviewFinding).Deliberation — those issues are routed and reasoned about (
DeliberationState,RouteOutcome) before anyone is authorized to act.Human adjudication — a human, not the model, decides whether each finding is actionable. Nothing downstream can act on an issue without an explicit, recorded YES.
Revision — a
RevisionActionis taken, and it can only cite source references that trace back to a YES-adjudicated finding. Every action's status (PLANNED/IMPLEMENTED/REJECTED) is part of the audit trail.Successor verification — when a revised artifact exists, CHIEF doesn't take "fixed" on faith.
RevisionSuccessorBindingcryptographically links the source and successor artifacts, andRevisionVerificationrecords whether the change is actually present in the successor (VERIFIED_PRESENT/NOT_PRESENT/INCONCLUSIVE) — closing the loop between "we said we'd fix it" and "it's actually in the file."
AI assists; human authority remains final. Authoritative decision-audit write boundaries validate the relevant ledger integrity before accepting new domain state — a model can raise an issue and propose a revision, but it cannot authorize its own action, and it cannot claim a verification it hasn't earned.
Related MCP server: Multi-Model Broker
Current state
The decision-audit engine above (src/stress-test/) is implemented and
covered by an extensive offline test suite (853 tests, 0 live API calls as
of this writing — see build/test instructions below). It is not yet wired
into the MCP server's tool surface. The MCP server this repository builds
today exposes an earlier, separate layer of this project instead —
multi-model orchestration across Claude, GPT, and Gemini (run_pipeline,
run_orchestrator, run_debate) — documented in full below.
專案技術細節(Technical details / build / tests)
此 repository 包含可建置的 MCP server、離線測試與交接紀錄。最新狀態見 HANDOFF.md;歷史架構分析見 STEP7_SCOPE_ANALYSIS.md。
目前狀態:
Step 7 V1 IMPLEMENTED —— 僅 SIMPLE、恰好一位成功且輸出非空的 Worker、non-retrieval 執行會原樣直接交付,其餘路徑保留原行為。
report.policy記錄是否 synthesis 及原因,synthesisAllowed保留原 Run Status 的失敗保護語意。Experimental Milestone 2-A —— default OFF,尚未 productionize。 Targeted peer challenge 的 prototype,只在
deep、Round 1 SUCCESS 且至少兩位專家時才可能啟動,最多一位 Round 2 specialist,Round 2 不做檢索。不傳experimental參數時,執行行為與回傳 payload 與加入前逐欄相同(有測試斷言)。三次 diagnostic live 的機制後半段仍未被執行過 —— parser 成功路徑、sourceRef 解析、Round 2 與 Decision Synthesis 皆為零次真實執行。證據見
diagnostics/m2a-live/,判讀見 HANDOFF 第二十一〜二十三節。
建置與離線測試
本次使用 Node.js v24.15.0 驗證。從 repository 根目錄執行:
npm ci
npm testnpm test 先編譯 TypeScript,再執行整套離線測試與 MCP smoke tests,全部不需要 API key(目前實測共 853 項全過,見上方「Current state」)。208 項是 rev.19 當時的歷史數字,此後測試持續增加,不是現在的 npm test 總數。當時的 208 項中,36 項是 execution-policy tests,另有 M2-A 的 stage instrumentation、call ceiling、best-effort parsing、issue 驗證、deterministic selection、selective peer context、失敗回退與 evidence 不變式測試。
啟動 MCP Server
npm run build
npm startServer 使用 stdio 傳輸。實際模型呼叫需要對應的 OPENAI_API_KEY、ANTHROPIC_API_KEY 或 GEMINI_API_KEY,可透過環境變數或本機 .env 設定。.env、node_modules/ 與產生的 dist/ 不提交至 Git。
歷史 Regression 證據
regressions/simple-readiness/2026-09-05/ 保留 Step 6.1 後、Step 7 前的 SIMPLE-2 / SIMPLE-3 三階段 live 結果。可離線核對:
node regressions/simple-readiness/verify.mjs regressions/simple-readiness/2026-09-05同目錄的 run.mjs 是歷史三階段測試 harness,其驗收預期 synthesis 執行;不是後續 direct path 的驗收工具。test-simple-baseline.mjs 與 test-orchestrator.mjs 會呼叫 live API,不包含於 npm test。
diagnostics/m2a-live/ 保存三次 M2-A diagnostic live 的完整 artifact,含每次呼叫的 prompt 原文與回應原文、逐字 fixture 與 harness。harness 是 pass-through recorder,參數原封轉給真正的 provider dispatcher,不改變 runtime 行為。
Contributing
See CONTRIBUTING.md.
Security
See SECURITY.md for how to report a vulnerability privately.
License
Apache License 2.0 — see LICENSE.
Available Tools
6 toolslist_agentsList registered specialistsA
Lists the specialists registered for run_orchestrator: id, role, which provider currently performs the role, and whether the specialist gathers external evidence. Pass these ids in run_orchestrator's workers array instead of redeclaring each specialist.
Inputs: no named parameters.
list_modelsList model capabilitiesA
Lists what each model can do as wired up in this codebase — not what its vendor advertises. Use it to see which models support grounded retrieval, and which have verified pricing.
Inputs: no named parameters.
list_providersList configured AI providersA
Lists which AI providers (claude, openai, gemini) currently have API keys configured and are usable in the other tools.
Inputs: no named parameters.
run_debateRun a multi-model debate / cross-validationA
Multiple AI providers independently answer the same question, then critique each other's answers over one or more rounds, and finally a judge provider synthesizes or selects the best final answer.
Inputs: panel (required), question (required), judge, rounds.
run_orchestratorRun an orchestrator/worker collaborationA
A Chief provider classifies the task's complexity, picks the minimum sufficient set of specialists, gives each one coherent mission, then a synthesizer merges their results into one final answer. Specialist count is capped by complexity (simple 1, normal 3, deep 4). Returns a run report: SUCCESS/DEGRADED/FAILED plus an evidence label, and a deep answer with no evidence behind it is marked UNVERIFIED in the output itself.
Inputs: task (required), workers (required), orchestrator (required), budget, +1 more.
run_pipelineRun a sequential AI pipelineA
Runs a sequential pipeline where each step is handled by a chosen AI provider, and each step's output feeds into the next step's input (accessible via {{input}} in promptTemplate).
Inputs: input (required), steps (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
The tools split clearly into discovery (list_providers, list_agents, list_models) and execution (run_pipeline, run_orchestrator, run_debate). Each tool targets a distinct resource or workflow style, so an agent is unlikely to select the wrong one.
All tool names follow a consistent verb_noun pattern: list_* for discovery operations and run_* for execution modes. This makes the tool surface predictable and easy to navigate.
Six tools is a well-scoped size for an AI collaboration server. The three list tools support the three run tools without unnecessary duplication or overwhelming sprawl.
The surface covers the full workflow: discovering available providers, agents, and model capabilities, then executing collaboration via pipeline, orchestrator, or debate. Configuration management appears intentionally out of scope rather than a missing capability.
Maintenance
Related MCP Connectors
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
- aXDeprecatedio.github.ax-platform
Agent-native collaboration network: orchestrate a team of long-running agents from any MCP client.
An MCP gateway for teams deploying AI tools at scale to employee-facing and headless agents.
A paid remote MCP for OpenAI Codex agent coordination MCP, built to return verdicts, receipts, usage
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables multi-model leader-worker agent orchestration, workflow execution, and deterministic validation via structured MCP tools.Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to delegate tasks to multiple local and cloud AI workers (Codex, Claude Code, DeepSeek, GLM, Gemini) with deterministic routing, concurrent batch execution, idempotent retries, and auditable traces.MIT
- AlicenseNot gradedqualityBmaintenanceEnables multi-agent AI collaboration by connecting Claude Code, OpenAI Codex, and Google Antigravity, providing cross-model code reviews, independent second opinions, and autonomous validation through MCP tools.1MIT
- AlicenseAqualityCmaintenanceEnables Claude to delegate bounded, isolated units of work to external LLMs such as Z.AI GLM or any OpenAI-compatible endpoint, running single or up to 16 concurrent workers in separate tool-less workspaces. Results come back through normalized MCP tools that list models, launch, poll, cancel, and clean up agents without exposing credentials or leaking worker output as instructions.81MIT