Skip to main content
Glama

pyBittle MCP Server

by cluesang

pyBittle-mcp-서버

블루투스를 통해 Bittle 로봇을 제어하는 Python MCP(Model Context Protocol) 서버입니다. 이 서버는 MCP 프로토콜을 사용하여 Bittle 로봇의 이동, 자세 조정 및 상호작용을 위한 일련의 명령을 제공합니다.

특징

  • Bluetooth를 통해 Bittle에 연결
  • 움직임과 자세 명령(앞으로, 뒤로, 돌기, 앉기, 쉬기 등)을 보여줍니다.
  • 원격 및 프로그래밍 제어를 위한 MCP 도구와 통합
  • 모든 활동을 bittle_mcp.log 에 기록합니다.

요구 사항

  • 파이썬 3.10+
  • 패키지 관리를 위한 uv
  • 블루투스가 가능한 작은 로봇
  • pyBittle 라이브러리
  • mcp-server 라이브러리

설치 및 설정

  1. uv를 설치하세요(빠르고 안정적인 Python 패키지 관리를 위해 권장):지엑스피1
  2. 종속성 설치:
    uv pip install -r requirements.txt # or, if using pyproject.toml: uv pip install -r pyproject.toml

용법

  1. Bluetooth 구성: Little Robot의 전원이 켜져 있고 Bluetooth 페어링 모드에 있는지 확인하세요.
  2. MCP 서버를 실행합니다.
    uv pip run python server.py
    서버는 Bittle에 연결을 시도하고 상태를 bittle_mcp.log 에 기록합니다.
  3. MCP 도구와 통합:
    • 이 서버는 MCP 프로토콜을 통해 명령을 공개하여 모든 MCP 호환 클라이언트나 도구에서 액세스할 수 있도록 합니다.
    • MCP CLI 나 다른 MCP 도구를 사용하여 Bittle 로봇에서 사용 가능한 명령을 검색하고 호출할 수 있습니다.
    • 예(MCP CLI 사용):
      mcp call move_forward mcp call sit mcp call rest
    • 사용 가능한 모든 명령은 server.py@mcp.tool() 로 장식되어 있으며 MCP 서버에 자동으로 등록됩니다.

개발

  • 주요 로직은 server.py 에 있습니다.
  • 로깅은 콘솔과 bittle_mcp.log 모두에 출력되도록 구성되어 있습니다.
  • MCP 노출을 위해 명령은 @mcp.tool() 로 장식됩니다.

문제 해결

  • 서버 연결에 실패하면 Bluetooth 페어링을 확인하고 다른 프로세스가 Bittle 연결을 사용하고 있지 않은지 확인하세요.
  • 자세한 오류 메시지는 bittle_mcp.log 확인하세요.

특허

MIT 라이센스

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

MCP(Model Context Protocol)를 사용하여 Bluetooth를 통해 Bittle 로봇을 원격으로 제어할 수 있는 Python 서버로, 사용자가 프로그래밍 방식으로 동작 및 포즈 명령을 보낼 수 있습니다.

  1. 특징
    1. 요구 사항
      1. 설치 및 설정
        1. 용법
          1. 개발
            1. 문제 해결
              1. 특허

                Related MCP Servers

                • A
                  security
                  F
                  license
                  A
                  quality
                  A Python implementation of an MCP server that enables secure, local Bitbucket integration for AI applications, providing tools for repository management, branch creation, file operations, issue tracking, and pull request creation.
                  Last updated -
                  10
                  3
                  Python
                  • Apple
                  • Linux
                • -
                  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
                • -
                  security
                  F
                  license
                  -
                  quality
                  A Python-based server that enables AI assistants to control robots by integrating the Model Context Protocol (MCP) with ROS 2, allowing for natural language commands that translate into robot movement via the /cmd\_vel topic.
                  Last updated -
                  55
                  Python
                • A
                  security
                  A
                  license
                  A
                  quality
                  A server built on the Model Context Protocol that enables controlling the Unitree Go2 robot using natural language commands, which are translated into ROS2 instructions for the robot to perform corresponding actions.
                  Last updated -
                  12
                  6
                  Python
                  Apache 2.0
                  • Linux

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/cluesang/pyBittle-mcp-server'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server