ccu-mcp
MCP server for controlling HomeMatic smart home devices via the CCU JSON-RPC API
Topics: Home Automation
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (npm 1.11.2)
npx -y [email protected]
Or add to your MCP client config:
{
"mcpServers": {
"ccu-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"CCU_HOST": "<YOUR_VALUE>",
"CCU_PASSWORD": "<YOUR_VALUE>",
"CCU_USER": "<YOUR_VALUE>",
"CCU_HTTPS": "<YOUR_VALUE>",
"CCU_PORT": "<YOUR_VALUE>",
"CACHE_DIR": "<YOUR_VALUE>",
"MCP_ALLOWED_ORIGINS": "<YOUR_VALUE>",
"MCP_ALLOWED_HOSTS": "<YOUR_VALUE>",
"CCU_PROFILES": "<YOUR_VALUE>",
"CCU_DEFAULT_PROFILE": "<YOUR_VALUE>",
"CCU_TLS_VERIFY": "<YOUR_VALUE>",
"CCU_TLS_FINGERPRINT": "<YOUR_VALUE>",
"CCU_CA_CERT": "<YOUR_VALUE>",
"CCU_TIMEOUT": "<YOUR_VALUE>",
"CCU_SCRIPT_TIMEOUT": "<YOUR_VALUE>",
"CACHE_TTL": "<YOUR_VALUE>",
"CCU_RATE_LIMIT_BURST": "<YOUR_VALUE>",
"CCU_RATE_LIMIT_RATE": "<YOUR_VALUE>",
"RESOURCE_POLL_INTERVAL": "<YOUR_VALUE>",
"LOG_LEVEL": "<YOUR_VALUE>"
}
}
}
}
CCU_HOSTrequired — Hostname or IP of your HomeMatic CCU (debmatic, CCU3, or OpenCCU/RaspberryMatic)CCU_PASSWORDrequired secret — CCU admin password (same as the WebUI login). Must be set; the value may be empty for a CCU with no passwordCCU_USER— CCU usernameCCU_HTTPS— Connect to the CCU via HTTPS (self-signed certificates supported)CCU_PORT— CCU API port (80 for HTTP, 443 for HTTPS)CACHE_DIR— Directory for the device type cache and session persistenceMCP_ALLOWED_ORIGINS— Comma-separated allowlist of browser origins. Unset = no cross-origin browser access (default-deny). An allowlisted origin is reflected exactly in Access-Control-Allow-Origin (never '*'); the list also drives DNS-rebinding origin checksMCP_ALLOWED_HOSTS— Extra Host header values accepted by DNS-rebinding protection (comma-separated host:port); add your hostname when behind a proxy or container DNS nameCCU_PROFILES— Comma-separated names of multiple CCU targets (e.g. 'prod,dev'). Each profile takes the flat CCU_* settings prefixed CCU_<NAME>_ (CCU_PROD_HOST, ...), plus policy flags CCU_<NAME>_PROTECTED (writes need confirm:true) and CCU_<NAME>_READONLY. Unset = single default profile from the flat CCU_* varsCCU_DEFAULT_PROFILE— Which profile from CCU_PROFILES is active at startup (default: the first listed)CCU_TLS_VERIFY— Verify the CCU's TLS certificate against the system trust store. Only meaningful with CCU_HTTPS=true. Default false, because a CCU ships a self-signed certificate — prefer CCU_TLS_FINGERPRINT or CCU_CA_CERT to verify one of thoseCCU_TLS_FINGERPRINT— Pin the CCU's self-signed leaf certificate by its SHA-256 fingerprint (hex, colons optional). The strongest option for an appliance: the connection is rejected unless the presented certificate matches. Takes precedence over CCU_CA_CERTCCU_CA_CERT— Path to a PEM file holding the CCU's CA or self-signed certificate. The connection is then validated against it with standard chain verificationCCU_TIMEOUT— Timeout for a CCU JSON-RPC call, in MILLISECONDSCCU_SCRIPT_TIMEOUT— Timeout for HomeMatic Script execution (ReGa), in MILLISECONDS — scripts are slower than plain API callsCACHE_TTL— Lifetime of the on-disk device-type schema cache, in SECONDSCCU_RATE_LIMIT_BURST— Token-bucket burst size for CCU requests — how many may be issued back to backCCU_RATE_LIMIT_RATE— Sustained CCU request rate, in requests per secondRESOURCE_POLL_INTERVAL— How often MCP resources are polled for change notifications, in SECONDSLOG_LEVEL— error | warn | info | debug. Logs are structured JSON on stderr
This server takes extra arguments — see its repository.
This repository has 2 servers listed in the Official MCP Registry.
Other names: io.github.claymore666/debmatic-mcp
Related servers
mijia-control
Control Xiaomi/Mijia smart home devices (lights, AC, heaters, robots, cameras) through MCP. Includes web dashboard, REST API, CLI,…
smartest-tv
Control any smart TV with natural language. Resolve Netflix/YouTube/Spotify and deep-link.
zigbee2mqtt-mcp
Administer a Zigbee2MQTT estate: health, mesh diagnostics, OTA, pairing, device management.
nickol-knx
Read-only KNX/ETS project auditor: validates a .knxproj and generates Home Assistant YAML
fritzbox-mcp-server
Control AVM FRITZ!Box routers - manage devices, WiFi, network settings, parental controls, and schedule time-delayed actions
ac-infinity-mcp
Monitor and automate AC Infinity grow controllers through natural conversation with Claude. 25 tools covering live sensor data, multi-day…
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry