ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

UniFi RMCP

โดย dinglebear-aiรุ่น 0.2.5i★ –iรันบนเครื่อง
ชื่อใน registryai.dinglebear/runifi

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Rust MCP server and CLI for UniFi Network controller operations.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: UNIFI_URL, UNIFI_API_KEY

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: UNIFI_URL, UNIFI_API_KEY, UNIFI_RMCP_VERSION, UNIFI_RMCP_REPO, UNIFI_RMCP_RELEASE_BASE_URL, RUST_LOG

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "runifi": {
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/runifi",
        "mcp"
      ],
      "env": {
        "UNIFI_URL": "ใส่ค่าของคุณ",
        "UNIFI_API_KEY": "ใส่ค่าของคุณ",
        "UNIFI_RMCP_VERSION": "ใส่ค่าของคุณ",
        "UNIFI_RMCP_REPO": "ใส่ค่าของคุณ",
        "UNIFI_RMCP_RELEASE_BASE_URL": "ใส่ค่าของคุณ",
        "RUST_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add runifi --env UNIFI_URL='ใส่ค่าของคุณ' --env UNIFI_API_KEY='ใส่ค่าของคุณ' --env UNIFI_RMCP_VERSION='ใส่ค่าของคุณ' --env UNIFI_RMCP_REPO='ใส่ค่าของคุณ' --env UNIFI_RMCP_RELEASE_BASE_URL='ใส่ค่าของคุณ' --env RUST_LOG='ใส่ค่าของคุณ' -- npx -y @dinglebear/runifi mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "runifi": {
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/runifi",
        "mcp"
      ],
      "env": {
        "UNIFI_URL": "ใส่ค่าของคุณ",
        "UNIFI_API_KEY": "ใส่ค่าของคุณ",
        "UNIFI_RMCP_VERSION": "ใส่ค่าของคุณ",
        "UNIFI_RMCP_REPO": "ใส่ค่าของคุณ",
        "UNIFI_RMCP_RELEASE_BASE_URL": "ใส่ค่าของคุณ",
        "RUST_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "runifi": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dinglebear/runifi",
        "mcp"
      ],
      "env": {
        "UNIFI_URL": "ใส่ค่าของคุณ",
        "UNIFI_API_KEY": "ใส่ค่าของคุณ",
        "UNIFI_RMCP_VERSION": "ใส่ค่าของคุณ",
        "UNIFI_RMCP_REPO": "ใส่ค่าของคุณ",
        "UNIFI_RMCP_RELEASE_BASE_URL": "ใส่ค่าของคุณ",
        "RUST_LOG": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • UNIFI_URL จำเป็น env
    UniFi Network controller base URL.
  • UNIFI_API_KEY ความลับ จำเป็น env
    UniFi API key.
  • UNIFI_RMCP_VERSION env
    Optional GitHub release tag override for the downloaded UniFi RMCP binary.
  • UNIFI_RMCP_REPO env
    Optional GitHub owner/repo override for release asset downloads.
  • UNIFI_RMCP_RELEASE_BASE_URL env
    Optional release download base URL override.
  • RUST_LOG env
    Tracing filter for UniFi RMCP logs.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันโดเมน dinglebear.ai แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32433 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 21% ของอีก 32433 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32433 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

UniFi RMCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: UNIFI_URL, UNIFI_API_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.5) เข้า registry 3 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Symantec Cloud DLP AIops

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

unifi-rmcp

UniFi Network client, device, WLAN, firewall, and health operations over MCP and CLI.

It exposes one MCP tool, unifi, plus the runifi CLI. Agents can inspect clients, devices, WiFi networks, health, alarms, events, controller sysinfo, and authenticated identity, and can use generated official_* / unifi_* actions when their MCP auth scope permits it.

30-second path: set UNIFI_URL and UNIFI_API_KEY, then run npx -y @dinglebear/runifi health --json -> start loopback HTTP with UNIFI_MCP_HOST=127.0.0.1 npx -y @dinglebear/runifi serve -> call tools/call with {"action":"health"}.

Status: operational RMCP upstream-client server. The preserved convenience actions are read-oriented; generated mutating actions require unifi:admin authorization. HTTP MCP supports loopback dev mode, static bearer tokens, and Google OAuth through lab-auth.

Not for: replacing the UniFi console, storing controller credentials for callers, bypassing UniFi permissions, generic HTTP proxying, multi-tenant isolation, or passing UniFi API keys through MCP tool arguments.

Contents

  • Naming
  • Capabilities And Boundaries
  • Install
  • Quickstart
  • Client Configuration
  • Runtime Surfaces
  • MCP Tool Reference
  • CLI Reference
  • Configuration
  • Authentication
  • Safety And Trust Model
  • Architecture
  • Distribution Contract
  • Development
  • Verification
  • Deployment
  • Troubleshooting
  • Related Servers
  • Documentation
  • License

