mcp_server_ros_2

mcp_server_ros_2

16

The WiseVision ROS2 MCP Server is a Python server that implements the Model Context Protocol for ROS2. It facilitates operations like listing topics and services, calling services, and managing messages through Docker deployment.

WiseVision ROS2 MCP Server

Python server implementing Model Context Protocol (MCP) for ROS2.

Features

  • List available topics
  • List available services
  • Call service
  • Get messages from WiseVision Data Black Box (InfluxDB alternative to Rosbag2)
  • Subscribe to topics to get messages
  • Publish messages on topics
  • Echo messages on topics
  • Get fields from message type

Usage

MCP Server Configuration

  • The server runs inside a Docker container as the root user. Other ROS components also need to run as root.
  • It doesn't work with Copilot in Visual Studio Code due to an issue.

Build Docker Image Locally

  • Clone the repository and build the Docker image.
  • Add specified instructions to the AI Agent prompt.