debmatic-mcp
v1.3.0MCP server for controlling HomeMatic smart home devices via the CCU JSON-RPC API
Values you need
| Variable | What it is | |
|---|---|---|
CCU_HOST | required | Hostname or IP of your HomeMatic CCU (debmatic, CCU3, or RaspberryMatic) |
CCU_PASSWORD | required secret | CCU admin password (same as the WebUI login) |
CCU_USER | optional | CCU username Default: Admin |
CCU_HTTPS | optional | Connect to the CCU via HTTPS (self-signed certificates supported) Default: false |
CCU_PORT | optional | CCU API port (80 for HTTP, 443 for HTTPS) Default: 80 |
CACHE_DIR | optional | Directory for the device type cache and session persistence Default: /data |
MCP_ALLOWED_ORIGINS | 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 | 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 |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add debmatic-mcp -e 'CCU_HOST=<CCU_HOST>' -e 'CCU_PASSWORD=<CCU_PASSWORD>' -- npx -y debmatic-mcp@1.3.0 --stdioAdd to
claude_desktop_config.json{
"mcpServers": {
"debmatic-mcp": {
"args": [
"-y",
"debmatic-mcp@1.3.0",
"--stdio"
],
"command": "npx",
"env": {
"CCU_HOST": "<CCU_HOST>",
"CCU_PASSWORD": "<CCU_PASSWORD>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"debmatic-mcp": {
"args": [
"-y",
"debmatic-mcp@1.3.0",
"--stdio"
],
"command": "npx",
"env": {
"CCU_HOST": "<CCU_HOST>",
"CCU_PASSWORD": "<CCU_PASSWORD>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "CCU_HOST",
"id": "ccu-host",
"password": true,
"type": "promptString"
},
{
"description": "CCU_PASSWORD",
"id": "ccu-password",
"password": true,
"type": "promptString"
}
],
"servers": {
"debmatic-mcp": {
"args": [
"-y",
"debmatic-mcp@1.3.0",
"--stdio"
],
"command": "npx",
"env": {
"CCU_HOST": "${input:ccu-host}",
"CCU_PASSWORD": "${input:ccu-password}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.debmatic-mcp]
command = "npx"
args = ["-y", "debmatic-mcp@1.3.0", "--stdio"]
env = { "CCU_HOST" = "<CCU_HOST>", "CCU_PASSWORD" = "<CCU_PASSWORD>" }For AI agents
- Ask the user for: CCU_HOST, CCU_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_devices, list_interfaces, list_rooms, list_functions, list_programs, list_system_variables, describe_device_type, list_links, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json