Naming

SurfaceThis repo
Repositoryunifi-rmcp
Rust crateunifi-rmcp
Binary / CLIrunifi
npm package@dinglebear/runifi
npm binary aliasesunifi-rmcp, runifi
MCP toolunifi
Config home~/.unifi-rmcp on hosts, /data in containers
Env prefixesUNIFI_*, UNIFI_MCP_*, UNIFI_RMCP_* for npm launcher controls

The repo and npm package use the RMCP family name, while the shipped binary uses the short Rust CLI name runifi.

Capabilities And Boundaries

  • Read connected wireless and wired clients, network devices, WLAN configs, site health, active alarms, recent events, controller sysinfo, and current authenticated user.
  • Dispatch generated official_* actions for documented Network Integration API endpoints.
  • Dispatch model-backed unifi_* internal controller actions and hybrid aliases such as list_clients, list_devices, list_networks, list_wifi, and get_system_info.
  • Enforce unifi:read for read actions and unifi:admin for mutating actions in mounted HTTP MCP mode.
  • Provide setup, doctor, and endpoint-verification commands for local runtime checks.
This repo ownsUniFi ownsExplicitly out of scope
MCP/CLI projection, action registry, request validation, HTTP MCP auth policy, response shaping, generated action dispatch, setup checks, and endpoint verification.Controller state, site/device/client data, UniFi users, API key issuance, upstream authorization, and actual network mutations.Replacing the controller UI, credential brokerage, arbitrary HTTP proxying, long-lived polling, policy-as-code, multi-tenant sandboxing, and local gateway provisioning.

Install

PathCommandBest forNotes
npm / npxnpx -y @dinglebear/runifi --helpLocal MCP clients and quick trials.Downloads the matching runifi binary from GitHub Releases.
Release installer`curl -fsSL https://raw.githubusercontent.com/dinglebear-ai/runifi/main/scripts/install.sh \bash`Host installs without Node.Installs runifi for the current Linux host.
Docker / Composedocker compose up -dShared HTTP MCP deployments.Reads .env and exposes container port 40030.
Build from sourcecargo build --releaseDevelopment and audits.Produces target/release/runifi.
Pluginclaude plugin install plugins/unifiClaude Code local plugin setup from this checkout.Ships the skill and .mcp.json. No session hooks — plugin settings reach the server through .mcp.json's ${user_config.*} env block, so no manual setup step is needed.
npm / npx

Run the stdio MCP server or CLI without a manual binary install:

npx -y @dinglebear/runifi --help

npx -y @dinglebear/runifi mcp npx -y @dinglebear/runifi health --json

The npm package downloads runifi during postinstall. Override download behavior only when testing packaging:

VariablePurpose
UNIFI_RMCP_SKIP_DOWNLOAD=1Skip postinstall binary download.
UNIFI_RMCP_VERSION or UNIFI_RMCP_BINARY_VERSIONSelect the GitHub Release tag.
UNIFI_RMCP_REPOSelect the GitHub repo used for release downloads.
UNIFI_RMCP_RELEASE_BASE_URLSelect a custom release base URL.
Build From Source
git clone git@github.com:dinglebear-ai/runifi.git

cd runifi cargo build --release ./target/release/runifi --help

Minimum supported Rust version: 1.86. The Cargo workspace has three members: the root unifi-rmcp package, crates/unifi (reusable core), and xtask (dev tooling). All members inherit Rust edition 2024 and MSRV 1.97.1 from the workspace root.

Quickstart

1. Create A UniFi API Key

In UniFi OS, go to Settings -> Admins & Users -> API Keys, create a key, and copy it into UNIFI_API_KEY.

2. Configure The Controller
export UNIFI_URL=https://unifi.local

export UNIFI_API_KEY=... export UNIFI_SITE=default export UNIFI_SKIP_TLS_VERIFY=true

Set UNIFI_LEGACY=true only for older non-UDM controllers that do not use the /proxy/network path prefix.

3. Run A Safe CLI Call
npx -y @dinglebear/runifi health --json
4. Start Loopback HTTP MCP
UNIFI_MCP_HOST=127.0.0.1 npx -y @dinglebear/runifi serve

In another shell:

curl -sf http://127.0.0.1:40030/health
5. Make A First MCP Call
curl -s -X POST http://127.0.0.1:40030/mcp \

-H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"unifi","arguments":{"action":"health"}}}'

Client Configuration

