Ble MCP server
Let AI agents interact with real BLE hardware — scan, connect, read, write, and subscribe.
18 stars86 downloads/wk
Reviews
Write oneNobody has reviewed Ble yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Ble tools (10, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
ble.disconnectDisconnect a BLE peripheral by connection_id.
ble.readRead the value of a GATT characteristic.
ble.spec.getGet the attached spec for a connection (returns null if none attached).
ble.spec.listList all registered specs with their metadata and matching hints.
ble.spec.readRead full spec content, file path, and metadata by spec_id.
ble.subscribeSubscribe to notifications/indications on a characteristic.
ble.tasks.cancelwrite actionCancel a running background task by task_id.
ble.trace.statusReturn tracing config and event count.
ble.trace.tailReturn last N trace events (default 50).
ble.unsubscribeUnsubscribe from a previously created subscription.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan20 source files scanned; 20 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 182 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Install Ble in Claude Code, Cursor or VS Code
claude mcp add ble-mcp-server -- uvx ble-mcp-server
What the publisher says
From the Ble repository's README, as published. We do not edit it. Read it on GitHub
BLE MCP Server
<!-- mcp-name: io.github.es617/ble-mcp-server -->
A stateful Bluetooth Low Energy (BLE) Model Context Protocol (MCP) server for developer tooling and AI agents. Works out of the box with Claude Code, VS Code with Copilot, and any MCP-compatible runtime. Defaults to stdio (no HTTP, no open ports), with optional SSE and Streamable HTTP transports for remote access and multi-session use. Uses bleak for cross-platform BLE on macOS, Windows, and Linux.
Example: Let Claude Code scan for nearby BLE devices, connect to one, read characteristics, and stream notifications from real hardware.
Demo
7-minute video walkthrough — scanning a real BLE device, discovering services, reading values, and promoting flows into plugins.
Why this exists
You have a BLE device. You want an AI agent to talk to it — scan, connect, read sensors, send commands, stream data. This server makes that possible.
It gives any MCP-compatible agent a full set of BLE tools: scanning, connecting, reading, writing, subscribing to notifications — plus protocol specs and device plugins, so the agent can reason about higher-level device behavior instead of just raw UUIDs and bytes.
The agent calls these tools, gets structured JSON back, and reasons about what to do next — no human in the loop for each BLE operation.
What agents can do with it:
- Develop and debug — connect to your device, explore its services, read characteristics, test commands, and diagnose issues conversationally. "Why is this sensor returning zeros?" becomes a question you can ask.
- Iterate on new hardware — building a BLE device? Attach a protocol spec so the agent understands your commands and data formats as you evolve them.
- Automate testing — write device-specific plugins that expose high-level actions (e.g., device.startstream, device.runself_test), then let the agent run test sequences: enable a sensor, collect samples, validate values, report results.
- Explore — point the agent at a device you’ve never seen. It discovers services, probes characteristics, and builds up protocol documentation from scratch.
- Build BLE automation — agents controlling real hardware for real tasks: reading environmental sensors on a schedule, managing a fleet of BLE beacons, triggering actuators based on conditions.
Who is this for?
- Embedded engineers — faster iteration on BLE protocols, conversational debugging, automated test sequences
- Hobbyists and makers — explore BLE devices without writing boilerplate; let the agent help reverse-engineer simple protocols
- QA and test engineers — build repeatable BLE test suites with plugin tools, run them from CI or agent sessions
- Support and field engineers — diagnose BLE device issues interactively without specialized tooling
- Researchers — automate data collection from BLE sensors, explore device capabilities systematically
Quickstart (Claude Code)
pip install ble-mcp-server
# Register the MCP server with Claude Code (read-only by default)
claude mcp add ble -- ble_mcpThen in Claude Code, try:
"Scan for nearby BLE devices and connect to the one whose name starts with Arduino."
The server is read-only by default. Writes and plugins can control real hardware and execute code, and are opt-in via environment variables. See Safety for details.
What the agent can do
Once connected, the agent has full BLE capabilities:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Ble: common questions
- Is Ble MCP server safe?
- With care: it is graded C, so read the findings first (66/100). Read the Ble safety report
- How do I install Ble?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Ble need an API key?
- Yes. The registry entry asks for
BLE_MCP_AUTH_TOKEN. - Is Ble maintained?
- The last commit was 182 days ago (2026-03-30). The latest release is v0.3.0.
- What can I use instead of Ble?
- Servers from other publishers that do the same job: RadioChron MCP server, Autopilot Jobhunt MCP server and Solana Security Standard MCP server. Compare all Ble alternatives.
Alternatives to Ble
Same job from other publishers: the closest match first, then the best rated.
- RadioChronLocal-first Wi-Fi incident diagnostics with native BLE scan, history, and risk evidence.not reviewedGrowingA
- Autopilot JobhuntAgentic job hunt: scan careers pages, score against your resume, draft applications. Never applies.not reviewedGrowingA
- Solana Security StandardScan Solana/Anchor code against the Solana Security Standard and serve the ruleset to MCP clients.not reviewedGrowingA
DNS DoctorScan, fix, verify and monitor DNS: SPF, DMARC, DKIM, propagation, health, expiry. Validated fixes.not reviewedGrowingA- OpenQRGenerate, edit and track dynamic (editable) QR codes with scan analytics. Hosted MCP and REST API.not reviewedGrowingA