Skip to content
MCP server

MCP Server Ros 2

View ROS 2 nodes and topics, and call services and actions via MCP

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.0
Listing updated
4 days ago

About MCP Server Ros 2

MCP Server Ros 2 is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mcp_server_ros_2 -- docker run -i --rm docker.io/mcp/ros2:latest

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp_server_ros_2": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/mcp/ros2:latest"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp_server_ros_2": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/mcp/ros2:latest"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp_server_ros_2": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/mcp/ros2:latest"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp_server_ros_2": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/mcp/ros2:latest"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp_server_ros_2": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "docker.io/mcp/ros2:latest"
      ]
    }
  }
}

Configuration

  • MCP_CUSTOM_PROMPTSEnable custom prompts
  • MCP_PROMPTS_LOCALUse local prompts
  • MCP_PROMPTS_PATHPath to custom prompts directory
  • MCP_PROMPTS_MODULEName of the prompts module

Pricing

Open source

MCP Server Ros 2 FAQ

Is MCP Server Ros 2 free?

Yes. MCP Server Ros 2 is open source, so you can use and self-host it for free.

How do I add MCP Server Ros 2 to Claude Code?

Run this command in your terminal: claude mcp add mcp_server_ros_2 -- docker run -i --rm docker.io/mcp/ros2:latest