
smartthings-mcp
This project provides a small Model Context Protocol server exposing a few SmartThings helper tools.
"mcpServers": {
"SmartThings": {
"type": "stdio",
"command": "uv",
"args": [
"run",
"src/server.py"
],
"env": {
"TOKEN": "Your Personal Token"
}
}
}Docker
A Dockerfile is included for convenience. Build and run the image with:
docker build -t smartthings-mcp .
docker run -e TOKEN=<api token> smartthings-mcpThe container installs the production dependencies using uv and launches the server with uv run src/server.py.
Available tools
The server exposes the following MCP tools:
get_roomsโ return a mapping of room UUIDs to names.get_devicesโ list devices with optional filtering.get_device_statusโ fetch status for a device by UUID.execute_commandsโ send commands to a device.
Copy & paste โ that's it
docker build -t smartthings-mcp .
docker run -e TOKEN= smartthings-mcpBefore it works, you'll need: TOKEN
No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.
Licensed under MITโ you can use, modify, and redistribute it under that license's terms.
View the full license file on GitHub โ