Skip to main content
Glama

🏛️ 圆桌 MCP (roundtable-mcp)

基于角色的混合多模型编排 MCP 服务器

roundtable-mcp 是一个开源的模型上下文协议(MCP)服务器,它编排一组专业 AI 模型——将本地零成本模型(通过 Ollama)与云端 API(Anthropic Claude、Google Gemini、OpenAI、DeepSeek 等)相结合。

与对通用答案进行投票不同,Roundtable 为每个模型分配不同的专家角色(架构师、实现工程师、叙事专家、系统重构专家、深度推理专家),并将它们的见解综合成统一顾问委员会报告。


✨ 主要特性

  • 基于角色的面板:每个模型从指定的领域视角出发,而非提供通用的重复回答。

  • 混合执行:无缝混合本地模型(Ollama Gemma 4、Qwen Coder、Llama 3)与云端 API(Claude 3.7/4.6、Gemini 3.5、DeepSeek R1、GPT-4o)。

  • 并行扇出run_roundtable 使用 Promise.allSettled() 并行查询所有活跃面板模型,实现快速执行和高容错性。

  • 配置驱动:随时通过编辑 config.json 添加或调整模型,无需修改代码。

  • 跨平台 MCP:原生兼容 Claude CodeCursorWindsurfAntigravityOpenCodeVS Code


Related MCP server: Councly MCP Server

📦 快速开始

1. 安装

git clone https://github.com/YOUR_USERNAME/roundtable-mcp.git
cd roundtable-mcp
npm install
npm run build

2. 配置

config.example.json 复制为 config.json

cp config.example.json config.json

为云模型设置所需的环境变量:

export ANTHROPIC_API_KEY="sk-ant-..."
export DEEPSEEK_API_KEY="sk-..."
export OPENAI_API_KEY="sk-..."
export GEMINI_API_KEY="AIzaSy..."

🛠️ MCP 工具参考

工具名称

描述

run_roundtable

在所有启用的 Roundtable 专家上并行运行提示,并输出结构化的顾问委员会报告。如果启用,自动记录到 Obsidian。

route_prompt

将提示路由到特定专家模型,或根据关键词触发自动检测("gemma""claude""deepseek""gpt")。

list_roundtable_models

列出所有注册的专家模型、它们的角色以及当前提供商状态。

list_preset_roles

列出内置预设角色(QA 测试员、CI/CD 工程师、安全审计员、数据库架构师等)。

search_obsidian_memory

在 Obsidian Vault 中搜索过往 Roundtable 会话笔记,获取相关上下文片段。

save_to_obsidian

手动或自动将自定义笔记和会话直接记录到 Obsidian Vault。


