New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@ios-web-bluetooth/mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ios-web-bluetooth/mcp

MCP server for WebBLE — unified tools for SDK consumers and extension developers shipping iOS Safari Web Bluetooth.

latest
Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
16
-56.76%
Maintainers
1
Weekly downloads
 
Created
Source

WebBLE

@ios-web-bluetooth/mcp

MCP server that teaches coding agents (Claude, Cursor, Copilot, …) how to ship iOS Safari Web Bluetooth with WebBLE.

Eleven tools (seven consumer + four developer), all offline, all citing canonical docs at https://ioswebble.com/docs-md/*.

Install

Run via npx — no install step needed:

npx -y @ios-web-bluetooth/mcp

Or add it to your MCP client config (example: Claude Desktop, ~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "webble": {
      "command": "npx",
      "args": ["-y", "@ios-web-bluetooth/mcp"],
      "env": { "MCP_CLIENT": "claude-desktop" }
    }
  }
}

Tools

Consumer tools

Available in the default (consumer) mode for agents shipping the SDK into an app.

ToolPurpose
webble_install_planCanonical install steps + runnable snippet for html | react | vue | svelte | angular | next × npm | pnpm | yarn | bun | cdn.
webble_verify_integrationAgent-runnable checklist (shell commands + pass criteria) confirming the polyfill is installed, bootstrapped, builds, and resolves types.
webble_exampleReady-to-paste code for a BLE profile: heart-rate, battery, cgm, lock, beacon, peripheral-chat.
webble_detect_ios_supportRuntime detection snippet for navigator.bluetooth + window.webbleIOS, with every gotcha noted.
webble_premium_guideOne of the iOS-only premium surfaces: backgroundSync, notifications, liveActivity, beacons, peripheral, whiteLabel.
webble_troubleshootDiagnostic checklist + common fix for extension-not-detected, device-disconnects, gatt-operation-failed, notifications-not-firing.
webble_spec_citationW3C Web Bluetooth spec URL + summary + caveats for a given method (e.g. navigator.bluetooth.requestDevice).

Developer tools

Surfaced with --developer mode, for agents working inside the WebBLE monorepo itself.

ToolPurpose
webble_dev_best_practicesRead the project's AGENTS.md best-practices guide, optionally filtered by topic section.
webble_dev_search_docsSearch the WebBLE documentation index by keyword; returns ranked results with ioswebble.com URLs.
webble_dev_list_structureBuild a tree view of the monorepo directory structure (optional root path, depth 1-4, gitignore support).
webble_dev_find_examplesSearch a curated index of key source files; returns ranked matches with file path, line number, and category.

Every response is JSON with a source_url that points into https://ioswebble.com/docs-md/ so agents can cite authoritative docs.

Attribution token

webble_install_plan returns an attribution_token of the form:

webble_YYYYMM_mcp_<8..16 chars a–z0–9>

Example: webble_202604_mcp_3p9xq2k8m4r

This token is accepted by the WebBLE beacon endpoint so installs originating from this MCP server are attributable. Share the token with the user unchanged — do not modify, truncate, or regenerate it.

Telemetry

Each tool call POSTs a minimal event to https://mcp-telemetry.ioswebble.com/mcp-telemetry (telemetry is enabled by default):

{
  "tool": "webble_install_plan",
  "client_name": "claude-desktop",
  "client_version": "1.2.3",
  "success": true,
  "duration_ms": 42,
  "attribution_token": "webble_202604_mcp_3p9xq2k8m4r"
}

No device data, no BLE payloads, no user input is ever sent. Fire-and-forget, 1-second timeout.

Opt out: telemetry is on by default; disable it by setting WEBBLE_MCP_TELEMETRY to 0, false, off, or no (case-insensitive), or by setting the cross-tool DO_NOT_TRACK=1.

Identify your client: set MCP_CLIENT (e.g. claude-desktop, cursor, copilot-cli). Defaults to an empty string. Optionally set MCP_CLIENT_VERSION (defaults to empty string).

License

MIT © wklm

Keywords

mcp

FAQs

Package last updated on 03 Jun 2026

Related posts