Skip to content

Installation

import { Tabs, TabItem, Aside } from ‘@astrojs/starlight/components’;

```bash # Run directly without installing uvx mcbluetooth

uv tool install mcbluetooth

</TabItem>
<TabItem label="pip">
```bash
pip install mcbluetooth
```bash git clone https://github.com/yourusername/mcbluetooth cd mcbluetooth uv sync uv run mcbluetooth ```
Terminal window
# Using uvx
claude mcp add mcbluetooth -- uvx mcbluetooth
# From source
claude mcp add mcbluetooth -- uv run --directory /path/to/mcbluetooth mcbluetooth

mcbluetooth needs access to the BlueZ D-Bus interface. Most desktop Linux distributions allow this by default.

Terminal window
# Option 1: Add user to bluetooth group (requires re-login)
sudo usermod -aG bluetooth $USER
# Option 2: Verify polkit allows access (check for errors when running)
uvx mcbluetooth

For bt_capture_* tools (btmon integration):

Terminal window
# Allow btmon without sudo
sudo setcap cap_net_raw+ep /usr/bin/btmon

For file transfer, phonebook, and message access:

```bash sudo pacman -S bluez-obex ``` ```bash sudo apt install bluez-obex ``` ```bash sudo dnf install bluez-obex ```

After installing, verify with:

bt_obex_status
Terminal window
# Should show startup banner and wait for MCP connections
uvx mcbluetooth

Expected output:

🔵 mcbluetooth v0.1.0
BlueZ MCP Server - Bluetooth management for LLMs
Terminal window
# In Claude Code, try:
bt_list_adapters

Should return your Bluetooth adapter(s):

[
{
"name": "hci0",
"address": "AA:BB:CC:DD:EE:FF",
"powered": true,
"discoverable": false,
"discovering": false
}
]

BlueZ daemon isn’t running:

Terminal window
# Check status
systemctl status bluetooth
# Start if stopped
sudo systemctl start bluetooth
sudo systemctl enable bluetooth

Add user to bluetooth group:

Terminal window
sudo usermod -aG bluetooth $USER
# Log out and back in

Check if adapter is detected by the kernel:

Terminal window
# List USB devices
lsusb | grep -i bluetooth
# Check kernel module
lsmod | grep btusb
# Check dmesg
dmesg | grep -i bluetooth

Install the bluez-obex package for your distribution (see OBEX section above).

DistributionBlueZAudioStatus
Arch Linux5.85PipeWire 1.4✓ Full support
Ubuntu 22.045.64PulseAudio✓ Full support
Ubuntu 24.045.72PipeWire✓ Full support
Fedora 395.70PipeWire✓ Full support
Debian 125.66PipeWire✓ Full support