Python-based Model Context Protocol server enabling Bluetooth control of the Bittle robot with movement, pose commands, and seamless integration with MCP tools for remote and programmatic operation.
Unlock the full potential of pyBittle MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
A Python MCP (Model Context Protocol) server for controlling the Bittle robot via Bluetooth. This server exposes a set of commands to move, pose, and interact with Bittle using the MCP protocol.
bittle_mcp.log
Install uv (recommended for fast, reliable Python package management):
curl -Ls https://astral.sh/uv/install.sh | sh
Install dependencies:
uv pip install -r requirements.txt # or, if using pyproject.toml: uv pip install -r pyproject.toml
Configure Bluetooth: Ensure your Bittle robot is powered on and in Bluetooth pairing mode.
Run the MCP server:
uv pip run python server.py
The server will attempt to connect to Bittle and log status to bittle_mcp.log
.
Integrate with MCP tools:
mcp call move_forward mcp call sit mcp call rest
@mcp.tool()
in server.py
and are automatically registered with the MCP server.server.py
.bittle_mcp.log
.@mcp.tool()
for MCP exposure.bittle_mcp.log
for detailed error messages.MIT License
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!