Skip to content
FunCoding

mcp-unifi-applications

Listed in the official MCP Registry

Queryable UniFi API docs: endpoint search, schemas, code examples. No controller access.

Star
41
Version
v0.5.3
License
MIT
Last commit
Dec 1, 2026

UniFi MCP Server: Queryable API Documentation

CI PyPI Python Glama

An MCP server that makes the official UniFi API documentation queryable by AI agents: endpoint search, schema drill-down, and code examples in five languages. It covers every application Ubiquiti publishes API docs for: Network, Protect, Site Manager, InnerSpace, Mobility and Carrier Fabric.

It is read-only and credential-free. It serves documentation and never talks to your controller.

Install

You need uv. The scraped docs ship inside the package, so there is nothing to scrape and no API key to set.

Claude Code

claude mcp add unifi-docs -- uvx mcp-unifi-applications

Add --scope user to make it available in every project.

Claude Desktop and other clients that read an mcpServers block take this entry (Claude Desktop: claude_desktop_config.json):

{
  "mcpServers": {
    "unifi-docs": {
      "command": "uvx",
      "args": ["mcp-unifi-applications"]
    }
  }
}

If the client reports that it cannot find uvx (GUI apps often start without your shell's PATH), put the output of which uvx in command instead.

Any other client with a coding agent: if you don't know where its config lives, hand the agent this prompt. It holds the whole entry, so the agent fetches nothing, and it writes one file and runs nothing. Like the entries above it uses uvx, so uv has to be installed; without uv, edit the config by hand as described under "Without uv" below.

Add one MCP server to the MCP configuration of the client you are running in:
a stdio server named "unifi-docs", command "uvx", args ["mcp-unifi-applications"].
Write it into that client's MCP config file in the client's own format, and leave
every other entry in the file unchanged. Do not run any command, install anything
or start the server. If you are not sure which file your client reads, say so and
stop instead of guessing. When done, tell me the file you changed, whether the
client needs a restart, and that the entry only works with uv installed.
Without uv
pip install mcp-unifi-applications

Then use "command": "mcp-unifi-applications" with no args, or the absolute path to that script if your client does not see your virtualenv.

What ships in the current release:

ApplicationAPI versionScrapedPages
Networkv11.0.972026-11-0282
Protectv7.4.1122026-11-3090
Site Managerv1.0.02026-09-1012
InnerSpacev1.3.232026-09-1012
Mobilityv1.0.02026-09-109
Carrier Fabricv1.0.02026-09-1014

A workflow checks developer.ui.com every Monday and releases new API versions on its own.

Example

"Without any context, just by using the unifi-applications MCP Server: can you tell me how to create a network with Go with the network API from UniFi, and what options do I have regarding the managed IPv4 DHCP gateway configuration?"

Claude answers that through the server, with none of the documentation in its context to begin with:

CallWhat comes back
search_endpoints("create network")POST /v1/sites/{siteId}/networks
get_endpoint("network/createnetwork")the request body; management is a discriminated union
get_field_schema(…, "management[GATEWAY].ipv4Configuration.dhcpConfiguration")only the DHCP subtree
get_example("network/createnetwork", "go")a working request in Go

The third call is the one that earns the server its place. Instead of the 70 KB endpoint schema, it returns just the subtree that answers the question:

# management[GATEWAY].ipv4Configuration.dhcpConfiguration (in requestBody)
- dhcpConfiguration: object (Gateway Managed IPv4 DHCP Configuration) — IPv4 DHCP …
  - mode: string (required)
    [RELAY]:
      - dhcpServerIpAddresses: Array of string — DHCP Server IP addresses
    [SERVER]:
      - dnsServerIpAddressesOverride: Array of string — List of DNS servers …
      - domainName: string — Domain name that can be used to access network in the browser.
      - gatewayIpAddressOverride: string — Gateway IP address provided to DHCP clients. …
      - ipAddressRange: object
        - start: string (required)
        - stop: string (required)
      - leaseTimeSeconds: integer — The lease time in seconds for addresses in this range.
      … ntpServerIpAddresses, option43Value, pxeConfiguration, tftpServerAddress, …

Tools

ToolWhat it does
search_endpointsFuzzy search by name, path, method or description
list_endpointsBrowse all endpoints, filtered by HTTP method or app
get_endpointFull schema for one endpoint, folded to a readable summary
get_endpoint_groupAll operations on one resource, e.g. "networks"
get_field_schemaOne field's subtree, e.g. management[GATEWAY].dhcpV4
find_fieldWhere a field name occurs across all endpoint schemas
get_exampleA request in curl, Go, Node.js, Python or Ansible, local or remote
get_response_sampleExample JSON response
get_guideGuide pages: filtering syntax, error handling, getting started
get_docs_infoWhich API versions are loaded, with scrape dates and counts

Tools that return several results take an optional app filter (network, protect, site-manager, innerspace, mobility, carrier-fabric).

How it differs

Most UniFi MCP servers are control planes: they log in to your controller and read or change live state. This one is a knowledge plane and never sees your network. The two complement each other: this one tells the model what the API looks like, a control-plane server calls it.

Ubiquiti does publish an OpenAPI spec per application, and it is a good one. But it carries no code examples and no response samples, has none of the guide pages, and at around 400 KB for Network it does not fit usefully into a context window. This server ships up to ten examples and a response sample per endpoint, and hands the model one field subtree at a time.

More

Disclaimer

This project is not affiliated with, endorsed by, or sponsored by Ubiquiti Inc. The API documentation content scraped and served by this tool is the property of Ubiquiti Inc. and is sourced from their public developer portal. "UniFi" is a trademark of Ubiquiti Inc.

License

MIT

Similar MCP servers

Scrapling MCP Server

Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.

D4D4Vinci/Scrapling107k1,730 new stars in the last 7 days

Official

Fetch

Fetches web content and converts it to Markdown for an LLM to read

MOmodelcontextprotocol/servers92k190 new stars in the last 7 days

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

EVevery-app/open-seo29k607 new stars in the last 7 days

Agent Skills Search Server

Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.

AGagentskills/agentskills28k203 new stars in the last 7 days

XERJ

The search engine for AI agents: cited answers from your local code, docs, specs and logs.

XExerj-org/xerj23k1,833 new stars in the last 7 days

Featured

Apify

Run ready-made Apify scrapers to extract data from social media, maps and e-commerce sites.

APapify/apify-mcp-server19k1,076 new stars in the last 7 days