Global-MCP-Server
Global-MCP-Server
Trae 全局 MCP server(global-diff-ops):VLA-Diff 项目运维工具(一期只读 + 二期写操作)。 本目录是独立部署副本(源头位于 VLA_Diff 仓库的 VLA-Diff-MCP/),在 Trae 全局 MCP 配置中注册。
运行形态
本部署以 VLADIFF_MCP_PROFILE=ops 运行(见全局 mcp.json 的 env):
暴露 11 个运维工具,不含 publish_prompt。该敏感写操作(伪造大模型指令)
仅由 VLA_Diff 工作区的 MCP 实例(vla-diff-prompt,profile=prompt)提供,
避免全局误用。工具裁剪逻辑见 server.py 中 _tool 装饰器。
Related MCP server: ROS1 Noetic MCP Server
功能
通过 MCP 协议向 Agent 提供稳定工具,替代每次临场拼 bash 命令:
一期:只读工具
工具 | 说明 | 运行位置 |
| 查询 ROS 话题频率 + 最新消息 | 容器 |
| 读取 ROS 话题最近 n 条消息 | 容器 |
| 查询关键服务进程状态 | 宿主机 |
| 列出 tmux 会话 | 宿主机 |
| 抓取 tmux 会话 pane 输出 | 宿主机 |
| 读取 agent_run / scene_graph 日志 | 容器 |
二期:写操作工具
工具 | 说明 | 安全机制 |
|
| — |
| 向 tmux 会话发送命令(不存在时自动创建,不 kill-session) | 无(按复用规则操作) |
| 重启 ego_planner 等(先杀后启,后台运行) | confirm=True 显式确认 |
| 容器内任意 shell 命令兜底 | 无白名单,谨慎使用 |
SSH 远程执行工具
工具 | 说明 | 安全机制 |
| 在远程主机执行 shell 命令;host 支持 | 密码仅经环境变量传递(sshpass -e),不进 ps/日志 |
| 列出 ~/.ssh/config 中全部主机别名及连接信息 | 只读 |
认证策略:默认走 ~/.ssh 密钥(BatchMode,失败即报错不挂起);
传 password 参数时走密码认证。同一主机 10 分钟内复用 TCP 连接
(ControlMaster),连续执行多条命令免重复认证。
环境准备
# 创建虚拟环境并按 uv.lock 安装依赖(标准 .venv,已被 .gitignore 忽略)
uv sync运行
.venv/bin/python server.py默认 stdio 传输,由 MCP 客户端(Trae 全局配置 ~/.config/Trae CN/User/mcp.json)以子进程方式拉起。
前置条件
Docker 容器
ros_noetic_uss_nav已创建(ROS 相关工具依赖)未启动时,ROS 类工具会返回明确错误,tmux / 进程类工具不受影响
扩展方向
更多可重启服务:elastic-tracker、tracking_service 等(按需加入
KNOWN_RESTART)服务配置化:将启动命令迁移到 YAML,避免写死在代码里
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 Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI tools to interact with ROS2 robotics systems through natural language commands. Supports topic publishing/subscribing, service calls, message analysis, and auto-discovery of ROS2 interfaces for debugging and controlling robots.Mozilla Public 2.0
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to interact with ROS1 Noetic robotic systems by providing tools for topic management, service calls, and parameter configuration. It also supports node inspection, coordinate transform queries, and message introspection via the Model Context Protocol.MIT
- AlicenseAqualityDmaintenanceEnables controlling robots in ROS environments through natural language, supporting topics, services, actions, and GUI tools.2436MIT
- AlicenseNot gradedqualityBmaintenanceEnables large language models to interact with ROS robots seamlessly, allowing natural language control, real-time sensor monitoring, and autonomous task execution without modifying existing robot code.Apache 2.0
Related MCP Connectors
Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.
Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.
Operate smplkit from your agent: feature flags, config, logging, audit, and scheduled jobs.
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/zhywwyzh/Global-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server