Skip to main content
Glama

MCP Blinds Controller

by mvellayan

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

Setup

  1. Install dependencies:
pip install aiohttp mcp
  1. Set environment variables:
export MY_TOKEN="your_bond_token" export MY_IP="192.168.x.x"
  1. Configure devices in data/devices.json:
[ { "id": "device_id", "name": "front", "location": "foyer", "row": "top" } ]

Usage

As MCP Server

python blinds.py

Direct 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
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Allows control of motorized window blinds through the Bond Bridge API, enabling users to open, close, or stop blinds with filtering by name, location, or row.

  1. Features
    1. Setup
      1. Usage
        1. As MCP Server
        2. Direct Function Call
      2. API Reference
        1. set_blinds_state(action, blind_name="all", blind_location="all", blind_row="all")
      3. Testing

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          AI-driven browser automation server that implements the Model Context Protocol to enable natural language control of web browsers for tasks like navigation, form filling, and visual interaction.
          Last updated -
          1
          2
          MIT License
          • Apple
        • -
          security
          F
          license
          -
          quality
          A TypeScript-based MCP server for controlling LIFX smart lights via the official LIFX HTTP API, allowing users to manage light states, toggle power, apply effects, and activate scenes.
          Last updated -
        • -
          security
          F
          license
          -
          quality
          A bridge that connects Dune Analytics blockchain data to AI applications through Model Control Protocol, allowing LLMs to access on-chain data via natural language interactions.
          Last updated -
          8
          • Linux
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/mvellayan/mcp_blinds'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server