Asuswrt MCP logo

Asuswrt MCP

Administer AsusWRT and AsusWRT-Merlin routers over SSH with read-only monitoring and guarded configuration changes.

Install Asuswrt MCP

Run the project’s own setup commands, in order.

Setup steps from the project

asuswrt-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/Teeflo/asuswrt-mcp.git
    
  2. 2. Run
    cd asuswrt-mcp
    
  3. 3. Configure
    python -m venv .venv
    
  4. 4. Configure
    .venv\Scripts\activate
    
  5. 5. Install
    pip install -e .
    
  6. 6. Configure
    cp .env.example .env
    

Overview

The asuswrt-mcp MCP server gives AI assistants controlled SSH access to AsusWRT and AsusWRT-Merlin routers. It exposes read-only tools for router health, networking, clients, wireless, services, storage, security, VPN, administration, and diagnostics, plus guarded mutation tools. Mutations require both explicit confirmation and ASUSWRT_ALLOW_MUTATIONS=true, and support dry runs. Use it when an MCP client needs router visibility or narrowly scoped administration without arbitrary SSH commands, firmware operations, or web API access.

Use cases

  • Monitor router health and firmware status
  • Inspect connected clients and DHCP leases
  • Review wireless, VPN, and security settings
  • Preview guarded network configuration changes
  • Manage selected AsusWRT services and rules

Key features

  • SSH-based AsusWRT and AsusWRT-Merlin administration
  • 42 read-only monitoring tools
  • Guarded mutations with confirmation
  • Dry-run previews for changes
  • Allowlisted operations without arbitrary SSH
  • Sensitive-data redaction

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 76d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit7mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Asuswrt MCP works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Asuswrt MCP

asuswrt-mcp is an MCP server that connects AI assistants to AsusWRT and AsusWRT-Merlin routers over SSH. Its main tools provide read-only monitoring for health, networking, clients, wireless, services, storage, security, VPN, and diagnostics, along with guarded tools for selected router configuration changes.

Install it with Python 3.11 or newer by cloning the repository, creating a virtual environment, activating it, and running `pip install -e .`. Configure the router environment variables, then start `python -m asuswrt_mcp.server` or the `asuswrt-mcp` entry point.

Yes, asuswrt-mcp works with Cursor through its standard stdio configuration. Add the Python executable, `-m asuswrt_mcp.server`, and the router connection environment variables to Cursor's MCP server configuration.

Enable mutations by setting `ASUSWRT_ALLOW_MUTATIONS=true` and passing `confirm: true` to the mutation tool. Changes can first be checked with `dry_run: true`; mutations are disabled by default.

No, asuswrt-mcp only executes allowlisted NVRAM and service operations. It does not expose an unrestricted SSH shell, firmware operations, flash access, factory resets, bootloader access, or the router web API.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAsuswrt MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/asuswrt-mcp?style=directory)](https://allmcps.com/mcp/asuswrt-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/asuswrt-mcp"><img src="https://allmcps.com/api/badge/asuswrt-mcp?style=directory" alt="Asuswrt MCP on AllMCPs" /></a>