Skip to main content
Glama

ROS 2 MCP

A modular MCP server for connecting MCP clients such as Codex to ROS 2.

Goals

The project provides two clearly separated capabilities:

  • Runtime access to a running ROS 2 system

  • Safe creation and modification of ROS 2 projects

The architecture keeps MCP, application logic, ROS integration, and project management separated.

Related MCP server: osracer-mcp

Architecture

MCP Client
    |
    v
MCP Layer
    |
    v
Application Layer
   / \
  v   v
ROS   Project
Adapter Adapter
  |      |
  v      v
rclpy   Safe Filesystem
  |
  v
ROS 2 / DDS

Project Principles

  • Modular architecture

  • MCP and ROS 2 remain separated

  • ROS access goes through a dedicated adapter

  • ROS distributions should remain replaceable

  • MCP should remain as stateless as possible

  • MCP clients should remain replaceable

  • Runtime access starts read-only

  • Write operations require explicit safety mechanisms

  • Project file access is restricted to approved project roots

  • No unnecessary frameworks

  • Docker and Kubernetes are planned for later phases

Development Phases

  1. Foundation

  2. ROS Adapter

  3. ROS Discovery

  4. Topic Reading

  5. Project Adapter

  6. Build and Test

  7. Extended Runtime

  8. Controlled Write and Deployment Readiness

Detailed documentation for each phase is stored in docs/README_PHASE_X.md.

Current Status

Phase 4 completed. Phase 5 is next.

Development Environment

  • Ubuntu 24.04

  • ROS 2 Jazzy

  • Python 3.12

  • uv

  • MCP Python SDK

  • pytest

Repository

This repository is developed independently and is intended to be published later as its own GitHub repository.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    B
    maintenance
    Public implementation of MCP for ROS 2 enabling to interact with system visible various robots, capable of: List available topics List available services Call service Subscribe topic to get messages Publish message on topic and more
    85
    Mozilla Public 2.0
  • A
    license
    -
    quality
    C
    maintenance
    An MCP server for ROS 2 environments that connects via rosbridge WebSocket, enabling topic/service introspection, publish/subscribe, service calls, robot connectivity checks, and polishing pipeline operations.
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • MCP server for generating rough-draft project plans from natural-language prompts.

  • MCP server for Appcircle mobile CI/CD platform.

  • An MCP server for Arcjet - the runtime security platform that ships with your AI code.

View all MCP Connectors

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/vagotec/ros2_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server