mirror of
https://github.com/mattintech/pyBTMCP.git
synced 2026-07-11 11:51:53 +00:00
v1.1.2: Smooth HR variation, validation, and UI improvements
- Fix HR variation to use smooth sinusoidal algorithm instead of erratic jumps - Clamp HR values to ±3 of target (was exceeding bounds) - Add Pydantic Field validation for device values in API - Add runtime BPM validation in MCP server - Add battery slider control for HR monitor - Add distance display and reset button for treadmill - Add UI/API version display in header - Firmware: web portal improvements, battery/distance controls Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
18
README.md
18
README.md
@@ -92,6 +92,24 @@ To use pyBTMCP with Claude Desktop, add it to your MCP configuration:
|
||||
|
||||
After saving the configuration, restart Claude Desktop. You should see the "ble-simulator" MCP server available.
|
||||
|
||||
## MCP Integration (Claude Code CLI)
|
||||
|
||||
To add pyBTMCP to Claude Code, run:
|
||||
|
||||
```bash
|
||||
claude mcp add ble-simulator \
|
||||
-s user \
|
||||
-- docker run -i --rm -p 1883:1883 -p 8000:8000 --name pybtmcp pybtmcp:latest
|
||||
```
|
||||
|
||||
This adds the MCP server to your user configuration. Use `-s project` instead to add it to the current project only.
|
||||
|
||||
To verify the server was added:
|
||||
|
||||
```bash
|
||||
claude mcp list
|
||||
```
|
||||
|
||||
## MCP Tools Reference
|
||||
|
||||
Once configured, Claude can use these tools to control BLE devices:
|
||||
|
||||
Reference in New Issue
Block a user