Asuswrt MCP Server

Model Context Protocol (MCP) server for secure, controlled administration of AsusWRT and AsusWRT-Merlin routers via SSH.

Local serverstdioPython

What is the Asuswrt MCP Server?

Model Context Protocol (MCP) server for secure, controlled administration of AsusWRT and AsusWRT-Merlin routers via SSH.

What you get

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.

Configuration and credentials

  • Python 3.11+ - An AsusWRT or AsusWRT-Merlin router with SSH access enabled - Network connectivity from the MCP client to the router

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
confirmtrue parameter
asuswrt_restart_serviceRestart allowlisted services (httpd, firewall, wireless, dnsmasq, etc.)
asuswrt_dhcp_serverEnable/disable DHCP server
asuswrt_upnpEnable/disable UPnP

How to install the Asuswrt MCP Server

{
  "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_ASUSWRT_SSH_PASSWORD"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Python 3.11+ - An AsusWRT or AsusWRT-Merlin router with SSH access enabled - Network connectivity from the MCP client to the router
VariableDescriptionRequired
ASUSWRT_HOSTDeclared in the maintainer’s client configuration.Check documentation
ASUSWRT_SSH_USERNAMEDeclared in the maintainer’s client configuration.Check documentation
ASUSWRT_SSH_PASSWORDDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Asuswrt MCP to confirm.”
  • “Use Asuswrt MCP to Category.”
  • “Use Asuswrt MCP to Network.”

Frequently asked questions

Model Context Protocol (MCP) server for secure, controlled administration of AsusWRT and AsusWRT-Merlin routers via SSH. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.