
enuno/unifi-mcp-server 是从 https://github.com/enuno/unifi-mcp-server. 导入的 MCP 服务器候选
概览
enuno/unifi-mcp-server 是从 https://github.com/enuno/unifi-mcp-server. 导入的 MCP 服务器候选
概述(AI 翻译)
UniFi MCP 服务器
通过模型上下文协议实现 UniFi 网络的 AI 原生控制
这是一个MCP服务器,将UniFi Network、UniFi Protect和UniFi云API(站点管理器、移动性、InnerSpace、Carrier Fabric)作为MCP工具展示,使AI代理能够通过一个标准接口读取并更改UniFi基础设施。它运行于一个控制器,或在舰队模式下运行多个控制器。
当前版本:0.6.1. 详情请参见 CHANGELOG.md 内容。
目录
- 特色
- API 模式
- 快速入门
- 代理技能
- 工具配置文件和安全控制
- 网络传输与部署
- 从代码调用服务器
- 文档
- 发展
特色
343个本地工具,来自60个模块。
- 网络: 客户端(搜索、阻断、重新连接)、网络和 VLAN、WiFi SSID、DHCP 预留、DNS、WAN、访客凭证、QoS 配置文件和流量路由、DPI 统计、流量流。
- 设备: 库存、采纳、重启、定位、升级、无线电设置、端口配置文件和每个端口覆盖、交换和堆栈、拓扑导出(JSON、GraphML、DOT)、诊断、WiFi 信道规划。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
UniFi MCP Server
AI-native control of UniFi networks through the Model Context Protocol
An MCP server that exposes UniFi Network, UniFi Protect and the UniFi cloud APIs (Site Manager, Mobility, InnerSpace, Carrier Fabric) as MCP tools, so AI agents can read and change UniFi infrastructure through one standard interface. It runs against one controller or, in fleet mode, many.
Current release: 0.12.0. See CHANGELOG.md for what changed.
Contents
- Features
- API modes
- Quick start
- Agent skills
- Tool profiles and safety controls
- Network transports and deployment
- Calling the server from code
- Native MCP prompts
- Documentation
- Development
Features
365 tools in local mode, from 64 modules.
- Network: clients (search, block, reconnect), networks and VLANs, WiFi SSIDs, DHCP reservations, DNS, WAN, guest vouchers, QoS profiles and traffic routes, DPI statistics, traffic flows (including lookup by flow ID), client-connection events and bulk client editing, and Matter/Thread inventory on Network 11.
- Devices: inventory, adoption, restart, locate, upgrade, radio settings, port profiles and per-port overrides, switching and stacks, topology export (JSON, GraphML, DOT), diagnostics, WiFi channel planning.
安装
uvx unifi-mcp-server配置
{
"mcpServers": {
"unifi": {
"command": "uvx",
"args": ["unifi-mcp-server"],
"env": {
"UNIFI_API_KEY": "<your-api-key>",
"UNIFI_API_TYPE": "local",
"UNIFI_LOCAL_HOST": "192.168.2.1"
}
}
}
}