mcp_server_ros_2
About
View ROS 2 nodes and topics, and call services and actions via MCP
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
MCP_CUSTOM_PROMPTS MCP_PROMPTS_LOCAL MCP_PROMPTS_PATH MCP_PROMPTS_MODULEClaude Code
claude mcp add --env MCP_CUSTOM_PROMPTS= --env MCP_PROMPTS_LOCAL= --env MCP_PROMPTS_PATH= --env MCP_PROMPTS_MODULE= mcp-server-ros-2 -- docker docker.io/mcp/ros2:latest
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-server-ros-2","command":"docker","args":["docker.io/mcp/ros2:latest"],"env":{"MCP_CUSTOM_PROMPTS":"","MCP_PROMPTS_LOCAL":"","MCP_PROMPTS_PATH":"","MCP_PROMPTS_MODULE":""}}'
JSON
{
"mcpServers": {
"mcp-server-ros-2": {
"command": "docker",
"args": [
"docker.io/mcp/ros2:latest"
],
"env": {
"MCP_CUSTOM_PROMPTS": "",
"MCP_PROMPTS_LOCAL": "",
"MCP_PROMPTS_PATH": "",
"MCP_PROMPTS_MODULE": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.