smartrent-mcp
v0.1.2Control SmartRent smart home devices (locks, thermostat, switches, sensors) via Claude
Starts only with mcp<2 (written for an older SDK); the install commands pin it.
Values you need
| Variable | What it is | |
|---|---|---|
SMARTRENT_EMAIL | required | Your SmartRent account email |
SMARTRENT_PASSWORD | required secret | Your SmartRent account password |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add smartrent-mcp -e 'SMARTRENT_EMAIL=<SMARTRENT_EMAIL>' -e 'SMARTRENT_PASSWORD=<SMARTRENT_PASSWORD>' -- uvx --with 'mcp<2' smartrent-mcp==0.1.2Add to
claude_desktop_config.json{
"mcpServers": {
"smartrent-mcp": {
"args": [
"--with",
"mcp<2",
"smartrent-mcp==0.1.2"
],
"command": "uvx",
"env": {
"SMARTRENT_EMAIL": "<SMARTRENT_EMAIL>",
"SMARTRENT_PASSWORD": "<SMARTRENT_PASSWORD>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"smartrent-mcp": {
"args": [
"--with",
"mcp<2",
"smartrent-mcp==0.1.2"
],
"command": "uvx",
"env": {
"SMARTRENT_EMAIL": "<SMARTRENT_EMAIL>",
"SMARTRENT_PASSWORD": "<SMARTRENT_PASSWORD>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SMARTRENT_EMAIL",
"id": "smartrent-email",
"password": true,
"type": "promptString"
},
{
"description": "SMARTRENT_PASSWORD",
"id": "smartrent-password",
"password": true,
"type": "promptString"
}
],
"servers": {
"smartrent-mcp": {
"args": [
"--with",
"mcp<2",
"smartrent-mcp==0.1.2"
],
"command": "uvx",
"env": {
"SMARTRENT_EMAIL": "${input:smartrent-email}",
"SMARTRENT_PASSWORD": "${input:smartrent-password}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.smartrent-mcp]
command = "uvx"
args = ["--with", "mcp<2", "smartrent-mcp==0.1.2"]
env = { "SMARTRENT_EMAIL" = "<SMARTRENT_EMAIL>", "SMARTRENT_PASSWORD" = "<SMARTRENT_PASSWORD>" }For AI agents
- Ask the user for: SMARTRENT_EMAIL, SMARTRENT_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: ping, get_device_status, switch_control, lock_door, set_temperature.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json