Claude Code Stdio
{

"mcpServers": { "unifi": { "command": "npx", "args": ["-y", "unifi-rmcp", "mcp"], "env": { "UNIFI_URL": "https://unifi.local", "UNIFI_API_KEY": "...", "UNIFI_SITE": "default", "UNIFI_SKIP_TLS_VERIFY": "true" } } } }

Claude Code HTTP
{

"mcpServers": { "unifi": { "type": "http", "url": "http://127.0.0.1:40030/mcp", "headers": { "Authorization": "Bearer ${UNIFI_MCP_TOKEN}" } } } }

Codex / Labby Gateway

Register UniFi through Labby as an HTTP upstream when sharing one long-running server, or run it directly as stdio for local-only use.

[mcp_servers.unifi]

command = "npx" args = ["-y", "unifi-rmcp", "mcp"]

Generic MCP JSON
{

"command": "runifi", "args": ["mcp"], "env": { "UNIFI_URL": "https://unifi.local", "UNIFI_API_KEY": "..." } }

Do not put UNIFI_API_KEY, OAuth secrets, passwords, SSH keys, or upstream bearer tokens in MCP tool arguments. Use env, config files, or the MCP client's secret storage. MCP callers never provide credentials, tokens, keys, or secrets as action arguments.

Runtime Surfaces

SurfaceStatusEntry pointPurpose
MCP stdioSupportedrunifi mcp, npx -y @dinglebear/runifi mcpLocal child-process MCP clients.
MCP HTTPSupportedrunifi serve, POST /mcpStreamable HTTP MCP for local or shared server deployments.
CLISupportedrunifi Scriptable parity and debugging.
PromptsSupportednetwork_summaryAgent prompt for UniFi status summaries.
ResourceSupportedMCP tool schema resourceClient-side schema discovery.
REST APINot shippedN/AUniFi already owns the REST APIs.
Web UINot shippedN/AUniFi already owns the controller UI.

MCP Tool Reference

One MCP tool is exposed: unifi. Pass the required action argument to select the operation. The action enum is generated from the inventories in data/, so the surface is large:

FamilyActionsMutating
official_*7836
unifi_*17587
Preserved convenience80
Hybrid aliases50
help10
Total267123

Counts are derived from data/unifi_official_network_v10_3_58.json and the runtime: true entries of data/unifi_internal_endpoint_models.json. crates/unifi/src/capabilities.rs is the source of truth at runtime.

Preserved Convenience Actions
ActionDescriptionRequired paramsOptional params
clientsConnected wireless and wired clients.nonenone
devicesNetwork devices: APs, switches, gateways.nonenone
wlansWiFi network configurations.nonenone
healthSite health summary.nonenone
alarmsActive alarms and alerts.nonenone
eventsRecent controller events.nonelimit
sysinfoController system information.nonenone
meAuthenticated UniFi identity.nonenone
helpBuilt-in action documentation.nonenone
Generated Action Families
FamilyDescriptionScope behavior
official_*Documented Network Integration API operations under /proxy/network/integration/v1.Read operations require unifi:read; mutating operations require unifi:admin.
unifi_*Model-backed internal controller-compatible actions under /proxy/network/api/s/{site} and /proxy/network/v2/api/site/{site}.Read operations require unifi:read; mutating operations require unifi:admin.
Hybrid aliaseslist_clients, list_devices, list_networks, list_wifi, get_system_info.Use internal actions by default, or official API when siteId or params.prefer="official" is supplied.

Endpoint coverage is tracked in docs/unifi_api_coverage.md; contract and safe live verification are documented in docs/unifi_endpoint_verification.md.

CLI Reference

The binary calls the same service layer as the MCP tool:

runifi clients [--json]

runifi devices [--json] runifi wlans [--json] runifi health [--json] runifi alarms [--json] runifi events [--limit N] [--json] runifi sysinfo [--json] runifi me [--json] runifi official_list_clients --param siteId= --json runifi official_create_network --param siteId= --body-json '{"name":"IoT"}' --json runifi list_clients --param siteId= --json runifi doctor [--json] runifi setup check [--json] runifi setup repair [--json] runifi setup install [--json] runifi setup plugin-hook [--no-repair] [--json]

Generated actions accept --param k=v, --body-json JSON, and --json.

setup plugin-hook maps CLAUDE_PLUGIN_OPTION_* env vars into UNIFI_*, refreshes the ~/.local/bin copy of the binary, and runs check + repair. It used to run automatically from a Claude Code SessionStart/ConfigChange hook; those hooks have been removed.

You do not need to run it to configure the plugin: plugins/unifi/.mcp.json maps your plugin settings into the server's environment directly via ${user_config.*}. Run it by hand only when you want the ~/.local/bin binary refresh or the preflight checks.

Configuration

Configuration loads from config.toml first, then UNIFI_* environment variables override it. Host install

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx