ccu-mcp
MCP server for controlling HomeMatic smart home devices via the CCU JSON-RPC API
Documentation & Preview
{ "mcpServers": { "mcp-ccu-mcp-252dbe929788ecffb3cc": { "command": "npx", "args": [ "-y", "--package", "ccu-mcp@1.11.8", "ccu-mcp", "--stdio" ], "env": { "CCU_HOST": "${ENV_CCU_HOST}", "CCU_PASSWORD": "${ENV_CCU_PASSWORD}", "CCU_USER": "${ENV_CCU_USER}", "CCU_HTTPS": "${ENV_CCU_HTTPS}", "CCU_PORT": "${ENV_CCU_PORT}", "CACHE_DIR": "${ENV_CACHE_DIR}", "MCP_ALLOWED_ORIGINS": "${ENV_MCP_ALLOWED_ORIGINS}", "MCP_ALLOWED_HOSTS": "${ENV_MCP_ALLOWED_HOSTS}", "CCU_PROFILES": "${ENV_CCU_PROFILES}", "CCU_DEFAULT_PROFILE": "${ENV_CCU_DEFAULT_PROFILE}", "CCU_TLS_VERIFY": "${ENV_CCU_TLS_VERIFY}", "CCU_TLS_FINGERPRINT": "${ENV_CCU_TLS_FINGERPRINT}", "CCU_CA_CERT": "${ENV_CCU_CA_CERT}", "CCU_TIMEOUT": "${ENV_CCU_TIMEOUT}", "CCU_SCRIPT_TIMEOUT": "${ENV_CCU_SCRIPT_TIMEOUT}", "CACHE_TTL": "${ENV_CACHE_TTL}", "CCU_RATE_LIMIT_BURST": "${ENV_CCU_RATE_LIMIT_BURST}", "CCU_RATE_LIMIT_RATE": "${ENV_CCU_RATE_LIMIT_RATE}", "RESOURCE_POLL_INTERVAL": "${ENV_RESOURCE_POLL_INTERVAL}", "LOG_LEVEL": "${ENV_LOG_LEVEL}" } } }, "setup": { "fields": [ { "id": "ENV_CCU_HOST", "label": "CCU_HOST", "description": "Hostname or IP of your HomeMatic CCU (debmatic, CCU3, or OpenCCU/RaspberryMatic)", "required": true, "secret": false, "default": "" }, { "id": "ENV_CCU_PASSWORD", "label": "CCU_PASSWORD", "description": "CCU admin password (same as the WebUI login). Must be set; the value may be empty for a CCU with no password", "required": true, "secret": true, "default": "" }, { "id": "ENV_CCU_USER", "label": "CCU_USER", "description": "CCU username", "required": false, "secret": false, "default": "Admin" }, { "id": "ENV_CCU_HTTPS", "label": "CCU_HTTPS", "description": "Connect to the CCU via HTTPS (self-signed certificates supported)", "required": false, "secret": false, "default": "false" }, { "id": "ENV_CCU_PORT", "label": "CCU_PORT", "description": "CCU API port (80 for HTTP, 443 for HTTPS)", "required": false, "secret": false, "default": "80" }, { "id": "ENV_CACHE_DIR", "label": "CACHE_DIR", "description": "Directory for the device type cache and session persistence", "required": false, "secret": false, "default": "/data" }, { "id": "ENV_MCP_ALLOWED_ORIGINS", "label": "MCP_ALLOWED_ORIGINS", "description": "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 checks", "required": false, "secret": false, "default": "" }, { "id": "ENV_MCP_ALLOWED_HOSTS", "label": "MCP_ALLOWED_HOSTS", "description": "Extra Host header values accepted by DNS-rebinding protection (comma-separated host:port); add your hostname when behind a proxy or container DNS name", "required": false, "secret": false, "default": "" }, { "id": "ENV_CCU_PROFILES", "label": "CCU_PROFILES", "description": "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_* vars", "required": false, "secret": false, "default": "" }, { "id": "ENV_CCU_DEFAULT_PROFILE", "label": "CCU_DEFAULT_PROFILE", "description": "Which profile from CCU_PROFILES is active at startup (default: the first listed)", "required": false, "secret": false, "default": "" }, { "id": "ENV_CCU_TLS_VERIFY", "label": "CCU_TLS_VERIFY", "description": "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 those", "required": false, "secret": false, "default": "false" }, { "id": "ENV_CCU_TLS_FINGERPRINT", "label": "CCU_TLS_FINGERPRINT", "description": "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_CERT", "required": false, "secret": false, "default": "" }, { "id": "ENV_CCU_CA_CERT", "label": "CCU_CA_CERT", "description": "Path to a PEM file holding the CCU's CA or self-signed certificate. The connection is then validated against it with standard chain verification", "required": false, "secret": false, "default": "" }, { "id": "ENV_CCU_TIMEOUT", "label": "CCU_TIMEOUT", "description": "Timeout for a CCU JSON-RPC call, in MILLISECONDS", "required": false, "secret": false, "default": "10000" }, { "id": "ENV_CCU_SCRIPT_TIMEOUT", "label": "CCU_SCRIPT_TIMEOUT", "description": "Timeout for HomeMatic Script execution (ReGa), in MILLISECONDS — scripts are slower than plain API calls", "required": false, "secret": false, "default": "30000" }, { "id": "ENV_CACHE_TTL", "label": "CACHE_TTL", "description": "Lifetime of the on-disk device-type schema cache, in SECONDS", "required": false, "secret": false, "default": "86400" }, { "id": "ENV_CCU_RATE_LIMIT_BURST", "label": "CCU_RATE_LIMIT_BURST", "description": "Token-bucket burst size for CCU requests — how many may be issued back to back", "required": false, "secret": false, "default": "20" }, { "id": "ENV_CCU_RATE_LIMIT_RATE", "label": "CCU_RATE_LIMIT_RATE", "description": "Sustained CCU request rate, in requests per second", "required": false, "secret": false, "default": "10" }, { "id": "ENV_RESOURCE_POLL_INTERVAL", "label": "RESOURCE_POLL_INTERVAL", "description": "How often MCP resources are polled for change notifications, in SECONDS", "required": false, "secret": false, "default": "60" }, { "id": "ENV_LOG_LEVEL", "label": "LOG_LEVEL", "description": "error | warn | info | debug. Logs are structured JSON on stderr", "required": false, "secret": false, "default": "info" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.claymore666/ccu-mcp", "registryVersion": "1.11.8", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.claymore666%2Fccu-mcp/versions/1.11.8", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "ccu-mcp", "version": "1.11.8", "integrity": "sha512-77IojX/Rj8wOMhFqYJtiL2zDhDrFxwtji/LQa6/JUymSbMCUzsDrQ3j/IG9a1vL4dhvHo8UWCOUEpwlJ7MXegA==", "registryNameMatched": "io.github.claymore666/ccu-mcp", "checkedAt": "2026-11-11T01:21:12.947Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }