Mcp Unifi Applications

io.github.KallistoX由 GitHub 帳號 KallistoX 發布v0.5.0更新於 Nov 3, 2026

可查詢的 UniFi API 文件:端點搜尋、架構、程式碼示例。無需存取控制器。

AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。

原文描述

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

已驗證STDIO僅桌面知識與記憶開發者工具

概覽

Mcp Unifi Applications 的本機 MCP 服務;無需登入;STDIO。

暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Unifi Applications,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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

bash
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):

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.

Without uv
bash
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.3.742026-11-0281
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:

text
# 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

來源:README.md,提交 92252d9

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

3
  1. v0.5.0最新Nov 3, 2026
  2. v0.4.1Oct 16, 2026
  3. v0.4.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分