ble mcp server for VS Code
io.github.es617/ble-mcp-server
Let AI agents interact with real BLE hardware — scan, connect, read, write, and subscribe.
client:VS Code
transport:stdio
runtime:pypi
Install ble mcp server in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "ble-mcp-allow-writes",
"description": "BLE_MCP_ALLOW_WRITES",
"password": true
},
{
"type": "promptString",
"id": "ble-mcp-write-allowlist",
"description": "BLE_MCP_WRITE_ALLOWLIST",
"password": true
},
{
"type": "promptString",
"id": "ble-mcp-plugins",
"description": "BLE_MCP_PLUGINS",
"password": true
},
{
"type": "promptString",
"id": "ble-mcp-tool-separator",
"description": "BLE_MCP_TOOL_SEPARATOR",
"password": true
}
],
"servers": {
"ble-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"ble-mcp-server"
],
"env": {
"BLE_MCP_ALLOW_WRITES": "${input:ble-mcp-allow-writes}",
"BLE_MCP_WRITE_ALLOWLIST": "${input:ble-mcp-write-allowlist}",
"BLE_MCP_PLUGINS": "${input:ble-mcp-plugins}",
"BLE_MCP_TOOL_SEPARATOR": "${input:ble-mcp-tool-separator}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs