Skip to main content

OpenWrt ubus MCP

io.github.KK4HFJ/openwrt-ubus-mcp

v0.1.1Updated Dec 5, 2026stdio · Dockerstdio · PyPI

OpenWrt over ubus: no SSH, router-enforced ACL, and changes that roll back if they break access.

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add openwrt-ubus-mcp -e 'OPENWRT_PASSWORD=<your-openwrt-password>' -- uvx openwrt-ubus-mcp==0.1.1

Configuration

5 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • OPENWRT_PASSWORD
    Env var· required· secret
    Password of that rpcd login
  • MCP_TRANSPORT
    Env var· required
    stdio for MCP clients that start the container (the image defaults to http)Default: stdio
  • OPENWRT_URL
    Env var· optional
    The router's ubus endpoint (default http://192.168.1.1/ubus)
  • OPENWRT_USER
    Env var· optional
    rpcd login with the openwrt-ubus-mcp ACL (default mcp)
  • OPENWRT_VERIFY_TLS
    Env var· optional
    true, false, or a CA file path, for an https:// router URL

Listed in the official MCP Registry since Dec 5, 2026. Mirrored daily; last checked Dec 5, 2026.