Skip to main content

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_PASSWORD
    Env var· required· secret
    CCU admin password (same as the WebUI login). Must be set; the value may be empty for a CCU with no password
  • CCU_HOST
    Env var· required
    Hostname or IP of your HomeMatic CCU (debmatic, CCU3, or OpenCCU/RaspberryMatic)
  • CCU_USER
    Env var· optional
    CCU usernameDefault: Admin
  • CCU_HTTPS
    Env var· optional
    Connect to the CCU via HTTPS (self-signed certificates supported)Default: false
  • CCU_PORT
    Env var· optional
    CCU API port (80 for HTTP, 443 for HTTPS)Default: 80
  • CACHE_DIR
    Env var· optional
    Directory for the device type cache and session persistenceDefault: /data
Show 14 more
  • MCP_ALLOWED_ORIGINS
    Env var· optional
    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
  • MCP_ALLOWED_HOSTS
    Env var· optional
    Extra Host header values accepted by DNS-rebinding protection (comma-separated host:port); add your hostname when behind a proxy or container DNS name
  • CCU_PROFILES
    Env var· optional
    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
  • CCU_DEFAULT_PROFILE
    Env var· optional
    Which profile from CCU_PROFILES is active at startup (default: the first listed)
  • CCU_TLS_VERIFY
    Env var· optional
    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 thoseDefault: false
  • CCU_TLS_FINGERPRINT
    Env var· optional
    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
  • CCU_CA_CERT
    Env var· optional
    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
  • CCU_TIMEOUT
    Env var· optional
    Timeout for a CCU JSON-RPC call, in MILLISECONDSDefault: 10000
  • CCU_SCRIPT_TIMEOUT
    Env var· optional
    Timeout for HomeMatic Script execution (ReGa), in MILLISECONDS — scripts are slower than plain API callsDefault: 30000
  • CACHE_TTL
    Env var· optional
    Lifetime of the on-disk device-type schema cache, in SECONDSDefault: 86400
  • CCU_RATE_LIMIT_BURST
    Env var· optional
    Token-bucket burst size for CCU requests — how many may be issued back to backDefault: 20
  • CCU_RATE_LIMIT_RATE
    Env var· optional
    Sustained CCU request rate, in requests per secondDefault: 10
  • RESOURCE_POLL_INTERVAL
    Env var· optional
    How often MCP resources are polled for change notifications, in SECONDSDefault: 60
  • LOG_LEVEL
    Env var· optional
    error | warn | info | debug. Logs are structured JSON on stderrDefault: info

Listed in the official MCP Registry since Nov 10, 2026. Mirrored daily; last checked Nov 26, 2026.