Mbotmcp MCP Server

control your mbot2 with a power combo: mqtt+mcp+llm

Local serverstdioPython

What is the Mbotmcp MCP Server?

control your mbot2 with a power combo: mqtt+mcp+llm

What the server does

This project demonstrates how to control an mBot2 robot using Spring AI and Model Context Protocol (MCP). With this setup, AI models can control a physical robot through simple natural language commands like "explore" or "turn left".

  1. A Spring Boot application that implements the Model Context Protocol 2. An MQTT broker for message passing 3. Python code running on the mBot2 robot 4. AI client integration capabilities

Credentials and setup notes

  • Java 21 - Maven - mBot2 robot and mBlock IDE - MQTT broker (can run in Docker) - Basic Java knowledge

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Java 21 - Maven - mBot2 robot and mBlock IDE - MQTT broker (can run in Docker) - Basic Java knowledge

Frequently asked questions

Java 21, Maven, an mBot2 robot with mBlock IDE, an MQTT broker (can be run locally with Docker), and basic Java knowledge.