ros-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ros-mcp-serverNavigate robot to the warehouse entrance"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ros-mcp-server
ros-mcp-server is a TypeScript MCP server for controlling AMRs through a fixed MQTT contract. It does not talk to ROS2 directly. Instead, it sits between RCS, an external LLM bridge, and an AMR-side MQTT bridge.
Current flow:
User -> RCS chat UI -> ros-mcp-server (chat/tool orchestration) -> Ollama -> robot tools -> MQTT Broker -> AMR MQTT Server -> ROS2 Humble/Nav2
Architecture
This MVP combines two roles:
MCP tool server for robot actions
RCS-facing orchestration entry point via the
chattool
RCS remains a thin chat UI:
the operator types natural-language requests
RCS forwards them to MCP
chatros-mcp-servercalls a local or network LLM bridgethe LLM decides whether robot tools are needed
tool results are folded into the final Korean response
The server is split into four layers:
rms_mcp_server: MCP server creation, chat orchestration, and the WebSocket transport exposed atws://127.0.0.1:3001/mcprms_mqtt: MQTT connection management, protocol loading, symbolic topic resolution, and request-response helpersrms_core: shared config, logger, types, and error classesrms_utils: low-level JSON and timeout helpers
The MQTT topic contract is defined in editable JSON at rms_mqtt/protocols/amr-mqtt-protocol.json. MCP tools resolve symbolic keys such as navigation.command instead of hardcoding topic strings.
Folder Structure
ros-mcp-server/
package.json
tsconfig.base.json
.env.example
README.md
rms_mcp_server/
src/
index.ts
orchestrator.ts
server.ts
transport.ts
tooling.ts
rms_mqtt/
src/
mqttClient.ts
protocolLoader.ts
topicResolver.ts
requestResponse.ts
protocols/
amr-mqtt-protocol.json
rms_core/
src/
config.ts
logger.ts
types.ts
errors.ts
rms_utils/
src/
json.ts
timeout.ts
scripts/
pkill.shInstall
npm installRun
npm run devTo start both the RMS server and a local Ollama runtime together:
npm run dev:alldev:all checks whether Ollama is already available at the configured bridge URL. If not, it tries to start ollama serve first and then launches the RMS dev server.
The MCP WebSocket endpoint will be available at:
ws://127.0.0.1:3001/mcpConfiguration
Copy .env.example to .env and adjust values as needed.
Core values:
MQTT_BROKER_URL: broker endpoint used by the MQTT clientMQTT_CLIENT_ID: MQTT client identifierDEFAULT_ROBOT_ID: fallback robot id when a tool omitsrobot_idREQUEST_TIMEOUT_MS: default timeout for MQTT request-response operationsRMS_HOST,RMS_PORT,RMS_MCP_PATH: MCP WebSocket bind settingsRCS_MCP_SERVER_URL: convenience value for the RCS-side MCP configuration
LLM bridge values:
LLM_BRIDGE_PROVIDER=ollamaLLM_BRIDGE_URL=http://127.0.0.1:11434/api/chatLLM_BRIDGE_MODEL=qwen3LLM_BRIDGE_TIMEOUT_MS=30000LLM_BRIDGE_THINK=optionalLLM_BRIDGE_KEEP_ALIVE=5m
Recommended local setup:
Install Ollama
Pull a model with tool-calling support such as
qwen3Start Ollama
Keep
LLM_BRIDGE_URL=http://127.0.0.1:11434/api/chat
Windows 11 Ollama Setup
Download the Windows installer from the official site:
https://ollama.com/download/windowsRun the installer and finish the setup
Open a new PowerShell window and confirm installation:
ollama --versionPull a model with tool-calling support:
ollama pull qwen3Check available models:
ollama listStart the local Ollama server if it is not already running:
ollama serveIn another terminal, start the full local stack:
npm run dev:allMQTT Topics
Topics are resolved from symbolic keys. For example:
resolveTopic("navigation.command", { robot_id: "burger1" });
// => /amr/burger1/navigation/commandExample resolved topics:
/amr/burger1/navigation/command/amr/burger1/navigation/result/amr/burger1/pose/set/amr/burger1/route/request/amr/burger1/system/ping
MCP Tools
The server exposes these high-level tools:
chatnavigate_to_posescancel_navigationset_initial_posesave_mapsend_motion_commandrequest_plan_segmentrequest_plan_routeping_robotchange_robot_id
Each request automatically includes request_id and timestamp, and request-response tools subscribe to the matching response topic and correlate by request_id.
chat Tool
chat is the main entry point for RCS natural-language interaction.
Expected behavior:
RCS sends the latest operator utterance to the
chattoolros-mcp-serversends the conversation to OllamaOllama requests robot tools when needed
ros-mcp-serverexecutes the requested toolsthe final Korean response is returned to RCS
Typical arguments:
{
"message": "burger1을 map 기준 x=1.25, y=0.4 위치로 보내줘",
"robot_id": "burger1"
}Example MCP Tool Calls
After connecting your MCP client to ws://127.0.0.1:3001/mcp and completing MCP initialization, you can call tools like this.
chat:
{
"jsonrpc": "2.0",
"id": 9,
"method": "tools/call",
"params": {
"name": "chat",
"arguments": {
"message": "burger1을 map 기준 x=1.25, y=0.4 위치로 보내줘",
"robot_id": "burger1"
}
}
}navigate_to_poses:
{
"jsonrpc": "2.0",
"id": 10,
"method": "tools/call",
"params": {
"name": "navigate_to_poses",
"arguments": {
"robot_id": "burger1",
"poses": [
{
"frame_id": "map",
"position": { "x": 1.25, "y": 0.4, "z": 0 },
"orientation": { "x": 0, "y": 0, "z": 0, "w": 1 }
}
]
}
}
}RCS Integration
RCS should connect its MCP client transport to:
ws://127.0.0.1:3001/mcpRecommended client behavior:
keep the current chat-style UI
let the operator choose the UI label such as ChatGPT or Claude if desired
send the operator message to MCP
chatshow the returned Korean response in the same chat thread
avoid direct OpenAI API handling in the UI when using the RMS-side Ollama bridge
This keeps RCS thin while ros-mcp-server owns natural-language orchestration and robot tool execution.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/reidlo5135/ros-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server