Feedback

MCP Server for OpenHAB

@pendialek Claim

Basic information

Runtime
node
Category
License
Not specified
Transports
stdio
Author
pendialek
Submitted by
Community
Quality
10

About MCP Server for OpenHAB

mcp-server-openhab

MCP Server for OpenHAB is a MCP server in the Other category listed in the AddMCP.net directory, published by pendialek. Supported transport: stdio. Runtime: node. Source code is hosted on github.com. Related topics: api-integration, mcp-server, openhab.

MCP Server for OpenHAB config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

MCP Server for OpenHAB tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Server for OpenHAB?

MCP Server for OpenHAB is a server that connects MCP with the OpenHAB REST API, enabling MCP to interact with OpenHAB items. It is intended for developers and users who want to integrate MCP-based tools with their local OpenHAB smart home instance.

How to use MCP Server for OpenHAB?

Create a .env file with OPENHAB_URL and OPENHAB_TOKEN, install dependencies with npm install, then build the project using npm run build. For development, run with npm run dev (auto-restart); for production, run the compiled server with npm start or similar.

Key features of MCP Server for OpenHAB

  • Provides two MCP operations: getItemState and sendCommand
  • Communicates with OpenHAB via its REST API
  • Requires only URL and API token configuration
  • Built with TypeScript for type safety
  • Supports development mode with automatic restarts

Use cases of MCP Server for OpenHAB

  • Retrieve the current state of any OpenHAB item from an MCP client
  • Send commands to OpenHAB items (e.g., turn lights on/off)
  • Automate smart home actions through MCP-integrated assistants or workflows
  • Monitor item states for dashboards or alerts

Frequently asked questions

1 What configuration is required?

You must create a .env file with OPENHAB_URL (your local OpenHAB instance URL) and OPENHAB_TOKEN (an API token from OpenHAB).

2 What MCP operations are available?

Two operations are implemented: getItemState (returns the current state of an item) and sendCommand (sends a command to an item).

3 What are the runtime requirements?

The server is written in TypeScript and requires Node.js with npm. Dependencies are installed via npm install, and the project must be built before production use.

4 How do I run this in development?

Use npm run dev to start the server with automatic restart on file changes. For production, first build with npm run build, then run the compiled output.

5 Where do I find the API token?

The OPENHAB_TOKEN must be generated in your OpenHAB instance’s REST API settings. The server uses it for authenticated requests to the OpenHAB REST API.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