# smartrent-mcp [Health: Active]

**Category:** 🏠 Home Automation  
**Repository:** https://github.com/Evin009/SmartRent-MCP  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/smartrent-mcp

## Description
Control SmartRent smart home devices (locks, thermostat, switches, sensors) via Claude

## Tools
Capabilities this server exposes over MCP:

- **ping** — Test that the server is alive
- **get_device_status** — Read the status of all devices — locks, thermostat, switches, sensors
- **switch_control** — Turn a light switch on or off
- **lock_door** — Lock or unlock the front door
- **set_temperature** — Set thermostat temperature, mode, and unit

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "smartrent-mcp": {
    "command": "uvx",
    "args": ["smartrent-mcp"],
    "env": {
      "SMARTRENT_EMAIL": "",
      "SMARTRENT_PASSWORD": "",
      "TRANSPORT": "",
      "PORT": ""
    }
  }
}
```

**Requires environment variables:** `SMARTRENT_EMAIL`, `SMARTRENT_PASSWORD`, `TRANSPORT`, `PORT` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What smartrent-mcp does

smartrent-mcp connects an MCP-compatible client to a SmartRent account and exposes controls for common residential devices. It can report the status of locks, thermostats, light switches, and sensors; toggle a named switch; lock or unlock the front door; and change thermostat settings.

The server is intended for homes or buildings that already use SmartRent hardware and have those devices configured in the SmartRent app. Device names are matched partially and without regard to capitalization, so a request referring to “dining” can match a switch named “Dining Room.”

## How it works

The package is written for Python 3.10 or newer and uses the MCP Python SDK together with `smartrent-py`. In its default configuration, it starts as a local stdio process that an MCP client launches when needed. Claude Desktop can invoke it through either `uvx` or the installed `smartrent-mcp` command.

For remote use, set `TRANSPORT` to `sse`. The process then starts an HTTP/SSE service, listening on port 8000 unless `PORT` specifies another port. A deployed instance can be connected at its `/sse` endpoint, including from Claude Web.

## Setup and configuration

A SmartRent account with configured devices is required. Install the package with `uv`/`uvx` or with pip. For a local Claude Desktop setup, add the server to the desktop MCP configuration and provide the account credentials as environment variables, then fully restart the application.

The required variables are:

- `SMARTRENT_EMAIL`: SmartRent account email.
- `SMARTRENT_PASSWORD`: SmartRent account password.

Remote deployments also use `TRANSPORT=sse` and may set `PORT`. Supported hosting environments include services that can run Python, such as Railway, Render, and Fly.io.

Credentials are passed to the server process and used for the SmartRent login API. The package does not log or store them. Remote SSE mode has no authentication layer, so anyone who can reach the deployment URL can control the connected home; keep the URL private or restrict network access.

## Tools and capabilities

- `ping` checks whether the MCP process is responding.
- `get_device_status` reads the status of all available locks, thermostats, switches, and sensors.
- `switch_control` turns a named light switch on or off. It accepts a partial, case-insensitive device name.
- `lock_door` locks or unlocks the front door.
- `set_temperature` changes the thermostat temperature, operating mode, and unit. Modes include `cool`, `heat`, `auto`, and `off`; temperature units can be Fahrenheit or Celsius.

## Limitations and notes

The account must contain the device type being requested. For example, switch commands require a configured SmartRent switch, while thermostat commands require a SmartRent thermostat. Claude Desktop needs a full application restart after configuration changes; closing only the window may not reload the server. Local stdio mode is the default, while remote access requires an SSE deployment and carries the security considerations described above.

_Full upstream README: https://allmcps.com/mcp/smartrent-mcp/readme_

