Skip to main content
Glama

VetoBoard MCP (vetoboard-mcp)

TIP

核心机制与模型省配铁律(必看):

  • 用时间与结构化 Token 换取推理准确性:VetoBoard 的本质是通过「多角色并发联网取证 + 共享白板交叉质询 + ELECTRE/QMV 数学支配裁决 + vetoboard_calc 0.5% 容差独立复算」,以一定的执行时间与多轮 Token 消耗为代价,降低单模型顺从迎合与心算幻觉,换取高可靠决策结论。

  • 全员上顶级旗舰模型纯属浪费!强烈推荐 Flash 等轻量模型:架构自带白板互审与确定性代码算账兜底,给所有专员席位堆砌昂贵的旗舰模型(如全员 Claude Opus / GPT-5)纯属浪费额度与时间。日常主力席位强烈优先选用 Gemini Flash、DeepSeek-V3、Claude Haiku / Sonnet 等高速高性价比模型(最多仅给殿后的「独立铁面督察官」配一个异构推理模型把关),即可省下 70%–85% 额度且核账精度丝毫不减!


📦 一、安装教程 (Installation)

⭐ 方式 1:复制一句话发给智能体自动安装(最推荐 · 全程零手动)

无需自己打开终端敲命令,直接把下面这段话复制粘贴进 Antigravity / Claude Code / Cursor / Codex / Hermes / T3 Code 的对话框中发送,让 AI 自动帮你装好:

帮我安装 https://github.com/sanzi8/vetoboard-mcp :请下载最新 Release 中的 vetoboard-mcp-v1.5.1.zip 解压到本地固定目录(如 ~/.vetoboard-mcp/runtime),然后在该目录执行 node ./dist/cli.js init --local-bin 完成全自动安装配置。

智能体执行完毕后,在客户端点击一次 MCP Servers > Refresh(Antigravity 首次安装可在 Customizations 页面确认开启 vetoboard-mcp)即可立即使用!

方式 2:手动下载 Release 免编译整合包安装

  1. 前往本仓库的 Releases 页面,下载最新的 vetoboard-mcp-v1.5.1.zip 并解压到本地任意固定文件夹(如 D:\tools\vetoboard-mcp)。

  2. 在解压后的文件夹内打开终端(PowerShell / Terminal),运行以下一行命令:

    node ./dist/cli.js init --local-bin
  3. 安装器会自动扫描你电脑上已安装的 Antigravity、Claude Code、Cursor、OpenAI Codex、Hermes Agent、OpenCode / T3 Code,非破坏性地一键装齐:

    • MCP 核心服务(含 13 个治理工具与跨厂商 JSON Schema 兼容层)

    • 常驻护栏规则 (AGENTS.md) + /vetoboard 快捷唤醒命令

    • 16 大双语专业角色库 + 27 个纯文本治理技能包(自动对已有自定义技能做防覆盖保护)

  4. 回到客户端点击一次 MCP Servers > Refresh 即可生效。

方式 3:通过 Git 克隆源码安装 / 手动指定平台

git clone https://github.com/sanzi8/vetoboard-mcp.git
cd vetoboard-mcp
pnpm install && pnpm run build
node ./dist/cli.js init --local-bin

(后续若有新版本,直接在对话框说一句 「更新 VetoBoard」 或运行 node ./dist/cli.js update 即可自动安全升级;若仅需针对特定工具或跳过扩展技能包,可附加 --target claude,codex,t3code 或 --no-pack-skills。)

Claude Code (~/.claude.json) / Cursor (~/.cursor/mcp.json) / Antigravity (mcp_config.json)

{
  "mcpServers": {
    "vetoboard": {
      "command": "node",
      "args": ["/绝对路径/vetoboard-mcp/dist/cli.js", "--lang", "auto"]
    }
  }
}

OpenAI Codex CLI (~/.codex/config.toml)

[mcp_servers.vetoboard]
command = "node"
args = ["/绝对路径/vetoboard-mcp/dist/cli.js", "--lang", "auto"]

Nous Research Hermes Agent + DeepSeek (~/.hermes/config.yaml)

mcp_servers:
  vetoboard:
    command: "node"
    args:
      - "/绝对路径/vetoboard-mcp/dist/cli.js"
      - "--lang"
      - "auto"

