openhab-mcp
3
The OpenHAB MCP Server is designed to enable seamless interaction between AI assistants and openHAB smart home systems using a Model Context Protocol server. It facilitates comprehensive management of openHAB components like items, rules, and scripts through natural language commands.
OpenHAB MCP Server
This project provides an MCP server that connects to an openHAB instance via its REST API, enabling AI assistants like Claude and Cline to interact with openHAB smart home systems. It supports operations on Items, Things, Rules, and Scripts, offering a comprehensive interface to manage core openHAB components.
Features
- Item management: list, get, create, update, delete, and update states.
- Thing management: list and get things.
- Rule management: list, get, create, update, delete, and run rules on demand.
- Script management: list, get, create, update, and delete scripts.
Installation and Usage
- Build the Docker image.
- Run the Docker container.
- Stop the container when needed.
Integration
- Compatible with Claude and Cline for natural language interaction in VSCode.
Requirements
- Python 3.7+
License
MIT