wpa-mcp
by dogkeeper886
Overview
An MCP server that enables AI agents to control WiFi connections on Linux systems via wpa_supplicant.
Installation
WIFI_INTERFACE=wlan0 npm startEnvironment Variables
- PORT
- HOST
- WIFI_INTERFACE
- WPA_CONFIG_PATH
- WPA_DEBUG_LEVEL
- WPA_MCP_SCRIPTS_DIR
Security Notes
The `browser_run_script` tool, which executes Playwright automation scripts, uses `import(scriptUrl)` where `scriptUrl` is constructed from user-provided `script_name` without robust path traversal validation. This poses a critical arbitrary code execution vulnerability if an attacker can craft the `script_name` parameter to point to a malicious JavaScript file on the server. Additionally, Playwright is launched with `--no-sandbox` which disables important security isolation mechanisms, increasing the risk when interacting with untrusted web content. Many core functionalities (e.g., `wpa_cli`, `dhclient`, `ip`, `pkill`) are executed with `sudo` privileges, making the application a high-privilege target. Any successful command injection would lead to system-level compromise. While some input quoting is present, the extensive use of `execAsync` and `spawn` with `sudo` presents a large attack surface. The server listens on `0.0.0.0` by default, exposing its API to the network, which requires careful firewall configuration.
Similar Servers
chuk-mcp-server
A framework for building high-performance, modular, zero-configuration Model Context Protocol (MCP) servers, capable of hosting AI agent tools, resources, and prompts across local, containerized, and diverse cloud environments.
mcp-server-iris
Provides a Model Context Protocol (MCP) server for InterSystems IRIS database interaction, automation, and interoperability production management, allowing AI agents to query and control IRIS environments.
MCP_Server
Configures Model Context Protocol (MCP) integrations for Jira and GitHub, enabling structured interactions and agent-based automation with these development platforms.
saturn-mcp-server
To search and retrieve documentation articles from Rocketbot Saturn for use with an MCP client.