OpenCode / T3 Code (~/.config/opencode/opencode.json)

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "vetoboard": {
      "type": "local",
      "command": ["node", "/绝对路径/vetoboard-mcp/dist/cli.js", "--lang", "auto"],
      "enabled": true
    }
  }
}

Related MCP server: LLM Council MCP

🚀 二、保姆级图文使用教程 (Step-by-Step Usage Guide)

IMPORTANT

核心前提(必看):vetoboard-mcp 默认采用 host-subscription(宿主订阅直驱模式)——100% 复用你当前 IDE 自身的模型额度,无需配置任何第三方 API Key,额外算力费用为 $0!同时战前选模型、改权重、加角色全程在普通聊天流中用大白话完成,绝不弹窗遮挡表格。

VetoBoard 在 Antigravity 三分栏共享白板与 Swarm 实时协同动态演示


第 1 步:输入 /vetoboard 唤起战前推荐阵容与异构模型选配单

在对话框中直接输入 /vetoboard 加上你的商业立项构想或软件架构任务,例如:

/vetoboard 对我们拟立项的 SaaS 云端商业计划进行全维度残酷证伪、合规排雷与单位经济精算

系统会自动完成三大本地资产库(角色库 · 原生技能库 · 历史实战知识卡)检索,拉取你当前客户端的完整可用模型与剩余配额,打印出清晰的 6 列战前推荐阵容表。


第 2 步:回复「开跑」(或一句话自由换模型 / 调权重 / 加专员)

  • 直接采用推荐配置:回复 开跑(或 只留前 2 个角色开跑);

  • 自由混编模型与增减专员(推荐主力用 Flash 省额度):直接说人话即可,例如:

    全部专员用 Gemini Flash,督察用 Claude Sonnet,再加一个财务与人效 ROI 专员,开跑

  • 随后委员会将自动执行 4 步闭环:

    1. 并发联网摸底贴白板 (board_post):各专员在严格搜索配额内先调用 search_web 抓取真实市场现价、现行法规与通道费率(连续 2 次无果自动标 [ASSUMPTION] 止损防死循环);

    2. 阅板留痕与运筹学数学裁决 (board_review):通过 ELECTRE + 欧盟 QMV 双重多数模型(焦点支配率 D ≥ 60%/65% · 全场和谐度 C ≥ 66.7% · 席位线 ≥ 50%)结合非补偿性硬死穴一票否决(实测负毛利、编译报错、法规禁止)锁定共识参数,最多 2 轮零变化自动早停,拒绝无休止群聊消耗 Token;

    3. 100% 满并发撰写底稿 (deliverable):全员对齐锁板口径并发输出深度底稿或代码;

    4. 独立只读铁面督察核账 ([V1]):跨家族督察模型调用确定性算术引擎 vetoboard_calc (mode='reconcile') 按 0.5% 容差逐项复算上游公式,拦截心算编造数字。


第 3 步:查阅工作区三件套溯源报告 & 一句话沉淀可复用资产

