embodied-council-mcp
OfficialProvides tools to inspect a ROS 2 graph and TF frames, including nodes, QoS settings, and transforms, with configurable ROS distro, WSL distro, and DDS domain ID.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Embodied Council
Embodied Council 是面向机器人与具身智能研发的运动控制顾问团。本阶段交付可版本化的本地专家目录、灵巧手抓取力分析和反馈控制 Skill,以及实际会诊与仿真证据记录。完整的仿真、优化、学习和真机适配范围见架构规格。
Embodied Council maintains a versioned expert catalog for embodied robotics. The CLI and MCP tools share the same catalog. The first expert package covers quasi-static contact-force analysis for multifinger grasping.
当前公开的是开发快照。可用 list-capabilities 查看后端状态,架构规格也记录了后续计划。
安装与测试
使用 Python 3.11 或更新版本安装 MCP 与 MuJoCo 扩展。在仓库根目录的 PowerShell 中运行。
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e ".[mcp]"
.\.venv\Scripts\python.exe -m unittest discover -s tests -v只使用 CLI 或 Python API 时,Python 3.10 起可用,安装参数可改为 -e .。目录数据保存在调用方指定的 SQLite 文件。
Related MCP server: ThirdBrain skills-mcp
专家工具
embodied-council --db PATH 提供 create、update、publish、delete、restore、list、get、history。写操作接受稳定的请求 ID 和预期修订号,原请求重试返回同一回执。发布后的专家在删除时转为退役,历史版本可按修订号读取。发布所需的证据字段由本地维护者填写,经评审的记录与 Skill 一起保留。
用官方 MCP SDK 运行本地 stdio 服务器。连接器的 command 可设为虚拟环境内的 embodied-council-mcp 可执行文件,args 为 ["--db", "<数据库的绝对路径>"]。默认提供 list_experts、get_expert、get_expert_history。为需要维护目录的连接添加 --allow-writes,即可发现 apply_expert_change。目录查询可按能力标签筛选,宿主可以读取相应版本的 Skill 正文及引用文件。
导入首个专家 Skill
首个专家包整理了 Antonio Bicchi 的公开抓取研究,用于准静态接触力分配、抗滑、力封闭及执行器可调内力分析。Skill · 案例卡
在全新目录库中复现导入动作:
New-Item -ItemType Directory -Force .council | Out-Null
$catalog = ".council/expert-catalog.sqlite3"
$cli = ".\.venv\Scripts\embodied-council.exe"
& $cli --db $catalog create bicchi-grasp-control --request-id bicchi-s0-create --kind person --name "Antonio Bicchi · 多指抓取力分析" --capability dexterous-grasping --capability contact-control --skill-file experts/bicchi-grasp-control/SKILL.md
& $cli --db $catalog publish bicchi-grasp-control --request-id bicchi-s0-publish --expected-revision 1 --evidence experts/bicchi-grasp-control/SKILL.md
& $cli --db $catalog list --capability dexterous-grasping
& $cli --db $catalog get bicchi-grasp-control --revision 2get 返回正文和全部引用文件。发布记录保存 Skill 哈希,用于核对当时实际使用的版本。
导入反馈控制 Skill
女娲从 Åström 与 Murray 的公开教材提炼环路稳定性、采样时序、扰动通道与抗积分饱和方法。使用前一节的 $catalog 和 $cli,导入并激活通过验收的修订。 Skill · 案例卡
& $cli --db $catalog create astrom-murray-feedback-control --request-id astrom-murray-s0-create --kind topic --name "Åström / Murray · 反馈控制与时序诊断" --capability feedback-control --skill-file experts/astrom-murray-feedback-control/SKILL.md
& $cli --db $catalog publish astrom-murray-feedback-control --request-id astrom-murray-s0-publish --expected-revision 1 --evidence experts/astrom-murray-feedback-control/SKILL.md本地专家会诊
会诊按问题中的中英文能力词或显式标签选择活动专家,优先覆盖尚未匹配的能力。可以重复添加 --capability,或用 --expert-id 点名一位或多位专家。记录包含入选原因、未覆盖能力、专家及依赖的固定修订号、Skill 哈希和来源。
导入两个 Skill 后,下面的夹持问题会同时匹配抓取和反馈控制。宿主可以分别分析接触力余量和样本到执行的时序。
在已导入专家的项目根目录发起会诊。用同一个 --request-id 重试相同请求时会读回原记录,换一个 ID 可运行新实验。
$councilOptions = @(
'--db', '.council/expert-catalog.sqlite3',
'--consultations-db', '.council/consultations.sqlite3',
'--mujoco-runs', '.council/experiments/council-grasp-slip/runs'
)
& ./.venv/Scripts/python.exe -m embodied_council @councilOptions convene-council '双指夹持滑移是摩擦不足还是反馈延迟?' --request-id grasp-council-01 --validation autoMCP 服务使用同样的启动参数开放 convene_council、get_consultation 和 record_consultation_review。--consultations-db 控制本地会诊记录,目录维护仍由 --allow-writes 单独控制。Python 可直接调用 embodied_council.Council。
默认只做选人和留存。显式要求 validation="auto" 时,当前路由可为匹配的夹持滑移问题运行项目内置的合成 MuJoCo 基准,记录三个工况、指标、证据 ID 和产物哈希。客户端用 get_expert 读取固定修订的 Skill,综合方法、实测与分歧,再提交结论及其证据 ID。CLI 可用 get-consultation 读取记录,或用 record-consultation-review <id> --review-file <本地JSON> 保存分析。JSON 需要 model、summary、claims,可带 next_observations。
会诊记录把来源线索、仿真证据和宿主分析分别标注。当前推理由交互式客户端主持。若进程异常退出,已登记的运行保留原状态,同一请求 ID 仍用于查询原记录。
会诊反馈与本地 Darwin 对照
启用会诊后,再指定 --darwin-workdir 与本机上游 scripts/darwin.py 的路径 --darwin-script。MCP 提供 record_expert_feedback、prepare_darwin_candidate 和 get_darwin_candidate。CLI 使用对应连字符命令,并支持重复 --claim 参数。
每条反馈选择已保存评审中的一位专家和归属于该专家的主张编号,从 1 起计。相同反馈复用原回执。候选绑定反馈、父修订、包摘要和预先固定的测试计划哈希,对精确命中的方法小节添加单段说明。旧版和候选分别存为本地快照,Darwin 结构检查的硬错误会阻止候选写入。候选评估使用独立目录,登记、生成和对照均无需目录发布权限。
本地对照入口是 evaluations/darwin-feedback/run_local.py。为具体轮次准备会诊反馈、计划及模型来源清单后,用 --workspace 指定本机目录、以 --endpoint http://127.0.0.1:端口 连接本地 llama.cpp。脚本保留裸跑、旧版和候选的实际产出,使用上游 Darwin 盲配和计票,按预登记的客观字段确认回归和留出结果。对照结果交给维护者审查,活动版本的更新使用独立目录操作。
轮次配置可用 proposed_addition 传入经本地排查选定的单段修订,继续由 MCP 创建并校验候选。设置 require_all_dev_critical 为 true 后,候选须在每道开发题上答对所有关键字段,并通过 Darwin 开发集裁决,才能执行留出集。开发集放行记录会在调用留出集前保存。
结构化反馈时序复核
只读 MCP 工具 diagnose_feedback_timing 接收两组事件日志。各组提供命令、命令关联的采样以及可选的实测响应,时间戳使用整数毫秒。跨时钟计算需要已验证的公共参考偏移。工具按命令关联计算样本年龄,分别判断发令等待能否对照,以及是否有可归属的实测执行响应。它在新命令的时钟中报告首次可验证的生效时刻,并用同一个结果生成诊断文字。
evaluations/darwin-feedback/run_timing.py 使用相同的原始记录比较目录版本、当前候选和调用此工具的候选。它用客观字段与文字一致性统一判分,并先保存开发集放行记录,再读取单独冻结的留出文件。
本地模型宿主在 timing_host.py 分开处理请求意图和附件。第一步根据用户问句判断是解释概念、说明证据缺口,还是诊断具体记录。只有具体诊断且已有一对结构化记录时,模型才看到时序工具和记录编号。混合请求从原文提取日志子任务,工具选择阶段使用 tool_choice: auto。模型选中有效编号后,宿主把原始记录交给 MCP。evaluations/darwin-feedback/validate_wuji_timing.py 按保存的本地轮次配置验证这条路径,并复核新跑的 Wuji 仿真。
能力发现与 ROS 2 诊断
用 list-capabilities 查看架构中规划的提供者,用 probe-backend 测当前环境。MCP 与 Python API 共用这份清单和探测逻辑。planned 表示适配器待实现,contract_passed 表示本次环境检查通过。
& ./.venv/Scripts/python.exe -m embodied_council list-capabilities
& ./.venv/Scripts/python.exe -m embodied_council probe-backend mujoco
$ros = @('--ros2-distro', 'humble', '--ros2-wsl-distro', 'Ubuntu-22.04', '--ros2-domain-id', '87')
& ./.venv/Scripts/python.exe -m embodied_council @ros probe-backend ros2
& ./.venv/Scripts/python.exe -m embodied_council @ros inspect-ros-graph --discovery-seconds 1.5在 embodied_council.mcp_server 的启动参数里也可添加同一组 ROS 选项,以启用 inspect_ros_graph 和 inspect_frames。原生 Linux 传入 ROS 发行版与 DDS 域即可。ROS 工作进程查询同一 DDS 域内可发现的本机节点。TF 查询使用最新可用变换,参数顺序为 target_frame source_frame,返回平移(m)、四元数(xyzw)和消息时间戳。异名 frame 的查询超时会返回 missing。同名 frame 遵循 TF2 的单位变换语义。
图中 QoS 保留 RMW 报告的可靠性、持久性、历史策略、深度、截止期、存活性、租约时长与消息有效期。中间件无法报告的历史深度为 null。
Gazebo 轨迹执行与 MCAP 回放
Humble 需要本地安装 ros-humble-ros2-control、ros-humble-ros2-controllers、ros-humble-gz-ros2-control 和 ros-humble-rosbag2-storage-mcap,并提供 Fortress、ros_gz_sim、ros_gz_bridge 和 robot_state_publisher。用 probe_backend 查询 gazebo 的运行环境。
在上方 MCP 启动参数的基础上加 --gazebo-runs .council/experiments/gazebo-trajectory-mcap/runs,即可使用 run_gazebo_trajectory_experiment。工具接受 target_rad 和 duration_s,执行内置单轴模型的有界轨迹。仿真使用本机 DDS 域 91,回放使用域 92,两个域启动前都要求空闲。返回运行清单与本地目录,其中包含 MCAP、模型、控制器参数和录制与回放轨迹。
MATLAB 与 Simulink 二连杆仿真
使用已安装的 MathWorks MATLAB MCP Server 和 Simulink Agentic Toolkit。指定 --matlab-mcp-exe 和 --matlab-mcp-extension,顾问团用 existing 模式连接已共享的 MATLAB 桌面会话。运行目录由 --matlab-runs 指定,固定的 Drake v1.47.0 模型文件与许可证由 --matlab-model-dir 指定。工具 run_matlab_two_link_experiment 会在本地生成模型,执行解析建模核对、Simulink 跟踪及 MATLAB 求解器对照。 MathWorks MCP 连接说明 · 固定模型
MuJoCo 双指夹持实验
在 Python 3.11+ 环境安装 .[mcp,mujoco],并给 MCP 服务添加 --mujoco-runs <运行目录>。通过 probe_mujoco 查看版本和实验参数,通过 run_grasp_slip_experiment 运行无界面仿真。内置的合成场景可比较基线、低摩擦和位移反馈延迟三组工况。仿真结果写入调用方指定的本地运行目录。
加入 --mujoco-urdf-root <模型目录> 可检查调用方提供的 URDF 包。配置 --mujoco-runs <运行目录> 和 --mujoco-urdf-profile <本地配置文件> 后,MCP 提供基于 URDF 指尖网格的导轨夹持实验。模型、网格和本地配置由调用方管理。
许可证与资料来源
本项目编写的代码、测试、文档、Skill 和合成示例采用 Apache-2.0。专家姓名用于标注公开方法的来源。运行所需的外部软件、模型和参考文献适用各自条款。 Apache-2.0 · 第三方来源与许可
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only catalog of agent skills, plugins and MCP servers, with agreement against human experts.
Discover and inspect public Runx skills before installing them. This read-only hosted MCP exposes search_skills and get_skill. The Apache-2.0 Rust runtime executes skills locally with scoped authority, approval gates and signed receipts. Docs: https://runx.ai/docs/mcp.
Search and inspect source-pinned agent skills, plugins and tools through a free public MCP.
Search and read the aicoolies catalog of AI and developer tools via a remote MCP knowledge graph.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables managing local repositories, CLIs, MCP servers, and skills via MCP tools, with inventory tracking, guarded updates, and Docker-sandboxed trials.MIT
- AlicenseAqualityBmaintenanceEnables MCP hosts to discover, browse, and load Agent Skills from one or many SKILL.md libraries over the Model Context Protocol, with namespaced libraries, search/list/get tools, progressive disclosure, and a digest-verified pull client for syncing skills to disk.71MIT
- AlicenseBqualityBmaintenanceEnables read-only access to a local-first catalog of portable agent skills, exposing tools to discover ranked matches, inspect stored artifacts, traverse declared relationships, and view configuration.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables LLM agents to search, inspect, inscribe, hone, and maintain a versioned library of learned procedures stored as Git-committed SKILL.md files with SQLite metadata and filesystem content. It also supports dropping observation notes, managing drafts, scouting external skills, and running catalogue health passes through intent-shaped tools that return structured results with next-step hints.217 npm2MIT