pyBittle MCP Server

pyBittle MCP Server

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.

Category
Visit Server

README

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured