MCP Server UniFi
MCP 服务器 UniFi
通过 MCP(管理控制协议)管理和控制 UniFi 网络设备的服务器实现。该服务器通过封装 UniFi 网络 API,使用 Goose 和 Claude 等 AI 代理与您的 UniFi 网络进行自然语言交互。
特征
通过 AI 代理使用自然语言查询 UniFi 站点和设备
连接到您的 UniFi 网络应用程序的本地服务器实现
兼容 Goose AI 和 Claude Desktop
基于安全 API 密钥的身份验证
Related MCP server: UnifiyMe
先决条件
Python 3.8 或更高版本
uv包管理器UniFi 网络应用
UniFi API 密钥(从 UniFi 控制台获取)
设置
创建 API 密钥:
前往您的 UniFi 控制台https://unifi.ui.com
导航至“设置”»“控制平面”»“集成”
点击“创建 API 密钥”
克隆并设置存储库:
git clone https://github.com/zcking/mcp-server-unifi
cd mcp-server-unifi
uv venv
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows安装依赖项:
uv sync配置环境变量:
export UNIFI_API_KEY="your_api_key_here"运行服务器
启动 MCP 开发服务器:
uv run mcp dev main.pyMCP Inspector 可在http://localhost:5173上进行测试和调试。
AI代理集成
Goose AI 设置
打开 Goose 并转到“设置”»“扩展”»“添加自定义扩展”
配置扩展:
ID:unifi
名称:unifi
描述:获取有关您的 UniFi 网络的信息
命令:
/Users/username/.local/bin/uv --directory /path/to/mcp-server-unifi run main.py环境变量:将 UNIFI_API_KEY 设置为您的 API 密钥
Claude 桌面设置
打开 Claude 并转到设置»开发者»编辑配置
添加到您的
claude_desktop_config.json:
{
"mcpServers": {
"unifi": {
"command": "/Users/username/.local/bin/uv",
"args": [
"--directory",
"/path/to/mcp-server-unifi",
"run",
"main.py"
]
}
}
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server that turns Claude into a UniFi network specialist. Manage devices, optimize WiFi, audit security, and troubleshoot your network through natural language.31362MIT
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol (MCP) server for UniFi Network Controllers that enables LLMs to interact with UniFi infrastructure for monitoring and control.MIT
- AlicenseAqualityDmaintenanceControl your UniFi network via AI with a lightweight 2-tool MCP server that supports both cloud and local UniFi controllers.312MIT
- AlicenseBqualityDmaintenanceAn MCP server that enables AI assistants to manage UniFi network infrastructure, including cloud management, local network devices, and Protect cameras, through natural language.62MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
GibsonAI MCP server: manage your databases with natural language
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zcking/mcp-server-unifi'
If you have feedback or need assistance with the MCP directory API, please join our Discord server