
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A Spring Boot application that implements the Model Context Protocol, exposing robot control commands as AI-callable tools that relay instructions over MQTT to an mBot2 robot.
Spring Boot MCP server for controlling an mBot2 robot via MQTT is cataloged as an MCP server attributed to deemkeen. A Spring Boot application that implements the Model Context Protocol, exposing robot control commands as AI-callable tools that relay instructions over MQTT to an mBot2 robot. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Spring Boot MCP server for controlling an mBot2 robot via MQTT are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
When an AI invokes a tool through the MCP server, the command is sent via MQTT to the robot, which executes it based on the received message.
README.md · fc91d7341ed9 · 采集于 2026-11-13 10:29:41 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
https://github.com/user-attachments/assets/a11d68c5-dc52-4dab-9741-bc1cf47e2ec9
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".
The system consists of:
The Spring application exposes robot control commands as AI-callable functions, allowing AI models to control the physical robot through natural language.
Run the included Docker Compose file to set up the MQTT broker:
cd mbotmcp/assets
docker-compose up -d
This creates a message queue that will relay commands between your app and robot.
Set the following environment variables:
MQTT_USERNAME=your_username # leave blank if not configured
MQTT_PASSWORD=your_password # leave blank if not configured
MQTT_SERVER_URI=tcp://your_server:1883
These tell your app how to connect to the MQTT broker.
To upload the Python script to your mBot2:
/assets directory in the repositorymbot-mqtt.py filessid = "<your wifi ssid>"
ssid_password = "<your wifi password>"
mqtt_ip = "<ip of the mqtt broker>"
mqtt_port = 1883
mqtt_user = "<your mqtt username>"
mqtt_password = "<your mqtt password>"
mvn clean package
mvn test -Dtest=ClientStdioTest
The BotService class defines all the MCP tools, your robot can understand:
mbotExplore() - Execute the 'explore' routinembotStop() - Stop the robotmbotBeep() - Make the robot beepmbotLeft() - Turn the robot leftmbotRight() - Turn the robot rightmbotForward() - Move the robot forwardmbotBackward() - Move the robot backwardOnce everything is working, you can integrate with LLM clients that support MCP. Personally, I would recommend Goose for this purpose. Just point these clients to your server, and they can autonomously control your robot based on natural language requests.
Example natural language commands:
@Tool annotationIf your robot starts planning world domination, the author accepts no responsibility. Just unplug it and run! 😂
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Spring Boot MCP server for controlling an mBot2 robot via MQTT from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mbotmcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.