Used to make asynchronous HTTP requests to the Bond Bridge API for controlling motorized window blinds
Used for testing the blinds controller functionality
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Blinds Controllerclose the blinds in the office"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Blinds Controller
Control motorized window blinds through Bond Bridge API using Model Context Protocol (MCP).
Features
Open, close, or stop blinds movement
Filter blinds by name, location, or row
Async HTTP API integration
MCP server for AI assistant integration
Related MCP server: browser-use MCP server
Setup
Install dependencies:
pip install aiohttp mcpSet environment variables:
export MY_TOKEN="your_bond_token"
export MY_IP="192.168.x.x"Configure devices in
data/devices.json:
[
{
"id": "device_id",
"name": "front",
"location": "foyer",
"row": "top"
}
]Usage
As MCP Server
python blinds.pyDirect Function Call
from blinds import set_blinds_state
# Open all blinds
await set_blinds_state("Open")
# Close office blinds
await set_blinds_state("Close", blind_location="office")API Reference
set_blinds_state(action, blind_name="all", blind_location="all", blind_row="all")
Parameters:
action: "Open", "Close", or "Hold"blind_name: "all", "front", "sunrise", "sunset"blind_location: "all", "foyer", "office"blind_row: "all", "top", "bottom"
Testing
Run tests:
pytest test_blinds.py -v