husain-zaidi avatar

Ros Mcp

husain-zaidi/ros-mcp

This gives GitHub Copilot and other AI agents direct access to ROS 2 systems through stdio transport. You get tools for listing and monitoring nodes, topics, services, and TF2 frames, plus runtime parameter modification and launch file execution. The monitor_topic tool is particularly handy since it blocks for 1-30 seconds to collect message streams, letting agents naturally observe sensor data or debug throughput issues. It also includes generate_ros_graph for visualizing node/topic connections and check_ros_system_status for daemon health checks. Everything runs through ros2 CLI commands under the hood. Reach for this when you want Copilot to help debug a running ROS 2 system or automate common monitoring tasks during development.

tools
15
transport
STDIO
last updated
Feb 1, 2026

Tools

15 tools

Public tool metadata for what this MCP can expose to an agent.

list_ros_nodesList all running ROS 2 nodes with detailed information

List all running ROS 2 nodes with detailed information

No parameter schema in public metadata yet.

get_node_connectionsView all topics a node publishes to and subscribes from

View all topics a node publishes to and subscribes from

No parameter schema in public metadata yet.

get_node_parametersList parameters for a specific node

List parameters for a specific node

No parameter schema in public metadata yet.

set_node_parameterModify node parameters at runtime

Modify node parameters at runtime

No parameter schema in public metadata yet.

run_ros_nodeLaunch a ROS 2 node from a package

Launch a ROS 2 node from a package

No parameter schema in public metadata yet.

run_ros_launchExecute a launch file

Execute a launch file

No parameter schema in public metadata yet.

list_ros_topicsList all available topics with optional detailed type information

List all available topics with optional detailed type information

No parameter schema in public metadata yet.

get_topic_infoGet detailed information about a specific topic

Get detailed information about a specific topic

No parameter schema in public metadata yet.

monitor_topicSubscribe to a topic and collect messages for a specified duration (observational tool with wait capability)

Subscribe to a topic and collect messages for a specified duration (observational tool with wait capability)

No parameter schema in public metadata yet.

publish_to_topicPublish messages to a topic

Publish messages to a topic

No parameter schema in public metadata yet.

list_ros_servicesList all available services

List all available services

No parameter schema in public metadata yet.

call_serviceCall a service with optional parameters

Call a service with optional parameters

No parameter schema in public metadata yet.

monitor_tf2_framesMonitor TF2 transform frames and relationships (includes static and dynamic transforms)

Monitor TF2 transform frames and relationships (includes static and dynamic transforms)

No parameter schema in public metadata yet.

generate_ros_graphGenerate dependency graphs showing connections between nodes and topics (supports both text and Graphviz DOT format)

Generate dependency graphs showing connections between nodes and topics (supports both text and Graphviz DOT format)

No parameter schema in public metadata yet.

check_ros_system_statusCheck overall system health, daemon status, and node/topic/service counts

Check overall system health, daemon status, and node/topic/service counts

No parameter schema in public metadata yet.

Sponsors

Readme

ROS 2 MCP Server

ros mcp Install in VS Code

A Model Context Protocol (MCP) server for ROS 2 that enables GitHub Copilot and other AI agents to interact with ROS 2 systems. This server provides tools for monitoring, debugging, and managing ROS 2 nodes, topics, services, and TF2 frames.

Quickstart

Add the following to .vscode/mcp.json

{
  "servers": {
    "ros": {
      "command": "npx",
      "args": ["ros-mcp"]
    }
  }
}

Ensure the server is selected in tools for vs code copilot

You're good to go! try "List active ros topics" to test it out.

Features


View the full README on GitHub

Details

Repository
github.com/husain-zaidi/ros-mcp
Package
ros-mcp
Transport
STDIO
Registry
MCP registry, active