unifi-network-mcp
Active·★ 378·MIT·Updated 2026-05-28
★ Hidden Gem★ API Integration
MCP server implementation for the UniFi network application
UniFi Network MCP Server is a self-hosted Model Context Protocol (MCP) server that integrates with UniFi Network Controllers. It exposes UniFi functionalities as standardized tools for LLMs and agents, enabling intelligent querying, analysis, and authorized modification of network settings.
#UniFi Network#MCP#LLM Tools#Network Automation#Python#Docker#API Integration#Tool Calling
01
Features
01Full catalog of UniFi controller operations including firewall, traffic routes, WLANs, and devices.
02Safety-first design: All mutating tools require explicit 'confirm=true' for network changes.
03Flexible communication: Supports stdio (FastMCP) and optional HTTP endpoint for diverse deployments.
04Advanced capabilities: Code execution mode with dynamic tool indexing and async operations for efficient LLM interaction.
05Workflow automation friendly, allowing to skip confirmation prompts via environment variables.
02
Compatibility
Python
Runtime
Verified via docs
Docker
Containerization
Verified via docs
Model Context Protocol (MCP)
Integration Standard
Verified via docs
UniFi Network Controller
Target Platform
Verified via docs
03
Quick start
1
$ git clone https://github.com/sirkirby/unifi-network-mcp.git
2
$ cd unifi-network-mcp
3
$ uv venv
4
$ source .venv/bin/activate
5
$ uv pip install --no-deps -e .
04
Use cases
↳Querying and analyzing real-time UniFi network data, such as client activity, device status, and network health.
↳Automating complex network configuration and management tasks via natural language or programmatic agents.
↳Integrating with local or cloud-based LLMs (e.g., Claude Desktop, LM Studio, Ollama) for intelligent network control.
↳Developing custom Python clients for advanced network scripting and programmatic interaction with UniFi.
↳Optimizing LLM context usage and reducing token costs through the efficient code execution mode.
05
Alternatives
awesome-n8n-templates★ 22.6k
Supercharge your workflow automation with this curated collection of n8n templates! Instantly connect your favorite apps-like Gmail, Telegram, Google Drive, Slack, and more-with ready-to-use, AI-powered automations. Save time, boost productivity, and unlock the true potential of n8n in just a few clicks.
FastMCP★ 25.4k
The fast, Pythonic way to build MCP servers and clients. Designed by the Pydantic team for type safety and speed.
GitHub MCP Server★ 30.3k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
Microsoft AutoGen★ 58.5k
A framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks.
CrewAI★ 52.4k
Framework for orchestrating role-playing, autonomous AI agents. By working together, your Crew can tackle complex tasks.
Open Interpreter★ 63.7k
A natural language interface for computers. Lets LLMs run code (Python, Javascript, Shell, etc.) locally on your machine.
Related searches
Comments
Log in to leave a comment
- KKai HarrisMay 4, 2026
Works reliably with UniFi controller API.
- FFinley WhiteApr 15, 2026
Good for network admins who want AI assistance without full dashboard access.
- MMarlowe JohnsonMar 10, 2026
Covers the operations that require navigating multiple dashboard screens.
- CCameron BrownMar 4, 2026
UniFi network management through natural language — port configs, VLANs, client management.