# mcp-unifi-applications

Gives your agent the UniFi API documentation: endpoint search, field schemas, code samples. No controller access, no credentials.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 40
- Author: KallistoX
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/KallistoX/mcp-unifi-applications
- Updated: 2026-10-16
- HTML: https://affpapa.org/en/nevibecode/mcp/mcp-unifi-applications

## What it does

The server runs locally and answers questions about the APIs Ubiquiti publishes docs for: Network, Protect, Site Manager, InnerSpace, Mobility and Carrier Fabric. The documentation is already inside the package — a Playwright scraper turns the JS-rendered reference into structured JSON, and a Python MCP server serves it. Nothing to scrape on your side.

The tools are narrow. `search_endpoints` finds an endpoint from a description, `get_endpoint` returns the request body, and `get_field_schema` pulls out a single subtree — say, the DHCP configuration of a managed gateway — instead of the whole schema. `get_example` hands back a request in curl, Go, Node.js, Python or Ansible.

This is a knowledge plane, not a control plane. It never authenticates against your controller, never reads live state and never changes firewall rules. One practical catch: if the `mcp-unifi-applications` command is not on the client's `PATH`, pass the absolute path to the binary — Claude Desktop often does not inherit a shell `PATH`.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Works with: Playwright

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add mcp-unifi-applications -- uvx mcp-unifi-applications
```
uvx runs the command named after the package; if the README names another one, use uvx --from mcp-unifi-applications <command>

### Codex

**Platform CLI**
```bash
codex mcp add mcp-unifi-applications -- uvx mcp-unifi-applications
```
uvx runs the command named after the package; if the README names another one, use uvx --from mcp-unifi-applications <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "mcp-unifi-applications": {
            "command": "uvx",
            "args": [
                "mcp-unifi-applications"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from mcp-unifi-applications <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "mcp-unifi-applications": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "mcp-unifi-applications"
            ]
        }
    }
}
```
uvx runs the command named after the package; if the README names another one, use uvx --from mcp-unifi-applications <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add mcp-unifi-applications uvx mcp-unifi-applications
```
uvx runs the command named after the package; if the README names another one, use uvx --from mcp-unifi-applications <command>

## When to use it
- find a UniFi API endpoint from a task description
- check which fields a request body accepts
- pull one subtree of a schema instead of the full JSON
- get a ready request sample in Go or Python
- check the API before buying hardware

## Example prompts
- Find the UniFi endpoint for creating a network and show me the request body
- What options do I have for managed IPv4 DHCP configuration on the gateway?
- Give me a Go example for creating a network

## Similar
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16717
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40409
- [OpenWork MCP Gateway](https://affpapa.org/en/nevibecode/mcp/openwork-mcp-gateway.md) — MCP server · ★ 24242
- [Keploy](https://affpapa.org/en/nevibecode/mcp/keploy.md) — MCP server · ★ 18727
- [Nhost](https://affpapa.org/en/nevibecode/mcp/nhost.md) — MCP server · ★ 9366
- [basebalance.cloud — x402 RPC & MCP gateway](https://affpapa.org/en/nevibecode/mcp/basebalancecloud-x402-rpc-mcp-gateway.md) — MCP server · ★ 7506

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
