mcp-tahoma
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-tahomaClose the living room shutters"
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-tahoma
An MCP server for a Somfy TaHoma box, built from the local API's OpenAPI
descriptor (src/mcp_tahoma/tahoma-openapi.yml) with FastMCP.
Everything happens on your local network: the server talks to the box directly, no Somfy cloud involved.
1. Enable developer mode and get a token
In the TaHoma by Somfy app: Configure the installation → Access the
parameters of your box → tap 7 times on the gateway PIN (e.g.
2001-1234-5678) to reveal Developer Mode, then generate a token.
A token is only readable at creation time, so save it right away.
Related MCP server: Homey-Wan-Kenobi-MCP
2. Configure
Copy .env.example to .env and fill in the token:
cp .env.example .envVariable | Default | Meaning |
| (required) | Developer mode token |
| (discovered) | Gateway PIN, e.g. |
| (discovered) | Hostname or IP of the box, to skip mDNS discovery entirely |
|
| Local API port |
|
| Verify the gateway certificate (see TLS) |
| bundled Overkiz CA | Certificate authority to trust |
|
| HTTP timeout, in seconds |
|
| mDNS discovery timeout, in seconds |
|
| Path to the OpenAPI descriptor |
3. Check that it works
uv run mcp-tahoma --discover # list the boxes visible on this network
uv run mcp-tahoma --check # connect, verify the token, list your devices--check prints something like:
Gateway : 2001-1234-5678 (mDNS hostname)
Base URL : https://gateway-2001-1234-5678.local:8443/enduser-mobile-web/1/enduserAPI
TLS : certificate verified, hostname verified
API : 2022.1.3-1
Token : accepted, 12 device(s)
- Living room shutter io://2001-1234-5678/12345678
...4. Plug it into an MCP client
Claude Code:
claude mcp add tahoma --env TAHOMA_TOKEN=<your-token> -- uv run --directory /path/to/mcp-tahoma mcp-tahomaOr, in a client that reads a JSON config:
{
"mcpServers": {
"tahoma": {
"command": "uv",
"args": ["run", "--directory", "/path/to/mcp-tahoma", "mcp-tahoma"],
"env": { "TAHOMA_TOKEN": "<your-token>" }
}
}
}The server speaks stdio by default; --transport http --port 8765 serves HTTP
instead.
Tools
One tool per local API operation, generated from tahoma-openapi.yml:
Tool | Endpoint |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Plus two local helpers: gateway_connection_info (which box, which URL, TLS
status) and discover_local_gateways (mDNS browse).
Closing a shutter, for instance, is a single execute_actions call:
{
"label": "close the living room",
"actions": [
{
"deviceURL": "io://2001-1234-5678/12345678",
"commands": [{ "name": "setClosure", "parameters": [100] }]
}
]
}The commands a device accepts are listed in its definition.commands, returned
by get_devices.
How the box is found
TAHOMA_HOSTif set;otherwise
gateway-<TAHOMA_PIN>.localwhenTAHOMA_PINis set and resolves;otherwise an mDNS browse for
_kizboxdev._tcp, matching thegateway_pinTXT record — via python-zeroconf, falling back todns-sd(on macOS the system mDNS daemon regularly sees the box when python-zeroconf does not).
If the gateway is reached by name, the connection is fully verified; if only an IP address is available, the certificate chain is still verified but the hostname cannot be.
TLS
The box serves a certificate signed by the self-signed Overkiz authority, so
src/mcp_tahoma/certs/overkiz-root-ca-2048.crt (from
https://ca.overkiz.com/overkiz-root-ca-2048.crt) is bundled and trusted for
this connection only — the system trust store is untouched.
TAHOMA_VERIFY_SSL=false disables verification entirely. It is a last resort:
the traffic stays encrypted but nothing proves you are talking to your box.
Rate limits
There is no rate limiting on the local API, but the gateway is a small device.
Call get_setup once at start, then register_event_listener and poll
fetch_events at most once per second, rather than polling get_devices.
Listeners are destroyed after 10 minutes of inactivity or when the box reboots.
Development
uv sync
uv run pytestThe tests cover the generated tools, discovery parsing and the TLS behaviour against a throwaway HTTPS server presenting a gateway-like certificate; no real box is needed.
src/mcp_tahoma/tahoma-openapi.yml is a symlink to the descriptor at the
repository root, so the spec has a single source of truth and still ships
inside the wheel.
References
Somfy TaHoma Developer Mode (vendored in
Somfy-TaHoma-Developer-Mode-main/)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceMCP Server for deConz server developed by Dresden Elektronik (bridge between smart home automation platforms and wireless Zigbee networks)Last updatedApache 2.0
- AlicenseAqualityBmaintenanceMCP server for controlling Homey Pro smart home systems, offering 60+ tools for device control, flow authoring, automation, monitoring, and network diagnostics.Last updated60MIT
- AlicenseBqualityCmaintenanceMCP server for controlling HomeSeer HS4 with safe, auditable, and guarded write operations.Last updated631MIT
- Flicense-qualityCmaintenanceLocal MCP server for reading temperature/humidity sensors from Tuya/SmartLife devices, exposing tools to list devices, get capabilities, and read sensor data.Last updated
Related MCP Connectors
MCP server wrapping the Tesla Fleet API and TeslaMate API
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
MCP server for Withings health data — sleep, activity, heart, and body metrics.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/pierresouchay/mcp-tahoma'
If you have feedback or need assistance with the MCP directory API, please join our Discord server