matter-mcp-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
matter-mcp-server
An MCP (Model-Context-Protocol) server that enables Claude and other AI assistants to directly interact with Matter devices and protocol operations. This server bridges the gap between AI language models and IoT device control by providing a structured interface for:
Device commissioning and management
Reading and writing device attributes
Sending commands to Matter devices
Monitoring device events and status
Searching Matter protocol documentation
Accessing Matter data models
By using matter-mcp-server, AI assistants can understand and control Matter devices through natural language, making complex IoT operations more accessible and intuitive. The server implements the FastMCP protocol, allowing seamless integration with Claude and other AI platforms that support MCP.
Key benefits:
Direct AI control of Matter devices without complex coding
Natural language interface for Matter protocol operations
Real-time device monitoring and control
Structured access to Matter documentation and data models
Installation
Clone the repository:
git clone https://github.com/your-username/matter-mcp-server.git
cd matter-mcp-serverCreate and activate a Python virtual environment:
python3 -m venv .venv
source venv/bin/activate # On Windows use: venv\Scripts\activateInstall the required dependencies:
pip install -r requirements.txtInstall uv (required for claude integration):
Use curl to download the script and execute it with sh. See this documentation: https://docs.astral.sh/uv/installation/
curl -LsSf https://astral.sh/uv/install.sh | shIf your system doesn't have curl, you can use wget:
wget -qO- https://astral.sh/uv/install.sh | shRelated MCP server: Matter Web Controller
Installing MCP in Claude
Edit the claude_desktop_config.json config file
This file is located in different locations depending on your operating system. e.g Ubuntu: ~/.config/Claude MacOS: ~/Library/Application Support/Claude Windows: %APPDATA%\Claude
Add the following to claude_desktop_config.json:
{
"mcpServers": {
"matter-mcp-server": {
"command": "uv",
"args": [
"--directory",
"[REPLACE_WITH_FULL_PATH_TO_YOUR_REPO]",
"run",
"matter-mcp-server.py"
]
}
}
}Restart Claude Desktop and wait for mcp tools to load
Claude Code - MCP Server install
If you have Claude Code installed then execute the following commands in a terminal
claude mcp addmater-mcp-serveruv --directory [REPLACE_WITH_FULL_PATH_TO_YOUR_REPO] run matter-mcp-server.pyPython Matter Server
The Python Matter Server is used by my MCP server. The Python Matter Server, from the Open Home Foundation, implements a Matter Controller Server over WebSockets using the official Matter (formerly CHIP) SDK.
For running the server and/or client in your development environment, see the Development documentation.
For running the Matter Server as a standalone docker container, see the docker instructions.
Testing with a Matter device?
A Matter Virtual Device (MVD) is a software-based emulator provided by Google that simulates Matter-compatible smart home devices for testing and development. It allows developers to validate device behavior without physical hardware. To set it up, use the Matter Virtual Device Tool, follow the steps in the MVD official guide
Experimenting
The samples directory contains various example scripts demonstrating different Matter protocol operations:
Start listening for events:
python samples/Start_Listening.pyCommission devices:
python samples/Commission_with_Code.pyGet node information:
python samples/Get_Node.pySend commands to devices:
python samples/Send_a_command.pyAnd more...
Each sample can be run directly after installing the dependencies.
To give the agent more knowledge you can add these mcp servers:
{
"mcpServers": {
"matter-mcp-server": {
"command": "uv",
"args": [
"--directory",
"[REPLACE_WITH_FULL_PATH_TO_YOUR_REPO]",
"run",
"matter-mcp-server.py"
]
},
"matter-coder-search": {
"command": "uv",
"args": [
"--directory",
"[REPLACE_WITH_FULL_PATH_TO_YOUR_REPO]",
"run",
"matter-coder-search.py"
]
},
"matter-datamodel-mcp": {
"command": "uv",
"args": [
"--directory",
"[REPLACE_WITH_FULL_PATH_TO_YOUR_REPO]",
"run",
"matter-datamodel-mcp.py"
]
}
}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
- DNS-DATA RemoteDeprecatedcom.dns-data
Connect AI assistants to authorized Windows and macOS devices for files, commands, and management.
Control your Tesla from your AI assistant - climate, charging, access, and security.
Enables AI assistants to retrieve event data and execute event management operations in Nunify.
Control your existing Philips lights, Sonos speakers, Roborock vacuums and other supported devices through Port OS cloud. Give ChatGPT, Claude and other MCP-compatible assistants access to the devices you connect. Turn off the living room lights, play music on your speakers, adjust the thermostat, run a vacuum in a room, check a camera snapshot or find a connected tracker. Available actions depend on your linked provider accounts and each device’s supported capabilities. Port OS runs in the cloud; no local server is required. You choose the account, device and capability permissions each assistant receives. Device operations require user OAuth; public tool discovery does not grant device access. Port OS is in alpha. Setup: https://portoperatingsystem.com/docs/getting-started/ Support: https://portoperatingsystem.com/contact/
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA powerful MCP server that enables AI assistants to discover, commission, and control Matter-compatible smart home devices through a standardized interface.20 npm9MIT
- AlicenseBqualityBmaintenanceEnables control of Matter smart-home devices via REST and MCP APIs, supporting lights, sensors, and AC units with federation capabilities.23MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to discover and control IoT devices on local networks and via Bluetooth LE.71MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Home Assistant via natural language, including device control, automation management, and system monitoring.MIT