Server data from the Official MCP Registry
Secure AsusWRT router administration via SSH — 42+ tools, guarded mutations
Secure AsusWRT router administration via SSH — 42+ tools, guarded mutations
Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
3 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Set these up before or after installing:
Environment variable: ASUSWRT_HOST
Environment variable: ASUSWRT_SSH_USERNAME
Environment variable: ASUSWRT_SSH_PASSWORD
Environment variable: ASUSWRT_SSH_KEY_FILE
Environment variable: ASUSWRT_ALLOW_MUTATIONS
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-teefloo-asuswrt-mcp": {
"env": {
"ASUSWRT_HOST": "your-asuswrt-host-here",
"ASUSWRT_SSH_KEY_FILE": "your-asuswrt-ssh-key-file-here",
"ASUSWRT_SSH_PASSWORD": "your-asuswrt-ssh-password-here",
"ASUSWRT_SSH_USERNAME": "your-asuswrt-ssh-username-here",
"ASUSWRT_ALLOW_MUTATIONS": "your-asuswrt-allow-mutations-here"
},
"args": [
"asuswrt-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
mcp-name: io.github.teefloo/asuswrt-mcp
Model Context Protocol (MCP) server for secure, controlled administration of AsusWRT and AsusWRT-Merlin routers via SSH.
This MCP server provides AI assistants (like Claude, Cursor, etc.) with a safe interface to monitor and manage AsusWRT routers. It operates exclusively over SSH using allowlisted operations—no arbitrary command execution, no firmware modifications, and no factory resets.
| Category | Tools |
|---|---|
| Identity & Health | Router model, firmware version, uptime, load, memory |
| Network | LAN/WAN details, DNS config, IPv6 status, routing table |
| Clients | Connected clients, DHCP leases, ARP neighbors |
| Wireless | Radio status, SSIDs, guest networks, client counts per band |
| Services | Running processes, open ports, cron jobs |
| Storage | USB devices, mounts, partitions, filesystem usage |
| Security | UPnP, DDNS, Samba status, conntrack usage |
| VPN | OpenVPN server, WireGuard, VPN client profiles |
| Administration | Web admin ports, SSH/telnet access settings |
| Diagnostics | SSH TCP/banner/auth diagnostics, config snapshot |
All mutation tools require:
confirm: true parameterASUSWRT_ALLOW_MUTATIONS=true environment variabledry_run: true to preview changes| Tool | Description |
|---|---|
asuswrt_restart_service | Restart allowlisted services (httpd, firewall, wireless, dnsmasq, etc.) |
asuswrt_dhcp_server | Enable/disable DHCP server |
asuswrt_upnp | Enable/disable UPnP |
asuswrt_radio | Enable/disable Wi-Fi radio bands |
asuswrt_guest_wifi | Enable/disable guest Wi-Fi |
asuswrt_guest_lan_access | Toggle LAN access for guest Wi-Fi |
asuswrt_port_forwarding | List, add, remove, enable/disable port forwarding rules |
asuswrt_vpn_server | Enable/disable OpenVPN server |
asuswrt_parental_access | List, block, unblock, remove parental control rules |
asuswrt_parental_block_all | Toggle block-all mode |
asuswrt_dhcp_reservation | List, add, remove DHCP static reservations |
confirm=Truegit clone https://github.com/Teeflo/asuswrt-mcp.git
cd asuswrt-mcp
# Create virtual environment
python -m venv .venv
# Activate (Linux/macOS)
source .venv/bin/activate
# Activate (Windows)
.venv\Scripts\activate
# Install dependencies
pip install -e .
# Copy example configuration
cp .env.example .env
# Edit with your router credentials
# Use your favorite editor:
notepad .env # Windows
nano .env # Linux/macOS
.env# Required: Router connection
ASUSWRT_HOST=192.168.1.1
ASUSWRT_SSH_USERNAME=admin
ASUSWRT_SSH_PASSWORD=your_password
# Optional: SSH key authentication
# ASUSWRT_SSH_KEY_FILE=~/.ssh/id_rsa
# Optional: Enable mutations (disabled by default)
# ASUSWRT_ALLOW_MUTATIONS=true
# Optional: Connection settings
# ASUSWRT_SSH_PORT=22
# ASUSWRT_TIMEOUT_SECONDS=10
# Standard stdio mode
python -m asuswrt_mcp.server
# Or use the entry point
asuswrt-mcp
Add to your claude_desktop_config.json:
{
"mcpServers": {
"asuswrt-mcp": {
"command": "C:\\path\\to\\asuswrt-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "asuswrt_mcp.server"],
"env": {
"ASUSWRT_HOST": "192.168.1.1",
"ASUSWRT_SSH_USERNAME": "admin",
"ASUSWRT_SSH_PASSWORD": "your_password"
}
}
}
}
npx @modelcontextprotocol/inspector python -m asuswrt_mcp.server
pip install -e ".[dev]"
pytest
ASUSWRT_TEST_ROUTER=1 pytest
asuswrt-mcp/
├── src/asuswrt_mcp/
│ ├── server.py # FastMCP entrypoint & tool definitions
│ ├── service.py # Business logic & router operations
│ ├── config.py # Settings management
│ ├── clients/
│ │ └── ssh.py # SSH client wrapper
│ ├── nvram.py # NVRAM parsing utilities
│ ├── ssh_parsers.py # Output parsers for SSH commands
│ ├── security.py # Mutation guards & redaction
│ ├── validators.py # Input validation
│ ├── responses.py # Tool response formatting
│ ├── errors.py # Custom exceptions
│ └── serialization.py # Safe serialization
├── tests/ # Test suite (69 tests)
├── .env.example # Example configuration
├── pyproject.toml # Project metadata
└── README.md # This file
MIT License - see LICENSE for details.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.