C

Ccu MCP

by claymore666 · io.github.claymore666/ccu-mcp

Integrates HomeMatic smart home devices (via CCU3, RaspberryMatic, or debmatic) as MCP tools, enabling natural language query and control of rooms, devices, programs, and system variables.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-claymore666-ccu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccu-mcp"
      ],
      "env": {
        "CCU_HOST": "<VALUE>",
        "CCU_PASSWORD": "<YOUR_VALUE>",
        "CCU_USER": "Admin",
        "CCU_HTTPS": "false",
        "CCU_PORT": "80",
        "CACHE_DIR": "/data",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_ALLOWED_HOSTS": "<VALUE>",
        "CCU_PROFILES": "<VALUE>",
        "CCU_DEFAULT_PROFILE": "<VALUE>",
        "CCU_TLS_VERIFY": "false",
        "CCU_TLS_FINGERPRINT": "<VALUE>",
        "CCU_CA_CERT": "<VALUE>",
        "CCU_TIMEOUT": "10000",
        "CCU_SCRIPT_TIMEOUT": "30000",
        "CACHE_TTL": "86400",
        "CCU_RATE_LIMIT_BURST": "20",
        "CCU_RATE_LIMIT_RATE": "10",
        "RESOURCE_POLL_INTERVAL": "60",
        "LOG_LEVEL": "info",
        "MCP_PORT": "3000",
        "MCP_TRANSPORT": "http",
        "MCP_AUTH_TOKEN": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-claymore666-ccu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccu-mcp"
      ],
      "env": {
        "CCU_HOST": "<VALUE>",
        "CCU_PASSWORD": "<YOUR_VALUE>",
        "CCU_USER": "Admin",
        "CCU_HTTPS": "false",
        "CCU_PORT": "80",
        "CACHE_DIR": "/data",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_ALLOWED_HOSTS": "<VALUE>",
        "CCU_PROFILES": "<VALUE>",
        "CCU_DEFAULT_PROFILE": "<VALUE>",
        "CCU_TLS_VERIFY": "false",
        "CCU_TLS_FINGERPRINT": "<VALUE>",
        "CCU_CA_CERT": "<VALUE>",
        "CCU_TIMEOUT": "10000",
        "CCU_SCRIPT_TIMEOUT": "30000",
        "CACHE_TTL": "86400",
        "CCU_RATE_LIMIT_BURST": "20",
        "CCU_RATE_LIMIT_RATE": "10",
        "RESOURCE_POLL_INTERVAL": "60",
        "LOG_LEVEL": "info",
        "MCP_PORT": "3000",
        "MCP_TRANSPORT": "http",
        "MCP_AUTH_TOKEN": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-claymore666-ccu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccu-mcp"
      ],
      "env": {
        "CCU_HOST": "<VALUE>",
        "CCU_PASSWORD": "<YOUR_VALUE>",
        "CCU_USER": "Admin",
        "CCU_HTTPS": "false",
        "CCU_PORT": "80",
        "CACHE_DIR": "/data",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_ALLOWED_HOSTS": "<VALUE>",
        "CCU_PROFILES": "<VALUE>",
        "CCU_DEFAULT_PROFILE": "<VALUE>",
        "CCU_TLS_VERIFY": "false",
        "CCU_TLS_FINGERPRINT": "<VALUE>",
        "CCU_CA_CERT": "<VALUE>",
        "CCU_TIMEOUT": "10000",
        "CCU_SCRIPT_TIMEOUT": "30000",
        "CACHE_TTL": "86400",
        "CCU_RATE_LIMIT_BURST": "20",
        "CCU_RATE_LIMIT_RATE": "10",
        "RESOURCE_POLL_INTERVAL": "60",
        "LOG_LEVEL": "info",
        "MCP_PORT": "3000",
        "MCP_TRANSPORT": "http",
        "MCP_AUTH_TOKEN": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-claymore666-ccu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccu-mcp"
      ],
      "env": {
        "CCU_HOST": "<VALUE>",
        "CCU_PASSWORD": "<YOUR_VALUE>",
        "CCU_USER": "Admin",
        "CCU_HTTPS": "false",
        "CCU_PORT": "80",
        "CACHE_DIR": "/data",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_ALLOWED_HOSTS": "<VALUE>",
        "CCU_PROFILES": "<VALUE>",
        "CCU_DEFAULT_PROFILE": "<VALUE>",
        "CCU_TLS_VERIFY": "false",
        "CCU_TLS_FINGERPRINT": "<VALUE>",
        "CCU_CA_CERT": "<VALUE>",
        "CCU_TIMEOUT": "10000",
        "CCU_SCRIPT_TIMEOUT": "30000",
        "CACHE_TTL": "86400",
        "CCU_RATE_LIMIT_BURST": "20",
        "CCU_RATE_LIMIT_RATE": "10",
        "RESOURCE_POLL_INTERVAL": "60",
        "LOG_LEVEL": "info",
        "MCP_PORT": "3000",
        "MCP_TRANSPORT": "http",
        "MCP_AUTH_TOKEN": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-claymore666-ccu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccu-mcp"
      ],
      "env": {
        "CCU_HOST": "<VALUE>",
        "CCU_PASSWORD": "<YOUR_VALUE>",
        "CCU_USER": "Admin",
        "CCU_HTTPS": "false",
        "CCU_PORT": "80",
        "CACHE_DIR": "/data",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_ALLOWED_HOSTS": "<VALUE>",
        "CCU_PROFILES": "<VALUE>",
        "CCU_DEFAULT_PROFILE": "<VALUE>",
        "CCU_TLS_VERIFY": "false",
        "CCU_TLS_FINGERPRINT": "<VALUE>",
        "CCU_CA_CERT": "<VALUE>",
        "CCU_TIMEOUT": "10000",
        "CCU_SCRIPT_TIMEOUT": "30000",
        "CACHE_TTL": "86400",
        "CCU_RATE_LIMIT_BURST": "20",
        "CCU_RATE_LIMIT_RATE": "10",
        "RESOURCE_POLL_INTERVAL": "60",
        "LOG_LEVEL": "info",
        "MCP_PORT": "3000",
        "MCP_TRANSPORT": "http",
        "MCP_AUTH_TOKEN": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-claymore666-ccu-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ccu-mcp"
      ],
      "env": {
        "CCU_HOST": "<VALUE>",
        "CCU_PASSWORD": "<YOUR_VALUE>",
        "CCU_USER": "Admin",
        "CCU_HTTPS": "false",
        "CCU_PORT": "80",
        "CACHE_DIR": "/data",
        "MCP_ALLOWED_ORIGINS": "<VALUE>",
        "MCP_ALLOWED_HOSTS": "<VALUE>",
        "CCU_PROFILES": "<VALUE>",
        "CCU_DEFAULT_PROFILE": "<VALUE>",
        "CCU_TLS_VERIFY": "false",
        "CCU_TLS_FINGERPRINT": "<VALUE>",
        "CCU_CA_CERT": "<VALUE>",
        "CCU_TIMEOUT": "10000",
        "CCU_SCRIPT_TIMEOUT": "30000",
        "CACHE_TTL": "86400",
        "CCU_RATE_LIMIT_BURST": "20",
        "CCU_RATE_LIMIT_RATE": "10",
        "RESOURCE_POLL_INTERVAL": "60",
        "LOG_LEVEL": "info",
        "MCP_PORT": "3000",
        "MCP_TRANSPORT": "http",
        "MCP_AUTH_TOKEN": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
CCU_HOST Yes Hostname or IP of your CCU
CCU_PASSWORD secret Yes CCU admin password
CCU_USER No CCU username Default: Admin
CCU_HTTPS No Connect via HTTPS (self-signed certs supported) Default: false
CCU_PORT No API port (443 when using HTTPS) Default: 80
CACHE_DIR No Where to store device type cache and session Default: /data
MCP_ALLOWED_ORIGINS No 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 No 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 No 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 No Which profile from CCU_PROFILES is active at startup (default: the first listed)
CCU_TLS_VERIFY No Verify the CCU's TLS certificate (enable if you have a proper cert) Default: false
CCU_TLS_FINGERPRINT No 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 No 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 No CCU request timeout in milliseconds Default: 10000
CCU_SCRIPT_TIMEOUT No HM Script execution timeout in milliseconds Default: 30000
CACHE_TTL No Cache lifetime in seconds (24h) Default: 86400
CCU_RATE_LIMIT_BURST No Max burst of requests sent to the CCU Default: 20
CCU_RATE_LIMIT_RATE No Sustained CCU requests per second Default: 10
RESOURCE_POLL_INTERVAL No Seconds between polls for MCP resource change notifications Default: 60
LOG_LEVEL No error, warn, info, or debug Default: info
MCP_PORT No HTTP server port (HTTP mode only) Default: 3000
MCP_TRANSPORT No http or stdio (the --stdio CLI flag overrides this) Default: http
MCP_AUTH_TOKEN No Bearer token for HTTP mode; generated and saved to $CACHE_DIR/.env on first start (optional, auto-generated if not set)

Similar servers