An MCP server that exposes UniFi application API documentation (Network, Protect, Site Manager) as queryable tools for Claude Desktop, Claude Code (VS Code / JetBrains), or any MCP-compatible client.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"unifi-docs": {
"args": [
"/path/to/mcp-unifi-applications/mcp_server.py"
],
"type": "stdio",
"command": "/path/to/mcp-unifi-applications/.venv/bin/python"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
An MCP server that exposes UniFi application API documentation (Network, Protect, Site Manager) as queryable tools for Claude Desktop, Claude Code (VS Code / JetBrains), or any MCP-compatible client.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in devops
MCP server for using the GitLab API
Enhanced MCP server for GitLab: group projects listing and activity tracking
Yunxiao MCP Server provides AI assistants with the ability to interact with the Yunxiao platform. It provides a set of tools that interact with Yunxiao's API, allowing AI assistants to manage Codeup repository, Project, Pipeline, Packages etc.
MCP server for Komodo - manage Docker containers, servers, stacks, and deployments via AI
MCP Security Weekly
Get CVE alerts and security updates for Mcp Unifi Applications and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An MCP server that exposes UniFi application API documentation (Network, Protect, Site Manager) as queryable tools for Claude Desktop, Claude Code (VS Code / JetBrains), or any MCP-compatible client.
Includes a Playwright-based scraper that turns the JS-rendered docs SPA into structured JSON files, and a Python MCP server that serves them.
"Can you tell me how to create a network with Go with the network API from UniFi and what options I have regarding the managed IPv4 DHCP gateway configuration?"
Claude automatically queries the MCP server — searching endpoints, fetching schemas, and drilling into discriminator variants — then responds with the full API details and a working Go example:
The scraper runs inside Docker (requires Playwright/Chromium):
# Build the scraper image
docker build -t unifi-scraper .
# Scrape Network API docs (default, latest version)
docker run --rm -v $(pwd)/docs:/output unifi-scraper node scrape.mjs
# Scrape Protect API docs
docker run --rm -v $(pwd)/docs:/output unifi-scraper node scrape.mjs --app protect
# Scrape Site Manager API docs
docker run --rm -v $(pwd)/docs:/output unifi-scraper node scrape.mjs --app site-manager
# Scrape a specific API version
docker run --rm -v $(pwd)/docs:/output unifi-scraper node scrape.mjs --app network --version v9.5.21
# List available API versions for an app
docker run --rm unifi-scraper node scrape.mjs --app protect --list-versions
# Scrape specific pages only
docker run --rm -v $(pwd)/docs:/output unifi-scraper node scrape.mjs createnetwork filtering
# Force re-scrape (overwrite existing files)
docker run --rm -v $(pwd)/docs:/output unifi-scraper node scrape.mjs --force
Pre-scraped docs for Network API v10.1.84 are included in docs/network/.
python -m venv .venv
source .venv/bin/activate # or: source .venv/bin/activate.fish
pip install .
Claude Code (VS Code / JetBrains) - add .mcp.json to your project root (Reload Window after):
{
"mcpServers": {
"unifi-docs": {
"type": "stdio",
"command": "/path/to/mcp-unifi-applications/.venv/bin/python",
"args": ["/path/to/mcp-unifi-applications/mcp_server.py"]
}
}
}
Claude Desktop - add to ~/.config/Claude/claude_desktop_config.json (Linux) or ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"unifi-docs": {
"command": "/path/to/mcp-unifi-applications/.venv/bin/python",
"args": ["/path/to/mcp-unifi-applications/mcp_server.py"]
}
}
}
| Application | URL | Local/Remote | Notes |
|---|---|---|---|
| Network | developer.ui.com/network | Both | Default app |
| Protect | developer.ui.com/protect | Both | |
| Site Manager | developer.ui.com/site-manager | Remote only | No local/remote switch |
All three applications share the same docs SPA structure with version dropdowns, endpoint pages, and guide pages.
| Tool | Description |
|---|---|
list_endpoints | List all API endpoints, optionally filtered by HTTP method or app |
search_endpoints | Fuzzy search by name, path, method, or descript |