- MCP server ROS 2
MCP server ROS 2
Python server implementing Model Context Protocol (MCP) for ROS2.
Content
WiseVision ROS2 MCP Server
Python server implementing Model Context Protocol (MCP) for ROS2.
Features
- List available topics
- List available services
- Call service
Note: To call service with custom service source it before start server.
API
Tools
-
ros2_topic_list
- Retrun list of available topics
- Output:
topic_name(string): Topic nametopic_type(string): Message topic type
-
ros2_service_list
- Retruns list available services
- Output:
service_name(string): Service nameservice_type(string): Service typerequest_fields(string array): Fields in service
-
ros2_service_call
- Call ros2 service
- Inputs:
service_name(string): Service nameservice_type(string): Service typefields(string array): Fields in service request filled with user dataforce_call(bool): Force service call without every field in service field up, Deafult set to false
- Output
result(string): Return result of the service callerror(string): Return error in case of error
- Features:
- Check if service exists
- Check if every field in service is provide
Usage
Strat server localy with ROS2 sourced
Prerequisites
Clone repository
git clone https://github.com/wise-vision/mcp_server_ros_2.git
Install dependecies
uv pip install -r pyproject.toml
source .venv/bin/activate
Start server
python3 -m server.server
Server transport is SSE.
- Server is running on port:
http://0.0.0.0:3333
MCP Server Configuration
Set MCP setting to mcp.json.
"mcp_server_ros_2": {
"type": "sse",
"url": "http://localhost:3333/sse",
}
Add this to AI Agent prompt:
You are an AI assistant that uses external tools via an MCP server.
Before calling any tool, always check your memory to see if the list of available tools is known.
• If you don’t have the current tool list in memory, your first action should be to call the list-tools tool.
• Never guess tool names or parameters.
• If a user requests something that may require a tool and you don’t have the right tool info, ask them or call list-tools first.
Once the tool list is loaded, you may call tools directly using their documented names and schemas.
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Amap Maps高德地图官方 MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
ChatWiseThe second fastest AI chatbot™
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Serper MCP ServerA Serper MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
Tavily Mcp
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
DeepChatYour AI Partner on Desktop
CursorThe AI Code Editor
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.