Ccu MCP
io.github.claymore666/ccu-mcp
v1.11.8Updated Nov 10, 2026stdio · npm
MCP server for controlling HomeMatic smart home devices via the CCU JSON-RPC API
Install
Needs 1 secret. Replace 2 placeholders with your own values.
Run in your terminal. Replace 2 placeholders.
claude mcp add ccu-mcp -e 'CCU_HOST=<your-ccu-host>' -e 'CCU_PASSWORD=<your-ccu-password>' -e CCU_USER=Admin -e CCU_HTTPS=false -e CCU_PORT=80 -e CACHE_DIR=/data -e CCU_TLS_VERIFY=false -e CCU_TIMEOUT=10000 -e CCU_SCRIPT_TIMEOUT=30000 -e CACHE_TTL=86400 -e CCU_RATE_LIMIT_BURST=20 -e CCU_RATE_LIMIT_RATE=10 -e RESOURCE_POLL_INTERVAL=60 -e LOG_LEVEL=info -- npx -y [email protected]The registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.
Configuration
20 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
CCU_PASSWORDEnv var· required· secretCCU admin password (same as the WebUI login). Must be set; the value may be empty for a CCU with no passwordCCU_HOSTEnv var· requiredHostname or IP of your HomeMatic CCU (debmatic, CCU3, or OpenCCU/RaspberryMatic)CCU_USEREnv var· optionalCCU usernameDefault:AdminCCU_HTTPSEnv var· optionalConnect to the CCU via HTTPS (self-signed certificates supported)Default:falseCCU_PORTEnv var· optionalCCU API port (80 for HTTP, 443 for HTTPS)Default:80CACHE_DIREnv var· optionalDirectory for the device type cache and session persistenceDefault:/data
Show 14 moreShow fewer
MCP_ALLOWED_ORIGINSEnv var· optionalComma-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_HOSTSEnv var· optionalExtra Host header values accepted by DNS-rebinding protection (comma-separated host:port); add your hostname when behind a proxy or container DNS nameCCU_PROFILESEnv var· optionalComma-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_PROFILEEnv var· optionalWhich profile from CCU_PROFILES is active at startup (default: the first listed)CCU_TLS_VERIFYEnv var· optionalVerify 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 thoseDefault:falseCCU_TLS_FINGERPRINTEnv var· optionalPin 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_CERTEnv var· optionalPath to a PEM file holding the CCU's CA or self-signed certificate. The connection is then validated against it with standard chain verificationCCU_TIMEOUTEnv var· optionalTimeout for a CCU JSON-RPC call, in MILLISECONDSDefault:10000CCU_SCRIPT_TIMEOUTEnv var· optionalTimeout for HomeMatic Script execution (ReGa), in MILLISECONDS — scripts are slower than plain API callsDefault:30000CACHE_TTLEnv var· optionalLifetime of the on-disk device-type schema cache, in SECONDSDefault:86400CCU_RATE_LIMIT_BURSTEnv var· optionalToken-bucket burst size for CCU requests — how many may be issued back to backDefault:20CCU_RATE_LIMIT_RATEEnv var· optionalSustained CCU request rate, in requests per secondDefault:10RESOURCE_POLL_INTERVALEnv var· optionalHow often MCP resources are polled for change notifications, in SECONDSDefault:60LOG_LEVELEnv var· optionalerror | warn | info | debug. Logs are structured JSON on stderrDefault:info
Links
Listed in the official MCP Registry since Nov 10, 2026. Mirrored daily; last checked Nov 26, 2026.