Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Rust MCP server and CLI for UniFi Network controller operations.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
UNIFI_URL, UNIFI_API_KEY, UNIFI_RMCP_VERSION, UNIFI_RMCP_REPO, UNIFI_RMCP_RELEASE_BASE_URL, RUST_LOGค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด 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/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 เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .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_RMCP_VERSION envUNIFI_RMCP_REPO envUNIFI_RMCP_RELEASE_BASE_URL envRUST_LOG envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันโดเมน dinglebear.ai แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 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
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Governed Symantec Cloud DLP — 14 MCP tools, read-only with audit.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
| Surface | This repo |
|---|---|
| Repository | unifi-rmcp |
| Rust crate | unifi-rmcp |
| Binary / CLI | runifi |
| npm package | @dinglebear/runifi |
| npm binary aliases | unifi-rmcp, runifi |
| MCP tool | unifi |
| Config home | ~/.unifi-rmcp on hosts, /data in containers |
| Env prefixes | UNIFI_*, 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.
official_* actions for documented Network Integration API endpoints.unifi_* internal controller actions and hybrid aliases such as list_clients, list_devices, list_networks, list_wifi, and get_system_info.unifi:read for read actions and unifi:admin for mutating actions in mounted HTTP MCP mode.| This repo owns | UniFi owns | Explicitly 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. |
| Path | Command | Best for | Notes | |
|---|---|---|---|---|
| npm / npx | npx -y @dinglebear/runifi --help | Local 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 / Compose | docker compose up -d | Shared HTTP MCP deployments. | Reads .env and exposes container port 40030. | |
| Build from source | cargo build --release | Development and audits. | Produces target/release/runifi. | |
| Plugin | claude plugin install plugins/unifi | Claude 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. |
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:
| Variable | Purpose |
|---|---|
UNIFI_RMCP_SKIP_DOWNLOAD=1 | Skip postinstall binary download. |
UNIFI_RMCP_VERSION or UNIFI_RMCP_BINARY_VERSION | Select the GitHub Release tag. |
UNIFI_RMCP_REPO | Select the GitHub repo used for release downloads. |
UNIFI_RMCP_RELEASE_BASE_URL | Select a custom release base URL. |
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.
In UniFi OS, go to Settings -> Admins & Users -> API Keys, create a key, and copy it into UNIFI_API_KEY.
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.
npx -y @dinglebear/runifi health --json
UNIFI_MCP_HOST=127.0.0.1 npx -y @dinglebear/runifi serve
In another shell:
curl -sf http://127.0.0.1:40030/health
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"}}}'
{
"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" } } } }
{
"mcpServers": { "unifi": { "type": "http", "url": "http://127.0.0.1:40030/mcp", "headers": { "Authorization": "Bearer ${UNIFI_MCP_TOKEN}" } } } }
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"]
{
"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.
| Surface | Status | Entry point | Purpose |
|---|---|---|---|
| MCP stdio | Supported | runifi mcp, npx -y @dinglebear/runifi mcp | Local child-process MCP clients. |
| MCP HTTP | Supported | runifi serve, POST /mcp | Streamable HTTP MCP for local or shared server deployments. |
| CLI | Supported | runifi | Scriptable parity and debugging. |
| Prompts | Supported | network_summary | Agent prompt for UniFi status summaries. |
| Resource | Supported | MCP tool schema resource | Client-side schema discovery. |
| REST API | Not shipped | N/A | UniFi already owns the REST APIs. |
| Web UI | Not shipped | N/A | UniFi already owns the controller UI. |
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:
| Family | Actions | Mutating |
|---|---|---|
official_* | 78 | 36 |
unifi_* | 175 | 87 |
| Preserved convenience | 8 | 0 |
| Hybrid aliases | 5 | 0 |
help | 1 | 0 |
| Total | 267 | 123 |
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.
| Action | Description | Required params | Optional params |
|---|---|---|---|
clients | Connected wireless and wired clients. | none | none |
devices | Network devices: APs, switches, gateways. | none | none |
wlans | WiFi network configurations. | none | none |
health | Site health summary. | none | none |
alarms | Active alarms and alerts. | none | none |
events | Recent controller events. | none | limit |
sysinfo | Controller system information. | none | none |
me | Authenticated UniFi identity. | none | none |
help | Built-in action documentation. | none | none |
| Family | Description | Scope 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 aliases | list_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.
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 loads from config.toml first, then UNIFI_* environment variables override it. Host install
ตัดมาแค่ช่วงต้น อ่านต่อใน repo