kakimochi_ros2-mcp-server

kakimochi_ros2-mcp-server

3.1

If you are the rightful owner of kakimochi_ros2-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

ros2-mcp-server is a Python-based server that integrates the Model Context Protocol (MCP) with ROS 2, enabling AI assistants to control robots via ROS 2 topics.

ros2-mcp-server is a Python-based server that integrates the Model Context Protocol (MCP) with ROS 2, enabling AI assistants to control robots via ROS 2 topics. It processes commands through FastMCP and runs as a ROS 2 node, publishing geometry_msgs/Twist messages to the /cmd_vel topic to control robot movement. This implementation supports commands like 'move forward at 0.2 m/s for 5 seconds and stop,' with the /cmd_vel publisher named pub_cmd_vel.

Features

  • MCP Integration: Uses FastMCP to handle commands from MCP clients (e.g., Claude).
  • ROS 2 Native: Operates as a ROS 2 node, directly publishing to /cmd_vel.
  • Time-Based Control: Supports duration-based movement commands (e.g., move for a specified time and stop).
  • Asynchronous Processing: Combines FastMCP's asyncio with ROS 2's event loop for efficient operation.