What are the system requirements?
Java 21, Maven, an mBot2 robot with mBlock IDE, an MQTT broker (can be run locally with Docker), and basic Java knowledge.
@deemkeen
Basic information
control your mbot2 with a power combo: mqtt+mcp+llm
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mbotmcp": {
"command": "path-to-java-executable",
"args": [
"-jar",
"/path-to-repo/mbotmcp/target/mbotmcp-0.0.1-SNAPSHOT.jar"
],
"env": {
"MQTT_USERNAME": "<mqtt server username>",
"MQTT_PASSWORD": "<mqtt server password>",
"MQTT_SERVER_URI": "mqtt server url"
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
MBotMcp is a Spring Boot application that uses Spring AI and the Model Context Protocol (MCP) to let AI models control a physical mBot2 robot through natural language commands. It acts as an MCP server, exposing robot control commands as AI-callable tools and relaying them via an MQTT broker to the robot.
First, set up an MQTT broker (e.g., with the included Docker Compose file), configure the required environment variables (MQTT_USERNAME, MQTT_PASSWORD, MQTT_SERVER_URI), and upload the mbot-mqtt.py Python script to your mBot2 after editing its WiFi/MQTT settings. Then build the Spring Boot application with mvn clean package and run the test client with mvn test -Dtest=ClientStdioTest. Finally, connect an LLM client that supports MCP (such as Goose) to the server to send natural language commands to the robot.
@Tool annotationJava 21, Maven, an mBot2 robot with mBlock IDE, an MQTT broker (can be run locally with Docker), and basic Java knowledge.
Set the environment variables `MQTT_USERNAME`, `MQTT_PASSWORD`, and `MQTT_SERVER_URI` in the Spring Boot app. Edit the uploaded `mbot-mqtt.py` script to include your WiFi credentials and MQTT broker details.
Any LLM client that supports the Model Context Protocol (MCP). The README specifically recommends using Goose.
Commands flow from the AI client through the MCP server to the MQTT broker, then to the mBot2 robot. No external cloud storage is used; all data stays on the local MQTT broker.
The author provides a humorous disclaimer: “If your robot starts planning world domination, the author accepts no responsibility. Just unplug it and run! 😂” The robot can be stopped with the `mbotStop()` command or by powering it off.
Free moving quotes for AI agents from Next Generation Movers, a licensed interstate mover (USDOT 3764697). US long-distance nationwide and local DC/MD/VA. Indicative ballpark price and booking options; optional $0.01 x40
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w

Connect your AI assistant to your own YOUB endurance training account. Read recorded activities with full analysis, planned sessions, race goals, wellness (HRV, sleep, resting HR) and your athletic profile. Create or mov

Model Context Protocol Servers
Comments