# BLEA MCP server

> Enables AI agents to perform safe Bluetooth Low Energy diagnostics, GATT service discovery, and guarded automation with offline evidence replay.

- Repository: https://github.com/Nitmi/blea
- Page: https://hostedmcp.org/servers/nitmi/blea
- Transport: stdio
- Stars: 13
- License: MIT
- Latest version: 0.7.0

## Install

### Claude Code

```sh
claude mcp add blea -- uvx blea
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "blea": {
      "command": "uvx",
      "args": [
        "blea"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "blea": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "blea"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"blea","type":"stdio","command":"uvx","args":["blea"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "blea": {
      "command": "uvx",
      "args": [
        "blea"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add blea -- uvx blea
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.blea]
command = "uvx"
args = ["blea"]
```

### Gemini CLI

```sh
gemini mcp add -s user blea uvx -- blea
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "blea": {
      "command": "uvx",
      "args": [
        "blea"
      ]
    }
  }
}
```

## FAQ

### Can I test BLE workflows without physical hardware?

Yes, you can use the replay feature to reconstruct advertisements, GATT, reads, and notifications from a previously captured evidence package.

### What is required to install BLEA?

BLEA requires Python 3.10 or newer and uses the Bleak library for operating system Bluetooth access.
