# asuswrt-mcp [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/teefloo/asuswrt-mcp  
**GitHub Stars:** 3  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/asuswrt-mcp

## Description
Secure AsusWRT router administration via SSH — 42+ tools, guarded mutations

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/teefloo/asuswrt-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/Teeflo/asuswrt-mcp.git
```

2. Run:

```sh
cd asuswrt-mcp
```

3. Configure:

```sh
python -m venv .venv
```

4. Configure:

```sh
.venv\Scripts\activate
```

5. Install:

```sh
pip install -e .
```

6. Configure:

```sh
cp .env.example .env
```

## Documentation

## What the asuswrt-mcp MCP server does

The asuswrt-mcp MCP server connects an MCP client to an AsusWRT or AsusWRT-Merlin router through SSH. It is intended for controlled administration rather than unrestricted shell access. Read-only tools cover router identity and health, LAN and WAN configuration, DNS, IPv6, routes, connected clients, DHCP leases, ARP neighbors, wireless radios and guest networks, processes, ports, cron jobs, USB storage, mounts, filesystem usage, UPnP, DDNS, Samba, conntrack, VPN settings, administrative access, and diagnostics.

The server also provides narrowly defined changes for selected router settings. These include service restarts, DHCP, UPnP, Wi-Fi radios, guest Wi-Fi, guest LAN access, port forwarding, the OpenVPN server, parental controls, and DHCP reservations.

## How it works

The asuswrt-mcp MCP server runs as a local Python process using standard MCP stdio transport. The MCP client starts the module or installed entry point, and the server reaches the router over SSH. Router data is collected through allowlisted NVRAM and service operations; arbitrary SSH commands are not exposed as tools.

Changes have several gates. Each mutation must receive `confirm: true`, and mutations remain disabled unless `ASUSWRT_ALLOW_MUTATIONS=true` is set. Mutation tools also accept `dry_run: true`, allowing a client to preview an operation before applying it. Responses redact passwords and other sensitive data. The implementation does not provide router web API access, firmware modification, flash access, factory reset, or bootloader operations.

## Setup and configuration

Use Python 3.11 or newer, an AsusWRT-compatible router with SSH enabled, and network connectivity between the MCP client and router. Install the project in a virtual environment with `pip install -e .`, then run `python -m asuswrt_mcp.server` or the `asuswrt-mcp` entry point.

Set the router host, SSH username, and SSH password in the environment or a `.env` file. SSH key authentication can be configured with `ASUSWRT_SSH_KEY_FILE`. The SSH port and connection timeout are configurable, with documented defaults of port 22 and a 10-second timeout. Keep `ASUSWRT_ALLOW_MUTATIONS` unset unless configuration changes are intentionally needed.

Claude Desktop and Cursor can launch the server by specifying the Python executable, the `asuswrt_mcp.server` module, and the router environment variables in their MCP configuration. The MCP Inspector can also start the server for development.

## Tools and capabilities

The asuswrt-mcp MCP server includes 42 read-only monitoring tools, organized around:

- Identity, firmware, uptime, load, and memory
- LAN, WAN, DNS, IPv6, and routing information
- Clients, leases, ARP neighbors, wireless, and guest networks
- Processes, ports, cron jobs, USB devices, mounts, and storage
- UPnP, DDNS, Samba, conntrack, VPN, and administration settings
- SSH diagnostics and configuration snapshots

Mutation tools manage allowlisted services and selected network controls. They can list, add, remove, enable, disable, block, or unblock items depending on the operation.

## Limitations and notes

SSH must already be enabled on the router, and the MCP client must be able to reach it. The server is not a general-purpose SSH terminal. It does not expose arbitrary commands, the router web API, firmware updates, factory resets, flash operations, or bootloader access. Mutation support is limited to the listed tools and remains disabled by default. Live integration tests require a separately configured test router.

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

