A MCP server for OpenWrt devices. This is a very early version and may contain unexpected errors.
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"openwrt-mcp","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# OpenWrt MCP Controller This project provides a Model Context Protocol (MCP) server for managing OpenWrt devices. It allows you to interact with and control an OpenWrt router through a simple API. The server utilizes `fastmcp` to expose OpenWrt functionalities as tools that can be called remotely. ## 1. Prerequisites For the server to have full functionality, a custom LuCI RPC script must be placed on the target OpenWrt device. ### Install `sys.lua` on OpenWrt The `sys.lua` file in this repository extends the capabilities of the LuCI JSON-RPC interface. You must copy this file to your OpenWrt router for tools like `system_status`, `network_status`, and `set_led_state` to work. 1. **Copy the file to your OpenWrt device:** Use `scp` or any other file transfer method to copy `sys.lua` to your router. ```sh scp sys.lua root@<your_openwrt_ip>:/usr/lib/lua/luci/sys.lua ``` 2. **Verify Permissions:** Ensure the file has the correct permissions. ```sh ssh root@<your_openwrt_ip> "chmod 644 /usr/lib/lua/luci/sys.lua" ``` ## 2. Installation You can install this package directly from PyPI. ```sh pip install openwrt-mcp ``` ## 3. Configuration The server is configured through environment variables. You must set the following before running the server: - `OPENWRT_HOST`: The full URL of your OpenWrt device (e.g., `http://192.168.1.1`). - `OPENWRT_PASSWORD`: The login password for your OpenWrt device. - `OPENWRT_USERNAME`: (Optional) The login username. Defaults to `root`. Example: ```sh export OPENWRT_HOST="http://192.168.1.1" export OPENWRT_PASSWORD="your_secret_password" ``` ## 4. Usage Once installed and configured, you can start the MCP server with the following configuration: ```sh { "mcpServers":{ "openwrt-mcp":{ "command":"uvx", "args": [ "openwrt-mcp" ], "env":{ "OPENWRT_HOST":"192.168.0.1", "OPENWRT_PASSW…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.