Loading...
npx -y{
"mcpServers": {
"ros-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/ros-mcp-server",,
"run",
"server.py"
]
}
}
}list_topicsLists all available ROS topics.
Read-only operation, no side effects.
get_topic_typeRetrieves the message type of a specified ROS topic.
Read-only operation, no side effects.
publish_topicPublishes a message to a specified ROS topic.
Can control robot behavior, but requires knowledge of topic and message type.
list_servicesLists all available ROS services.
Read-only operation, no side effects.
call_serviceCalls a specified ROS service.
Can trigger robot actions, but requires knowledge of service and arguments.
get_parameterRetrieves the value of a specified ROS parameter.
Read-only operation, no side effects.
set_parameterSets the value of a specified ROS parameter.
Can alter robot configuration, but requires knowledge of parameter and value.
The ROS-MCP-Server offers a convenient way to integrate LLMs with robots, but it's crucial to understand the potential risks. It is relatively safe for read-only operations like listing topics and viewing message types. However, caution is advised when publishing to topics, calling services, or setting parameters, as these actions can directly affect the robot's behavior. Implementing proper network security and access controls is essential to mitigate risks.