📋 预置角色目录(role_preset

无需编写自定义角色描述,您可以在 config.json 中通过 "role_preset" 使用内置预设键:

  • qa_tester:QA 与边界案例测试专家

  • cicd_engineer:DevOps 与 CI/CD 流水线专家

  • security_auditor:网络安全与漏洞审计员

  • database_architect:数据库架构师与查询优化专家

  • architect:首席系统架构师与编排者

  • performance_tuner:底层性能与重构专家

  • frontend_ux:前端与 UI/UX 无障碍专家

  • game_engineer:游戏引擎与机制专家

  • tech_writer:技术文档与 API 编写专家

{
  "id": "claude-qa",
  "name": "Claude Sonnet 4.6",
  "role_preset": "qa_tester",
  "provider": "anthropic",
  "model": "claude-3-7-sonnet-20250219",
  "enabled": true
}

🎯 为模型分配专业技能(skill

是的!您可以根据每个模型的角色,为其分配特定的领域技能指南、编码标准或检查清单

config.json 中使用 "skill"(或 "skill_prompt")属性,将自定义指令注入到该模型的系统提示中:

{
  "id": "gemma-godot",
  "name": "Gemma 4 (Local)",
  "role": "GDScript Implementation Specialist",
  "skill": "Follow Godot 4 GDScript standards: strict static typing, signal decoupling, and node path verification.",
  "provider": "ollama",
  "endpoint": "http://localhost:11434/api/generate",
  "model": "gemma4-26b-128k:latest",
  "enabled": true
}

📓 Obsidian Vault 集成(长期记忆)

roundtable-mcp 直接连接到您的本地 Obsidian Vault,自动记录会话笔记并提供跨会话的持久记忆——即使对于上下文窗口较小的本地模型也是如此!

config.json 中的配置:

{
  "obsidian": {
    "enabled": true,
    "vault_path": "C:/Users/yourname/Documents/ObsidianVault",
    "folder": "Roundtable/Sessions",
    "auto_save": true,
    "max_context_notes": 3
  }
}
  • 自动记录会话:每个 run_roundtable 会话都会格式化为干净的 Markdown 笔记,包含元数据、日期和标签(#roundtable #council #gemma #claude)。

  • 记忆检索:使用 search_obsidian_memory 获取紧凑的过去笔记片段,使上下文窗口较小的模型也能保持信息同步,避免上下文溢出!


🔧 与 AI 编码平台集成

Claude Code / Claude Desktop / Antigravity / OpenCode

roundtable-mcp 添加到您的 MCP 配置文件(mcpServers 部分):

{
  "mcpServers": {
    "roundtable": {
      "command": "node",
      "args": ["/path/to/roundtable-mcp/dist/index.js"],
      "env": {
        "ANTHROPIC_API_KEY": "sk-ant-...",
        "DEEPSEEK_API_KEY": "sk-...",
        "OPENAI_API_KEY": "sk-...",
        "GEMINI_API_KEY": "AIzaSy..."
      }
    }
  }
}

⚙️ 向 config.json 添加新模型

您可以轻松添加任何兼容 OpenAI 的提供商(DeepSeek、Groq、Together AI、Mistral、LM Studio、vLLM):

{
  "id": "qwen-coder-local",
  "name": "Qwen 2.5 Coder (Local)",
  "role": "Low-Level Shader & GPU Optimization Specialist",
  "provider": "ollama",
  "endpoint": "http://localhost:11434/api/generate",
  "model": "qwen2.5-coder:32b",
  "enabled": true
}

💡 完全免费的多模型栈示例

您可以通过结合本地 Ollama 模型和免费云端 API 层级(GitHub Models、Google AI Studio、Groq),完全免费运行一个完整的多模型 Roundtable 设置:

{
  "models": [
    {
      "id": "gpt4o-free",
      "name": "GPT-4o (GitHub Free)",
      "role": "Systems Performance & Refactoring Specialist",
      "provider": "openai-compatible",
      "endpoint": "https://models.github.ai/inference/chat/completions",
      "model": "gpt-4o",
      "api_key_env": "GITHUB_TOKEN",
      "enabled": true
    },
    {
      "id": "gemini-free",
      "name": "Gemini 2.5 Flash (Google Free)",
      "role": "Lead Architect & Synthesizer",
      "provider": "google",
      "model": "gemini-2.5-flash",
      "api_key_env": "GEMINI_API_KEY",
      "enabled": true
    },
    {
      "id": "gemma-local",
      "name": "Gemma 4 (Local Ollama)",
      "role": "Primary Implementation Engineer",
      "provider": "ollama",
      "endpoint": "http://localhost:11434/api/generate",
      "model": "gemma4-26b-128k:latest",
      "enabled": true
    },
    {
      "id": "deepseek-free",
      "name": "DeepSeek R1 (Groq Free)",
      "role": "Deep Reasoning & Math Specialist",
      "provider": "openai-compatible",
      "endpoint": "https://api.groq.com/openai/v1/chat/completions",
      "model": "deepseek-r1-distill-llama-70b",
      "api_key_env": "GROQ_API_KEY",
      "enabled": true
    }
  ]
}

📄 许可证

MIT 许可证。欢迎使用、修改和分发!

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Build, validate, and deploy multi-agent AI solutions from any AI environment.

  • Enterprise AI Control Plane: governance, guardrails, spend tracking, compliance & smart routing.

  • Deliberation + live 5-model council divergence over the Omnarai multi-AI attributed corpus.

View all MCP Connectors

Latest Blog Posts

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/hardc0l2e/roundtable-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server