Debmatic MCP logo

Debmatic MCP

by claymore666

Control HomeMatic devices, sensors, rooms, programs, and CCU settings through 25 MCP tools.

Install Debmatic MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for claymore666/debmatic-mcp, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

claymore666/debmatic-mcp connects MCP clients to a HomeMatic or debmatic CCU through its local JSON-RPC and HM-Script APIs. It exposes 25 tools for reading sensors and system state, controlling switches and dimmers, running programs, and managing device organization. Use it when an AI assistant needs direct access to a CCU3, debmatic, or OpenCCU installation without a cloud service. The server supports stdio for subprocess-based clients and HTTP for standalone deployments.

Use cases

  • Read temperatures, window states, battery levels, and meter values
  • Control switches, dimmers, and heating setpoints
  • Run HomeMatic programs from an AI client
  • Inspect service messages and system variables
  • Organize rooms, functions, links, and device assignments

Key features

  • 25 MCP tools for HomeMatic CCU control
  • JSON-RPC and HM-Script API access
  • Stdio and standalone HTTP transports
  • Device discovery and value conversion
  • Room, function, link, and assignment management
  • Bearer authentication and HTTP host protection

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

5/5 checks healthy over the last 59d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
npm downloads277Package downloads in the last 30 days.
Last commit3d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Debmatic MCP works

What claymore666/debmatic-mcp does

claymore666/debmatic-mcp gives an MCP-compatible AI client access to a HomeMatic central control unit. It works with debmatic on Debian, CCU3, and OpenCCU installations that expose the standard /api/homematic.cgi endpoint. Communication stays on the local network and uses the CCU's built-in JSON-RPC and HM-Script interfaces; no additional CCU addon or XML-API installation is needed.

The server covers both everyday device control and administrative organization. An assistant can inspect temperatures, window states, battery conditions, gas-meter readings, and other values; change heating targets; operate switches and dimmers; and read service messages and system variables. It can also run CCU programs and work with rooms, functions, channel links, and device assignments.

How it works

The server handles CCU login sessions, device discovery, type resolution, and conversion of returned values before exposing operations as MCP tools. This lets the client work with named HomeMatic objects rather than implementing the CCU protocols itself. The package provides 25 tools in total.

Two transports are available. In stdio mode, an MCP client starts the process as a child and passes the CCU connection settings through its environment. In HTTP mode, the server runs independently, commonly in Docker, and clients connect to its MCP endpoint over the network. The HTTP deployment creates a bearer token at first startup and stores it in the data volume.

Setup and configuration

A reachable CCU and its WebUI administrator credentials are required. Running from source or using stdio requires Node.js 24 or newer; Docker is also supported. The basic stdio setup supplies CCU_HOST and CCU_PASSWORD, then starts the package with npx ccu-mcp --stdio.

Docker images are published for Linux amd64 and arm64. An HTTP container typically maps port 3000, passes the CCU credentials, and mounts /data so the generated authentication token, CCU session, and device-type cache can persist. Remote HTTP clients require MCP_ALLOWED_HOSTS to include each hostname or IP and port used to reach the server. Requests use the generated bearer token. Browser-based clients additionally need trusted origins listed in MCP_ALLOWED_ORIGINS.

The default cache location is /data, which suits the container layout. For a non-container installation, set CACHE_DIR to a writable directory if session and device-type data should survive restarts. The init command can probe the CCU, pin its TLS certificate, test login credentials, create a .env file, and print a matching client configuration.

Tools and capabilities

Available operations include:

  • Discover HomeMatic devices, channels, rooms, and functions.
  • Read sensor values, system variables, service messages, battery status, and meter readings.
  • Switch and dim actuators and change heating setpoints.
  • Run CCU programs.
  • Manage rooms, functions, channel links, and device assignments.
  • Inspect naming and assignment patterns, including channels whose names differ from their devices.

Limitations and notes

The CCU must be reachable from the process or container, and the supplied credentials are the same ones used by the CCU WebUI. HTTP deployments should use TLS through a reverse proxy when accessed beyond loopback because the bearer token is sent with requests. DNS-rebinding protection is enabled for HTTP; unlisted hostnames receive a 403 response. Browser access is blocked unless its origin is explicitly allowed, and authentication remains required for every MCP request.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Debmatic MCP

claymore666/debmatic-mcp is an MCP server that connects AI clients to HomeMatic, debmatic, CCU3, or OpenCCU systems through their JSON-RPC and HM-Script APIs. Its 25 tools can read sensors and system state, control switches and dimmers, run programs, and manage rooms, functions, links, and device assignments.

Install it with Node.js 24+ and run `npx ccu-mcp --stdio` after setting `CCU_HOST` and `CCU_PASSWORD`, or run the published Docker image for standalone HTTP access. The `init` command can generate a `.env` file and matching MCP client configuration.

Yes, it works with Cursor through the MCP configuration. Use stdio to let Cursor start the process, or configure an HTTP connection to a separately running deployment with its bearer authorization token.

Set `CCU_HOST` to the debmatic hostname or IP address and `CCU_PASSWORD` to the CCU WebUI administrator password. The server connects to the standard HomeMatic API endpoint exposed by debmatic.

Add the hostname or IP address and port used by the client to the comma-separated `MCP_ALLOWED_HOSTS` value. HTTP DNS-rebinding protection rejects hosts other than the local defaults or explicitly permitted entries.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDebmatic MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/claymore666-debmatic-mcp?style=directory)](https://allmcps.com/mcp/claymore666-debmatic-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/claymore666-debmatic-mcp"><img src="https://allmcps.com/api/badge/claymore666-debmatic-mcp?style=directory" alt="Debmatic MCP on AllMCPs" /></a>