This MCP server implements a stateful Bluetooth Low Energy (BLE) Model Context Protocol (MCP) server that allows AI agents to interact with BLE devices for scanning, connecting, reading, and writing data. It supports multiple transport options and provides a set of tools for developers and testers.
From the registry: Let AI agents interact with real BLE hardware — scan, connect, read, write, and subscribe.

$ pip install ble-mcp-serverhttps://pypi.org/project/ble-mcp-server/Please install the `ble-mcp-server` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install ble-mcp-server** — Install the Python package from PyPI. Python 3.11+ required. Run: `pip install ble-mcp-server` (https://pypi.org/project/ble-mcp-server/)
Canonical MCP server config (stdio transport):
- command: `ble_mcp`
- args: []
- optional environment variables:
- `BLE_MCP_ALLOW_WRITES`: Opt-in env var to allow write operations against BLE characteristics (example: `1`)
Note: Cross-platform Bluetooth Low Energy MCP server using bleak. Read-only by default; writes and plugins are opt-in via env vars.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.BLE_MCP_ALLOW_WRITESrequiredSet to 'true' to enable write operations to BLE characteristics.BLE_MCP_AUTH_TOKENrequiredPassword for OAuth approval page on HTTP transports.Manage UniFi Protect cameras, events, recordings, and smart detections via MCP.