pyBittle MCP Server

by cluesang

Integrations

  • Enables connection to the Bittle robot via Bluetooth, allowing remote control of movement and poses through an MCP protocol interface

pyBittle-mcp-server

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.

Features

  • Connects to Bittle via Bluetooth
  • Exposes movement and pose commands (forward, backward, turn, sit, rest, etc.)
  • Integrates with MCP tools for remote and programmatic control
  • Logs all activity to bittle_mcp.log

Requirements

  • Python 3.10+
  • uv for package management
  • Bittle robot with Bluetooth enabled
  • pyBittle library
  • mcp-server library

Installation & Setup

  1. Install uv (recommended for fast, reliable Python package management):
    curl -Ls https://astral.sh/uv/install.sh | sh
  2. Install dependencies:
    uv pip install -r requirements.txt # or, if using pyproject.toml: uv pip install -r pyproject.toml

Usage

  1. Configure Bluetooth: Ensure your Bittle robot is powered on and in Bluetooth pairing mode.
  2. 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.
  3. Integrate with MCP tools:
    • This server exposes commands via the MCP protocol, making them accessible to any MCP-compatible client or tool.
    • You can use the MCP CLI or other MCP tools to discover and invoke available commands on your Bittle robot.
    • Example (using MCP CLI):
      mcp call move_forward mcp call sit mcp call rest
    • All available commands are decorated with @mcp.tool() in server.py and are automatically registered with the MCP server.

Development

  • The main logic is in server.py.
  • Logging is configured to output to both console and bittle_mcp.log.
  • Commands are decorated with @mcp.tool() for MCP exposure.

Troubleshooting

  • If the server fails to connect, check Bluetooth pairing and ensure no other process is using the Bittle connection.
  • Review bittle_mcp.log for detailed error messages.

License

MIT License

-
security - not tested
F
license - not found
-
quality - not tested

A Python server that enables remote control of Bittle robots via Bluetooth using the Model Context Protocol (MCP), allowing users to programmatically send movement and pose commands.

  1. Features
    1. Requirements
      1. Installation & Setup
        1. Usage
          1. Development
            1. Troubleshooting
              1. License

                Related MCP Servers

                • -
                  security
                  A
                  license
                  -
                  quality
                  An MCP server that provides AI assistants access to the Beeminder API, allowing them to help users track goals, manage datapoints, and interact with Beeminder's self-commitment tools through natural language.
                  Last updated -
                  2
                  Python
                  MIT License
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server that provides desktop automation capabilities using RobotJS and screenshot capabilities, enabling LLMs to control mouse movements, keyboard inputs, and capture screenshots of the desktop environment.
                  Last updated -
                  42
                  2
                  JavaScript
                  MIT License
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol (MCP) server that enables AI assistants to control and interact with Android devices, allowing for device management, app debugging, system analysis, and UI automation through natural language commands.
                  Last updated -
                  29
                  30
                  Python
                  Apache 2.0
                  • Linux
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A ModelContextProtocol server that enables Claude AI to detect and scan nearby Bluetooth devices, providing Bluetooth sensing capabilities to Claude through a compatible MCP interface.
                  Last updated -
                  1
                  Python
                  MIT License
                  • Linux
                  • Apple

                View all related MCP servers

                ID: 59ljjps1i2