プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Ble MCP Server

作者:es617バージョン 0.3.0i★ –iパソコンで動く
レジストリ名io.github.es617/ble-mcp-server

インストール

概要

作者による説明(英語の原文)

Let AI agents interact with real BLE hardware — scan, connect, read, write, and subscribe.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: BLE_MCP_ALLOW_WRITES, BLE_MCP_WRITE_ALLOWLIST, BLE_MCP_PLUGINS, BLE_MCP_TOOL_SEPARATOR

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "ble": {
      "command": "uvx",
      "args": [
        "ble-mcp-server"
      ],
      "env": {
        "BLE_MCP_ALLOW_WRITES": "your-value",
        "BLE_MCP_WRITE_ALLOWLIST": "your-value",
        "BLE_MCP_PLUGINS": "your-value",
        "BLE_MCP_TOOL_SEPARATOR": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add ble --env BLE_MCP_ALLOW_WRITES=your-value --env BLE_MCP_WRITE_ALLOWLIST=your-value --env BLE_MCP_PLUGINS=your-value --env BLE_MCP_TOOL_SEPARATOR=your-value -- uvx ble-mcp-server

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "ble": {
      "command": "uvx",
      "args": [
        "ble-mcp-server"
      ],
      "env": {
        "BLE_MCP_ALLOW_WRITES": "your-value",
        "BLE_MCP_WRITE_ALLOWLIST": "your-value",
        "BLE_MCP_PLUGINS": "your-value",
        "BLE_MCP_TOOL_SEPARATOR": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "ble": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "ble-mcp-server"
      ],
      "env": {
        "BLE_MCP_ALLOW_WRITES": "your-value",
        "BLE_MCP_WRITE_ALLOWLIST": "your-value",
        "BLE_MCP_PLUGINS": "your-value",
        "BLE_MCP_TOOL_SEPARATOR": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • BLE_MCP_ALLOW_WRITES env
    Enable BLE characteristic writes (off by default for safety)
  • BLE_MCP_WRITE_ALLOWLIST env
    Comma-separated UUID allowlist for writable characteristics
  • BLE_MCP_PLUGINS env
    Plugin policy: 'all' or comma-separated plugin names. Unset = disabled.
  • BLE_MCP_TOOL_SEPARATOR env
    Tool name separator character (default '_'). Set to '.' if your client supports dots.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント es617 で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32572件のうち0%よりスターが多い
  • このカテゴリのほかの32572件のうち5%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32572件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Ble MCP Serverは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.3.0)がレジストリに届いたのは7 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, AvaHR

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211昨日更新
インストール

AvaHR

作者:avahr.com

Read hiring data and create inactive assessment and questionnaire drafts for human review.

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

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.start_stream, device.run_self_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_mcp

Then 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:

  • Scan for nearby devices, with optional name or service UUID filters
  • Connect to a device and discover its services and characteristics
  • Read and write characteristic values (writes require BLE_MCP_ALLOW_WRITES)
  • Subscribe to notifications and collect streaming data — single events, polling, or batch draining
  • Attach protocol specs to understand device-specific commands and data formats
  • Use plugins for high-level device operations (e.g., sensortag.read_temp) instead of raw reads/writes
  • Create specs and plugins for new devices, building up reusable knowledge across sessions

The agent handles multi-step flows automatically. For example, "read the temperature from my SensorTag" might involve scanning, connecting, discovering services, attaching a spec, enabling the sensor, and reading the value — without you specifying each step.

At a high level:

Raw BLE → Protocol Spec → Plugin

You can start with raw BLE tools, then move up the stack as your device protocol becomes understood and repeatable. See Concepts for how the pieces fit together.


Install (development)

# Editable install from repo root

pip install -e .

Or with uv

uv pip install -e .

MCP is a protocol — this server works with any MCP-compatible client. Below are setup instructions for the most common ones.

Add to Claude Code

# Minimal (read-only)

claude mcp add ble -- ble_mcp

Or run as a module

claude mcp add ble -- python -m ble_mcp_server

Enable writes

claude mcp add ble -e BLE_MCP_ALLOW_WRITES=true -- ble_mcp

Enable writes with an allowlist of characteristic UUIDs

claude mcp add ble \ -e BLE_MCP_ALLOW_WRITES=true \ -e BLE_MCP_WRITE_ALLOWLIST="2a00,12345678-1234-1234-1234-123456789abc" \ -- ble_mcp

Enable all plugins

claude mcp add ble -e BLE_MCP_PLUGINS=all -- ble_mcp

Enable specific plugins only

claude mcp add ble -e BLE_MCP_PLUGINS=sensortag,hello -- ble_mcp

Debug logging

claude mcp add ble -e BLE_MCP_LOG_LEVEL=DEBUG -- ble_mcp

Add to VS Code / Copilot

Add to your project's .vscode/mcp.json (or create it):

{

"servers": { "ble": { "type": "stdio", "command": "ble_mcp", "args": [], "env": { "BLE_MCP_ALLOW_WRITES": "true", "BLE_MCP_PLUGINS": "all" } } } }

Adjust env to match your needs — remove BLE_MCP_ALLOW_WRITES for read-only mode, or set BLE_MCP_PLUGINS to specific plugin names.

Add to Cursor

Add to your project's .cursor/mcp.json (or create it):

{

"mcpServers": { "ble": { "command": "ble_mcp", "args": [], "env": { "BLE_MCP_ALLOW_WRITES": "true", "BLE_MCP_PLUGINS": "all" } } } }

Environment variables

VariableDefaultDescription
BLE_MCP_ALLOW_WRITESdisabledSet to true, 1, or yes to enable ble.write.
BLE_MCP_WRITE_ALLOWLISTemptyComma-separated UUID allowlist for writable characteristics (checked only when writes are enabled).
BLE_MCP_PLUGINSdisabledPlugin policy: all to allow all, or name1,name2 to allow specific plugins. Unset = disabled.
BLE_MCP_LOG_LEVELWARNINGPython log level (DEBUG, INFO, WARNING, ERROR). Logs go to stderr.
BLE_MCP_TRACEenabledJSONL tracing of every tool call. Set to 0, false, or no to disable.
BLE_MCP_TRACE_PAYLOADSdisabledInclude value_b64/value_hex in traced args (stripped by default).
BLE_MCP_TRACE_MAX_BYTES16384Max payload chars before truncation (only applies when TRACE_PAYLOADS is on).
BLE_MCP_TOOL_SEPARATOR_Character used to separate tool name segments. Set to . if your client supports dots in tool names. Default changed to _ because most clients (Cursor, Claude Desktop) reject dots.
BLE_MCP_MAX_SESSIONS1Maximum concurrent MCP sessions (only meaningful for SSE and Streamable HTTP transports).
BLE_MCP_MAX_CONNECTIONS3Maximum active BLE connections per session.
BLE_MCP_MAX_SCANS5Maximum active scans per session.
BLE_MCP_MAX_SUBSCRIPTIONS_PER_CONN10Maximum notification subscriptions per connection.
BLE_MCP_AUTH_TOKENunsetPassword for OAuth approval page on HTTP transports. Required unless --no-auth is used. Ignored for stdio.

Tools

See Concepts for how everything fits together, and the Tools Reference for detailed input/output schemas.

CategoryTools
BLE Coreble_scan_start, ble_scan_get_results, ble_scan_stop, ble_connect, ble_disconnect, ble_connection_status, ble_discover, ble_mtu, ble_read, ble_write, ble_read_descriptor, ble_write_descriptor, ble_subscribe, ble_unsubscribe, ble_wait_notification, ble_poll_notifications, ble_drain_notifications
Introspectionble_connections_list, ble_subscriptions_list, ble_scans_list, ble_tasks_list, ble_tasks_cancel
Protocol Specsble_spec_template, ble_spec_register, ble_spec_list, ble_spec_attach, ble_spec_get, ble_spec_read, ble_spec_search
Tracingble_trace_status, ble_trace_tail
Pluginsble_plugin_template, ble_plugin_list, ble_plugin_reload, ble_plugin_load

Protocol Specs

Specs are markdown files that describe a BLE device's protocol — services, characteristics, commands, and data formats. They live in .ble_mcp/specs/ and teach the agent what a device can do beyond raw UUIDs and bytes.

Without a spec, the agent can still discover services and read characteristics. With a spec, it knows what the values mean and what commands to send.

You can create specs by telling the agent about your device — paste a datasheet, describe the protocol, or just let it explore and document what it finds. The agent generates the spec file, registers it, and references it in future sessions. You can also write specs by hand.

See Concepts for details on spec format and how the agent uses them.


Plugins

Plugins add device-specific shortcut tools to the server. Instead of the agent composing raw read/write sequences, a plugin provides high-level operations like sensortag.read_temp or ota.upload_firmware.

The agent can also create plugins (with your approval). It explores a device, writes a plugin based on what it learns, and future sessions get shortcut tools — no manual coding required.

To enable plugins:

# Enable all plugins

claude mcp add ble -e BLE_MCP_PLUGINS=all -- ble_mcp

Enable specific plugins only

claude mcp add ble -e BLE_MCP_PLUGINS=sensortag,ota -- ble_mcp

Editing an already-loaded plugin only requires ble_plugin_reload — no restart needed.

Background tasks

Plugins can start background asyncio tasks for continuous monitoring — periodic scans, data collection loops, etc. The plugin template includes commented examples for this pattern.

Background tasks are registered with the server via state.register_task(name, task), making them visible to the agent:

  • ble_tasks_list — shows all running background tasks with status
  • ble_tasks_cancel — stops a task by ID (safety net for runaway tasks)
Plugin notifications

Plugins can send MCP log notifications to the client via state.on_log_cb(level, message). This allows plugins

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く