Zigbee2MQTT-MCP
by loryanstrant
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_HOST | No | HTTP bind host | 0.0.0.0 |
| MCP_PATH | No | HTTP bind path | /mcp |
| MCP_PORT | No | HTTP bind port | 8080 |
| MCP_LOG_LEVEL | No | Log level | INFO |
| MCP_TRANSPORT | No | `http` (streamable HTTP) or `stdio` | http |
| Z2M_AUTH_TOKEN | No | Frontend `auth_token`, appended as `?token=…` | |
| Z2M_FRONTEND_URL | No | Base URL of the Zigbee2MQTT frontend. `ws(s)://…/api` is derived from it | http://localhost:8080 |
| Z2M_TLS_INSECURE | No | Skip TLS verification for `wss://` (self-signed) | false |
| MCP_ALLOWED_HOSTS | No | Host allowlist (used when protection is on) | *.strant.casa,localhost,127.0.0.1 |
| MCP_HOST_PROTECTION | No | DNS-rebind Host/Origin protection: `false`, `true`, or `auto` | false |
| Z2M_CONNECT_TIMEOUT | No | Seconds to wait for the initial snapshot at startup | 20 |
| Z2M_REQUEST_TIMEOUT | No | Seconds to wait for a `bridge/response` | 15 |
| Z2M_ALLOW_DESTRUCTIVE | No | Enable the protected management tools | false |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/loryanstrant/Zigbee2MQTT-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server