Safe BLE diagnostics, evidence workflows, and guarded automation for AI agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
BLEA — Bluetooth Low Energy Automation — is a universal Agent Plugin for safe, deterministic BLE work. It gives AI agents a portable Skill, a machine-readable CLI, a local MCP server, guarded automation, and offline evidence capture, diff, and replay.
The project is designed for the BLE work agents repeatedly need: checking OS Bluetooth access, finding the right nearby device, discovering GATT services, preserving and comparing raw byte evidence, reading and subscribing before changing state, and making writes only after explicit authorization.
| Surface | Role |
|---|---|
| Agent Plugin 1.0.0 | Packages the portable identity, Skill, and MCP declaration. |
| Agent Skill | Teaches agents the BLE workflow, safety boundaries, and recovery rules. |
| CLI | Emits deterministic JSON/JSONL for scripts, terminals, and any agent with shell access. |
| MCP | Exposes the same runtime as local, structured tools with managed BLE sessions. |
The ble executable is the shared runtime. Regular subcommands use the CLI surface; ble mcp
starts the stdio MCP server. The MCP protocol is therefore a first-class interface, not a second
tool hidden inside an unrelated CLI product.
BLEA requires Python 3.10 or newer. Bluetooth access is provided by the operating system through Bleak.
Give this prompt to an Agent with shell access:
For manual installation, use the detailed paths below.
Install the latest published Python runtime from PyPI:
For Codex, install the public Git marketplace package after the runtime:
To install only the portable Agent Skill with the Skills CLI:
For OpenClaw, install the same portable Skill from its public ClawHub listing:
The Skill teaches the workflow and safety policy; it does not install the Python runtime. Install
blea from PyPI as shown above before asking an agent to access live Bluetooth hardware or start
the local MCP server. The source Skill is skills/ble/SKILL.md, and the
public ClawHub release is @nitmi/blea.
Start a new Agent task after installation. The marketplace package supplies the BLE Skill and MCP
declaration; it does not install the Python runtime or operating-system Bluetooth permissions. See
docs/installation.md for the release-tag, legacy 0.6.0 bridge, and update
procedure.
From a checkout, install the command runtime directly from the working tree:
For repository development:
Starting with 0.6.5, each release includes blea-<version>-windows-x86_64.zip with a
single-file ble.exe and a manifest binding its SHA-256, version, target, and source commit. Python
is not required at runtime. The tag workflow builds twice on one GitHub-hosted Windows runner,
rejects unequal ZIP hashes, runs ble --version and an adapter-free evidence replay, and creates
GitHub artifact provenance. It does not run doctor, scan, or access Bluetooth hardware.
Verify the archive before use:
Attestation proves repository build provenance; it is not Windows Authenticode signing and does not prove a Bluetooth adapter, peripheral, or firmware identity.
The Python runtime and Agent Plugin are two related installation units: PyPI installs the ble
executable, while an Agent Plugins 1.0.0 client loads this repository directory to discover
plugin.json, mcp.json, and skills/ble. Install the runtime first so the plugin's local stdio
MCP server can find ble on PATH. See docs/installation.md for source,
plugin, update, permissions, and verification paths.
Device names are accepted only when exactly one observed device has that name. Prefer the
platform identifier returned by scan; on macOS this is normally a UUID rather than a MAC address.
Every binary value includes length, hex, base64, and replacement-safe UTF-8 representations.
JSON errors use stable reasons and exit codes suitable for agent recovery.
probe is paginated. Follow next_read_offset until it is null. Page counts and
characteristic-level failures live under read_page; ok=true means the page executed, while
read_page.has_failures tells you whether any characteristic failed. Every result includes a small
profile_summary. The CLI includes the full GATT profile by default and supports
--no-include-profile; the MCP tool omits it by default to keep repeated pages compact.
Connection commands report timeout_scope=per_backend_operation. Their timeout applies separately
to discovery, connection, and each GATT operation, rather than bounding the total command time.
GATT entries include uuid_namespace. BLEA reports library descriptions only for canonical
Bluetooth Base UUIDs, avoiding false standard names inferred from the leading bytes of custom
128-bit UUIDs.
observe discovers notify/indicate characteristics and watches them over one connection for a
bounded duration. Omit --characteristic to select all event-capable traits, or repeat it for
explicit selection. The result separates subscription failures, cleanup failures, and notification
events; a quiet window is evidence only for that sample window.
Save a complete read-only evidence package after diagnosis:
capture records the advertisement, normalized GATT profile, each readable-characteristic result,
bounded notifications, operation errors, and a validated final summary. It performs no writes,
pairing, or configuration changes and replaces the destination only after an atomic close. The
JSONL file is the authoritative artifact; the command's JSON result is a compact summary. The
Evidence Format v1 contract and deterministic validator live in
docs/evidence-format-v1.md.
Compare two complete evidence packages without a Bluetooth adapter or device:
diff validates both Evidence Format v1 inputs, projects them into stable BLE semantics, and emits
sorted JSON Pointer changes. It ignores capture IDs, timestamps, runtime metadata, sampling
duration, and RSSI movement within 5 dBm by default. Use --strict-rssi for exact RSSI comparison.
Device identifiers must match unless an intentional cross-device comparison uses
--allow-different-devices. Binary payloads are atomic changes, so one changed value does not
produce separate Hex, Base64, and UTF-8 noise. A normal difference exits successfully;
--fail-on-change returns code 3 after printing the complete result for CI. The contract lives in
docs/diff-format-v1.md.
Replay a complete evidence package without a Bluetooth adapter or physical device:
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/blea)<a href="https://allmcps.com/mcp/blea"><img src="https://allmcps.com/api/badge/blea?style=directory" alt="BLEA on AllMCPs" /></a>