MCP Server Studio

Debmatic MCP MCP server

MCP server for controlling HomeMatic smart home devices via the CCU JSON-RPC API

Registry name: io.github.claymore666/debmatic-mcp

Publisher
claymore666
Runs
Runs locally
Package
npm
Version
1.3.0
Category
Developer tools
Updated
2026-06-17

Source code on GitHub

Set up Debmatic MCP (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "debmatic-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "CCU_HOST": "<CCU_HOST>",
        "CCU_PASSWORD": "<CCU_PASSWORD>",
        "CCU_USER": "<CCU_USER>",
        "CCU_HTTPS": "<CCU_HTTPS>",
        "CCU_PORT": "<CCU_PORT>",
        "CACHE_DIR": "<CACHE_DIR>",
        "MCP_ALLOWED_ORIGINS": "<MCP_ALLOWED_ORIGINS>",
        "MCP_ALLOWED_HOSTS": "<MCP_ALLOWED_HOSTS>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add debmatic-mcp -e CCU_HOST='<CCU_HOST>' -e CCU_PASSWORD='<CCU_PASSWORD>' -e CCU_USER='<CCU_USER>' -e CCU_HTTPS='<CCU_HTTPS>' -e CCU_PORT='<CCU_PORT>' -e CACHE_DIR='<CACHE_DIR>' -e MCP_ALLOWED_ORIGINS='<MCP_ALLOWED_ORIGINS>' -e MCP_ALLOWED_HOSTS='<MCP_ALLOWED_HOSTS>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "debmatic-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "CCU_HOST": "<CCU_HOST>",
        "CCU_PASSWORD": "<CCU_PASSWORD>",
        "CCU_USER": "<CCU_USER>",
        "CCU_HTTPS": "<CCU_HTTPS>",
        "CCU_PORT": "<CCU_PORT>",
        "CACHE_DIR": "<CACHE_DIR>",
        "MCP_ALLOWED_ORIGINS": "<MCP_ALLOWED_ORIGINS>",
        "MCP_ALLOWED_HOSTS": "<MCP_ALLOWED_HOSTS>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "debmatic-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "CCU_HOST": "<CCU_HOST>",
        "CCU_PASSWORD": "<CCU_PASSWORD>",
        "CCU_USER": "<CCU_USER>",
        "CCU_HTTPS": "<CCU_HTTPS>",
        "CCU_PORT": "<CCU_PORT>",
        "CACHE_DIR": "<CACHE_DIR>",
        "MCP_ALLOWED_ORIGINS": "<MCP_ALLOWED_ORIGINS>",
        "MCP_ALLOWED_HOSTS": "<MCP_ALLOWED_HOSTS>"
      }
    }
  }
}

Windsurf

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

{
  "mcpServers": {
    "debmatic-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "CCU_HOST": "<CCU_HOST>",
        "CCU_PASSWORD": "<CCU_PASSWORD>",
        "CCU_USER": "<CCU_USER>",
        "CCU_HTTPS": "<CCU_HTTPS>",
        "CCU_PORT": "<CCU_PORT>",
        "CACHE_DIR": "<CACHE_DIR>",
        "MCP_ALLOWED_ORIGINS": "<MCP_ALLOWED_ORIGINS>",
        "MCP_ALLOWED_HOSTS": "<MCP_ALLOWED_HOSTS>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
CCU_HOSTYesHostname or IP of your HomeMatic CCU (debmatic, CCU3, or RaspberryMatic)
CCU_PASSWORDYesCCU admin password (same as the WebUI login)
CCU_USERNoCCU username
CCU_HTTPSNoConnect to the CCU via HTTPS (self-signed certificates supported)
CCU_PORTNoCCU API port (80 for HTTP, 443 for HTTPS)
CACHE_DIRNoDirectory for the device type cache and session persistence
MCP_ALLOWED_ORIGINSNoComma-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…
MCP_ALLOWED_HOSTSNoExtra Host header values accepted by DNS-rebinding protection (comma-separated host:port); add your hostname when behind a proxy or container DNS name

More developer tools MCP servers