审理完成后,系统会自动在当前工作区导出 3 份 Markdown 终局文件 并自动退出多角色模式回到普通对话:

  • *-briefing.md:带 [[S1·§2]](#ref-s1-sec2) 与 [[V1]](#ref-v1) 可点击页内跳转溯源角标的第一性原理统帅终审报告;

  • *-report.md:包含完整白板交锋链、复算回执与全部专员底稿的总卷;

  • *-original-report.md:一字不删的 100% 专员原始底稿存档。

同时你只需在对话末尾回复一句 存为技能、存为角色 或 存为项目模板,即可将本次实战经验自动提炼入库并同步至本机各大 IDE!


🧩 三、内置资产矩阵:16 大双语角色 + 27 个治理技能 (Built-in Arsenal)

安装 vetoboard-mcp 即开箱自带完整商业证伪与 Google 7-Gate 软件工程研发治理弹药库:

领域分类

内置标准角色 (roleId · 默认权重)

自动联动的核心纯文本技能包(共 27 个)

商业证伪与增长精算

market-analyst (市场与重置天花板·95) · profit-modeler (单位经济精算·92) · plg-growth-strategist (开源 PLG 增长·93) · hr-roi-analyst (财务与人效 ROI·92) · product-strategist (产品战略与 PRD·90) · operations-sop (流程交付与 SOP·78)

product-manager-toolkit, content-research-writer, brainstorming, grilling, grill-with-docs, discernment-nudge

法律合规与系统风控

legal-advisor (合规与法律护栏官·85) · risk-assessor (业务韧性风控官·85) · saas-billing-architect (SaaS 多租户计费与防刷架构师·88) · task-delegation-advisor (任务拆解委派顾问·76)

contract-review, security-audit, domain-modeling, delegating-work, caveman

Google 7-Gate 软件工程

software-architect (7-Gate 架构契约师·95) · backend-engineer (后端与密封单测专员·90) · frontend-engineer (Google M3 四态前端专员·88) · code-reviewer (Critique 只读代码审查官·86)

karpathy-guidelines, writing-plans, improve-codebase-architecture, investigate-first, systematic-debugging, surgical-patch, frontend-design, agent-product-design, chrome-extensions, mcp-builder, requesting-code-review, receiving-code-review, caveman-review, delivery-check

殿后独立只读核验

quality-inspector (独立只读铁面督察官·85)

verification-before-completion, verify-and-stop, vetoboard_calc


❓ 四、常见问题与避坑指南 (FAQ & Troubleshooting)

Q1: 为什么不需要把所有专员席位都分配成最贵的旗舰模型(如全员 Opus)?

  • 原因:VetoBoard 的「共享白板交叉质询 + ELECTRE/QMV 数学投票 + vetoboard_calc 0.5% 确定性复算」在架构层提供了强纠错护栏。实测只需给 1 个主审角色 + 1 个跨家族铁面督察官分配强推理模型,其余席位使用轻量高速模型(如 Flash / Sonnet / DeepSeek-V3),即可省下 70%+ 额度且核账精度丝毫不降。

Q2: DeepSeek API / Hermes Agent / OpenAI Codex 对工具 JSON Schema 校验极严,会报 HTTP 400 吗?

  • 不会:zod@4 默认生成的 propertyNames、$schema 与 anyOf 确实会导致 DeepSeek 与 OpenAI 严格模式报 400;vetoboard-mcp 在底层内置了 schemaCompat.ts 实时线级净化器,且对外接 o3/gpt-5/deepseek-reasoner 等推理模型自动豁免 temperature 参数,已通过全量 13 工具跨厂商实测。

Q3: Windows 电脑上 Claude Code 报 npx 无法启动或 /doctor 提示缺少 cmd /c 怎么办?

  • 使用本项目的 init 安装器即可自动免疫:源码/Release 包模式会自动绑定原生 node 可执行文件绝对路径;npx 模式在 Windows 下会自动生成 "command": "cmd", "args": ["/c", "npx", ...] 标准包装。

Q4: 报告末尾的「方法 A 社区资产共享」会上传我的本地代码或商业隐私吗?

  • 绝对不会静默上传:调用 vetoboard_contribute_asset 时强制先在本地执行正则脱敏(自动剥离路径、API Key、邮箱与内网 IP)并展示 preview 预览单,明确告知仅用于项目升级或体验优化,且凭本地回执单号支持随时 100% 一键撤回 (withdraw)。


✨ 五、技术原理与工作流 (Architecture & Workflow)

sequenceDiagram
    participant U as 用户 (IDE 对话框)
    participant C as 宿主主控 Agent (@coordinator)
    participant W as 并发专员组 (持久会话 / 异构模型)
    participant V as VetoBoard MCP 数学治理引擎
    participant I as 跨家族只读铁面督察官

    U->>C: 1. 输入 /vetoboard + 商业/研发目标
    C->>V: vetoboard_plan_lineup (检索角色/技能/知识卡 + 聚合本机模型配额)
    V-->>U: 渲染 6 列战前阵容准备单(零弹窗,普通对话确认)
    U->>C: 2. 回复「开跑」(或自然语言换模型/改权重/加专员)
    C->>V: vetoboard_start_council (锁定快照与白板契约)
    par 步骤 W1: 100% 并发联网取证贴白板
        C->>W: 分发专员宪章 + 已挂载专业技能
        W->>W: search_web 抓真实价格/法规/文档 URL (配额封顶防死循环)
        W-->>V: vetoboard_submit_track_output (stage="board_post", variables)
    end
    C->>W: 步骤 W2: 广播公开白板,全员核对留痕 (approve / conditional / oppose)
    W-->>V: vetoboard_submit_track_output (stage="board_review")
    V->>V: 运行 ELECTRE + QMV 支配裁决 (D>=60%/65%, C>=66.7%, Hard Veto 死穴锁)
    par 步骤 W3: 白板锁死后 100% 满并发撰写底稿
        C->>W: 唤醒专员对齐锁板变量并发定稿 + vetoboard_calc 算账
        W-->>V: vetoboard_submit_track_output (stage="deliverable")
    end
    C->>I: 步骤 W4: 启动跨家族只读督察复核全卷
    I->>V: vetoboard_calc (mode="reconcile", 0.5% 容差逐项复算)
    I-->>V: 提交带 [[Sx·§y]] 与 [[V1]] 角标的统帅终审简报
    V-->>U: 导出工作区三件套 (.md) + 自动沉淀实战知识卡 + 干净退回普通对话

📁 六、目录结构 (Project Structure)

vetoboard-mcp/
├── assets/
│   └── vetoboard-antigravity-demo.svg
├── packs/
│   └── starter-governance.vetoboard-pack.json
├── skills/
├── scripts/
│   └── smoke-llm-compat.mjs
├── src/
│   ├── cli.ts
│   ├── index.ts
│   ├── core/
│   │   ├── whiteboardEngine.ts
│   │   ├── borgQuotaPool.ts
│   │   ├── quantitativeCalc.ts
│   │   ├── roleCatalog.ts
│   │   ├── skillRadar.ts
│   │   ├── hostInstaller.ts
│   │   ├── citedBriefing.ts
│   │   ├── skillDistiller.ts
│   │   └── assetContribution.ts
│   └── mcp/
│       ├── server.ts
│       ├── schemaCompat.ts
│       └── httpServer.ts
├── test/
├── LICENSE
├── NOTICE
├── README.md
└── README.en.md

🛠️ 本地开发与测试 (Development)

pnpm install
pnpm run build
pnpm test
pnpm run smoke:llm

📄 License

Released under the Apache License 2.0.

Available Tools

13 tools
vetoboard_audit_outputVetoBoard Deterministic & Heterogeneous AuditorB

Audit a code diff or specialist deliverable against deterministic ExecutableRules, premise-reversal guards, and (when BYOK/Cloud is configured) a cross-model adversarial inspector.

Inputs: goal (required), outputText (required), lang, rules, +9 more.

vetoboard_calcVetoBoard Deterministic Math & ReconcileC

Zero-hallucination deterministic math, unit-economics (BEP/margin/sensitivity), weighted_score ranking, and independent inspector 'reconcile' engine. Always use this instead of mental math.

Inputs: mode (required), lang, checks, taskId, +14 more.

vetoboard_clarify_routesVetoBoard Diverge-Then-Converge Route ClarifierB

Diverge-then-converge strategic pre-flight: generates 4 differentiated candidate routes (buyer logic, entry barrier, compliance redline) for open-ended goals without locking prematurely, and anchors concrete target categories.

Inputs: goal (required), lang, constraints, expectedOutcome.

vetoboard_compress_memorialVetoBoard Structured Memorial CompressorB

Compress long upstream markdown reports (15k-40k+ chars) by 75%-90% at 0 token cost into a <workflow_memorial_card> preserving all section Read(offset, limit) coordinates, table schemas, and key numbers/redlines.

Inputs: label (required), markdown (required), lang, detailTier, +2 more.

vetoboard_contribute_assetVetoBoard Method A Asset Contribution & WithdrawalA

Contribute a standardized Role, Skill, or Project Council Pack (pack) via Method A (privacy-scrubbed GitHub Issue/PR bundle) or withdraw a previous contribution. Enforces mandatory transparency: informs the user it will be collected into the VetoBoard library SOLELY for project upgrades/optimization, and can be withdrawn at any time.

Inputs: lang, action, reason, assetId, +7 more.

vetoboard_distill_skillVetoBoard Multi-Target Asset Distiller (Skill / Role / Rule / Project Pack)B

Autonomously distill a completed/active VetoBoard task (or structured SOP & pitfalls) into any combination of standardized cross-agent assets: skill (SKILL.md + optional host IDE sync), role (RoleTemplate JSON + .md agent), rule (idempotent guardrail rule .md), and project-pack (.vetoboard-pack.json full council lineup & model template).

Inputs: lang, scope, title, taskId, +13 more.

vetoboard_get_role_charterVetoBoard Weighted Role CharterB

Fetch weighted specialist & adversarial inspector role charters (Primary 95 / Guardrail 85 / Support 75 / 7-Gate SWE) in English or Chinese.

Inputs: lang, roleId.

vetoboard_plan_lineupVetoBoard Pre-Flight Role, Model & Native Skill BenchB

Scan native skills across the host IDE & workspace, auto-tune Primary Lead weights for the goal, and emit 3 interactive ask_question cards (1: Primary Leads, 2: Active Roles + Spawn New Specialist Roles from Native Skills, 3: Skill Mounting per Role).

Inputs: goal (required), lang, domain, roleIds, +8 more.

vetoboard_self_updateVetoBoard Version Check & 1-Click Self-UpdaterA

Check for a newer vetoboard-mcp release or automatically pull & rebuild the latest version (supports both Git clone installs with dirty-tree protection and global npm installs). Call with action: 'apply' when the user says '更新 VetoBoard' / 'Update VetoBoard'.

Inputs: lang, action, dryRun, repoDirOverride, +1 more.

vetoboard_start_councilVetoBoard Start Multi-Role CouncilB

Initialize a session-isolated multi-role council task. By default (lineupConfirmed=false), returns an interactive Role + Native-Skill Selection Bench so the user can choose Primary Leads, active roles, and native-skill specialists via ask_question before execution starts. Pass lineupConfirmed=true once confirmed.

Inputs: goal (required), lang, domain, roleIds, +28 more.

vetoboard_submit_track_outputVetoBoard Submit Track Clash or DeliverableB

Submit a specialist's Public Whiteboard post (stage='board_post'), ELECTRE+QMV review & dynamic dimension reaction (stage='board_review'), classic clash turn (stage='round1'|'round2'), or full parallel deliverable (stage='deliverable', default). Automatically arbitrates shared baseline contracts, runs Rule Gate, signs the 3-file workspace report bundle, distills verified conclusions into the Knowledge Base, and exits cleanly to normal chat.

Inputs: taskId (required), trackId (required), stage, stance, +21 more.

vetoboard_task_statusVetoBoard Task Status & Progress TreeC

Inspect the live docker-build style multi-track progress tree, Catch Ticker, and final dual-layer cited report for an isolated taskId.

Inputs: taskId (required), includeReport.

vetoboard_update_councilVetoBoard Live Update Council Weights & TracksB

Modify an active council task mid-flight: promote/switch Primary Leads, adjust 10-100 role weights, skip/drop unwanted tracks, or inject new custom specialist tracks on the fly.

Inputs: taskId (required), reason, workspaceDir, tierOverrides, +10 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 13 tools

    Disambiguation4/5

    Most tools have clearly distinct verbs and resources: submitting track output, auditing output, deterministic calc, distilling skills, compressing reports, and self-updating are hard to confuse. The only real overlap is the pre-flight trio (clarify_routes, plan_lineup, start_council), which all deal with lineup/route setup, but the descriptions differentiate them adequately.

    Naming Consistency4/5

    All names share the vetoboard_ prefix and mostly follow a predictable verb_noun snake_case pattern (submit_track_output, audit_output, distill_skill, compress_memorial). Minor deviations like the bare noun/verb 'calc' and noun-phrase names 'task_status' and 'get_role_charter' break the pattern slightly but remain readable and unambiguous.

    Tool Count5/5

    13 tools is well within the sweet spot for a multi-stage council orchestration platform, and each tool maps to a distinct lifecycle stage (clarify, plan, start, update, submit, audit, status, distill). Even the peripherals (self_update, compress_memorial, get_role_charter) are scoped utilities rather than filler.

    Completeness3/5

    The core lifecycle (clarify → plan → start → update → submit → audit → distill) is covered, but there is no way to enumerate existing tasks/sessions or cancel/abort a running council, and task_status requires a taskId that must be obtained elsewhere. Asset workflows support contribution but not listing or retrieving the shared library, leaving notable dead ends.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers