Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By leslesliev0.1.0BSD-3-ClauseIn 1 marketplace
Plugin for the unifi-mcp UniFi Network and Access Controller MCP server.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A FastMCP server for managing UniFi Network and Access controllers.
This server provides MCP (Model Context Protocol) tools to interact with UniFi Network and Access controllers, allowing you to manage devices, sites, users, and other UniFi entities through an MCP interface.
graph TB
subgraph "MCP Client Layer"
A[MCP Client<br/>AI Assistant]
end
subgraph "MCP Server Layer"
B[FastMCP Server]
C{Configuration<br/>Manager}
F[Tool Registration<br/>System]
end
subgraph "Controller Layer"
D[Network Controller<br/>UniFi Network API]
E[Access Controller<br/>UniFi Access API]
end
subgraph "Tool Layer"
G[Network Tools<br/>unifi_get_sites, unifi_get_devices<br/>unifi_get_clients, unifi_get_wlans<br/>unifi_restart_device, unifi_disable_ap<br/>unifi_enable_ap, unifi_get_statistics]
H[Access Tools<br/>unifi_get_access_points<br/>unifi_get_access_users, unifi_unlock_door<br/>unifi_set_access_schedule<br/>unifi_get_access_logs]
end
subgraph "Data Models"
I[Pydantic Models<br/>NetworkDevice, NetworkClient<br/>NetworkWLAN, AccessPoint]
end
A --> B
B --> C
C -->|Configured| D
C -->|Configured| E
D --> G
E --> H
F --> G
F --> H
G --> I
H --> I
style A fill:#e1f5ff
style B fill:#fff4e1
style D fill:#e8f5e9
style E fill:#e8f5e9
style G fill:#f3e5f5
style H fill:#f3e5f5
pip install uv && uv sync
pip install -e .
You can configure the server using environment variables. The Settings class
reads these names directly (no env_prefix is set, so do NOT prefix them with
UNIFI__ or MCP_SERVER_ — those names are not bound):
# Server configuration
HOST=127.0.0.1
PORT=8000
DEBUG=true
# Network Controller (optional)
NETWORK_CONTROLLER__HOST=unifi.example.com
NETWORK_CONTROLLER__PORT=8443
NETWORK_CONTROLLER__USERNAME=admin
NETWORK_CONTROLLER__PASSWORD=<YOUR_PASSWORD_MIN_12_CHARS> # placeholder — replace
NETWORK_CONTROLLER__SITE_ID=default
# Access Controller (optional)
ACCESS_CONTROLLER__HOST=unifi-access.example.com
ACCESS_CONTROLLER__PORT=8444
ACCESS_CONTROLLER__USERNAME=admin
ACCESS_CONTROLLER__PASSWORD=<YOUR_PASSWORD_MIN_12_CHARS> # placeholder — replace
ACCESS_CONTROLLER__SITE_ID=default
Alternatively, you can configure the server in your pyproject.toml under the
[tool.unifi-mcp] section (the canonical section used by the Oneiric CLI
entry point):
[tool.unifi-mcp]
http_host = "127.0.0.1"
http_port = 3038
enable_http_transport = true
The active entry point is python -m unifi_mcp, which routes through
MCPServerCLIFactory. Run it in the foreground with host/port/debug flags:
# Foreground (blocks the terminal)
python -m unifi_mcp --host 127.0.0.1 --port 8000
# Or start in the background
python -m unifi_mcp --start-mcp-server --host 127.0.0.1 --port 8000
# Or run via the run_server() entry point
python -c "from unifi_mcp.server import run_server; run_server()"
The Typer CLI in unifi_mcp/cli.py exposes top-level lifecycle flags plus
config and test-connection subcommands, but only the lifecycle flags are
reachable via the documented entry point. The legacy start/status/subcommand
names shown in older docs are NOT registered against python -m unifi_mcp
(which uses MCPServerCLIFactory):
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
unifi@www-mcp-servers is listed by lesleslie/www-mcp-servers — review the source before installing
npx claudepluginhub lesleslie/www-mcp-servers --plugin unifiPlugins from other owners that cover similar ground