Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
An MCP server that leverages official UniFi API
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD, UNIFI_PORT, UNIFI_VERIFY_SSL, UNIFI_SITEค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"unifi": {
"command": "npx",
"args": [
"-y",
"unifi-mcp-server"
],
"env": {
"UNIFI_HOST": "ใส่ค่าของคุณ",
"UNIFI_USERNAME": "ใส่ค่าของคุณ",
"UNIFI_PASSWORD": "ใส่ค่าของคุณ",
"UNIFI_PORT": "ใส่ค่าของคุณ",
"UNIFI_VERIFY_SSL": "ใส่ค่าของคุณ",
"UNIFI_SITE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add unifi --env UNIFI_HOST='ใส่ค่าของคุณ' --env UNIFI_USERNAME='ใส่ค่าของคุณ' --env UNIFI_PASSWORD='ใส่ค่าของคุณ' --env UNIFI_PORT='ใส่ค่าของคุณ' --env UNIFI_VERIFY_SSL='ใส่ค่าของคุณ' --env UNIFI_SITE='ใส่ค่าของคุณ' -- npx -y unifi-mcp-serverเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"unifi": {
"command": "npx",
"args": [
"-y",
"unifi-mcp-server"
],
"env": {
"UNIFI_HOST": "ใส่ค่าของคุณ",
"UNIFI_USERNAME": "ใส่ค่าของคุณ",
"UNIFI_PASSWORD": "ใส่ค่าของคุณ",
"UNIFI_PORT": "ใส่ค่าของคุณ",
"UNIFI_VERIFY_SSL": "ใส่ค่าของคุณ",
"UNIFI_SITE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"unifi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"unifi-mcp-server"
],
"env": {
"UNIFI_HOST": "ใส่ค่าของคุณ",
"UNIFI_USERNAME": "ใส่ค่าของคุณ",
"UNIFI_PASSWORD": "ใส่ค่าของคุณ",
"UNIFI_PORT": "ใส่ค่าของคุณ",
"UNIFI_VERIFY_SSL": "ใส่ค่าของคุณ",
"UNIFI_SITE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
UNIFI_PORT envUNIFI_VERIFY_SSL envUNIFI_SITE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub enuno ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: UNIFI_HOST, UNIFI_USERNAME, UNIFI_PASSWORD
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.0) เข้า registry 10 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, A1RO — Irish employment tools
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.
Irish temp worker cost, public holiday pay and holidays, and SafeHandle certificate checks.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
UniFi MCP Server
AI-native control of UniFi networks through the Model Context Protocol
An MCP server that exposes UniFi Network, UniFi Protect and the UniFi cloud APIs (Site Manager, Mobility, InnerSpace, Carrier Fabric) as MCP tools, so AI agents can read and change UniFi infrastructure through one standard interface. It runs against one controller or, in fleet mode, many.
Current release: 0.8.0. See CHANGELOG.md for what changed.
343 tools in local mode, from 60 modules.
fleet_* tools that read across controllers. See MULTI_CONTROLLER.md and docs/FLEET_SCALING_PLAN.md.prompts/list and prompts/get operations. See docs/PROMPTS.md.confirm=True and supports dry_run=True, plus read-only and dry-run server modes, role-based access over risk tiers, and a hash-chained audit log (see below)./a2a/agent-card and /.well-known/agent-card.json, plus a capability manifest and a delegation endpoint that runs a registered tool under the server's own role, confirmation and audit controls. See A2A.md./metrics, /healthz, SIEM export of audit records, optional Redis caching, webhooks with HMAC verification.Set UNIFI_API_TYPE to choose how the server reaches UniFi.
| Mode | What it reaches | Use it for |
|---|---|---|
local (recommended) | Your UniFi console or gateway on the LAN (UNIFI_LOCAL_HOST) | Everything: device and client control, configuration, firewall, Protect |
cloud-ea | UniFi's Early Access cloud API | Sites and aggregate statistics; no per-device control or configuration |
cloud-v1 | UniFi's stable v1 cloud API | Sites and aggregate statistics; no per-device control or configuration |
The cloud tools (Site Manager, Mobility, InnerSpace, Carrier Fabric) call api.ui.com and are registered in every mode. Set UNIFI_SITE_MANAGER_ENABLED=true to use them. In local mode the server registers 343 tools; in either cloud mode, 71.
Zone-based firewall tools need UniFi Network 9.0 or later. Some documented UniFi endpoints do not exist on every firmware version; see docs/UNIFI_API.md.
UniFi Network 11 / UniFi OS 6: compatible per released documentation, with four items pending live-controller verification — not yet a claim of full support. USG gateways and the classic, self-hosted Network Application Server are removed platform targets; fleet_health automatically flags any registered controller with a USG in its device inventory, but there is no API signal to auto-detect a classic Network Application Server, so label that controller instead (e.g. deployment=classic-server) and filter on it. Network 11 replaces the statistics engine and resets historical data, so the statistics tools (get_historical_stats, get_speed_test_history, get_dpi_statistics, list_top_applications, get_client_dpi) attach a statistics_note to every empty response — an empty history right after the upgrade is expected, not an outage. See docs/NETWORK_11_COMPATIBILITY.md for the full compatibility matrix.
pip install unifi-mcp-server # or: uv tool install unifi-mcp-server
pip install 'unifi-mcp-server[fleet]'
Or use the container image (amd64, arm64 and arm/v7; the -fleet variant for amd64 and arm64):
docker pull ghcr.io/enuno/unifi-mcp-server:latest
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows), Cursor (mcp.json, from View: Open MCP Settings) and most other MCP clients take the same mcpServers block:
{
"mcpServers": { "unifi": { "command": "uvx", "args": ["unifi-mcp-server"], "env": { "UNIFI_API_KEY": " ", "UNIFI_API_TYPE": "local", "UNIFI_LOCAL_HOST": "192.168.2.1" } } } }
If you installed with pip, use "command": "unifi-mcp-server" and drop args. To run the container instead:
{
"mcpServers": { "unifi": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "UNIFI_API_KEY=your-api-key-here", "-e", "UNIFI_API_TYPE=local", "-e", "UNIFI_LOCAL_HOST=192.168.2.1", "ghcr.io/enuno/unifi-mcp-server:latest" ] } } }
Keep -i and do not add -d: the client talks to the server over the container's stdin and stdout.
| Variable | Purpose | Default |
|---|---|---|
UNIFI_API_KEY | UniFi API key (required) | — |
UNIFI_API_TYPE | local, cloud-ea or cloud-v1 | cloud-ea |
UNIFI_LOCAL_HOST / UNIFI_LOCAL_PORT | Console address in local mode | — / 443 |
UNIFI_LOCAL_VERIFY_SSL | Verify the console's TLS certificate. false logs a warning at startup | true |
UNIFI_LOCAL_CA_FILE | CA certificate (PEM) for a self-signed console, instead of turning verification off. Can be the console's own certificate | — |
UNIFI_LOCAL_TLS_SERVER_NAME | Name the console's certificate is checked against, when it is not UNIFI_LOCAL_HOST: unifi.local for UniFi OS's own certificate | — |
UNIFI_DEFAULT_SITE | Site used when a tool call names none | default |
UNIFI_SITE_MANAGER_ENABLED | Enable the cloud tools (Site Manager, Mobility, InnerSpace, Carrier) | false |
UNIFI_PROFILE | Register only one group of tools (profiles) | all |
UNIFI_READ_ONLY / UNIFI_DRY_RUN | Read-only or preview-only server | false |
DEBUG | Registers debug_api_request (raw GET/DELETE, destructive tier, removed by read-only). Leave unset in production | unset |
MCP_SERVER_TRANSPORT | stdio, streamable_http, http or sse | stdio |
MCP_AUTH_TOKEN | Bearer token, required on network transports; viewer: (or operator:, admin:) limits a token's role | — |
REDIS_URL | Optional response cache | — |
WEBHOOK_SECRET | HMAC secret for incoming UniFi webhooks | — |
DATABASE_URL | Turns on fleet mode (Postgres) | — |
.env.example lists every setting with comments, including audit logging, SIEM export, metrics, Supermemory and agnost.ai.
The skills/ directory holds agent skills: Markdown files an AI agent loads on demand, so it knows which UniFi tools exist and how to use them safely without keeping every tool definition in context. Each skill is a folder with a SKILL.md, in the layout Claude Code and other agents install.
Using the server (operator skills)
| Skill | Covers |
|---|---|
unifi-network | Clients, networks and VLANs, WiFi, DHCP, DNS, WAN, vouchers |
unifi-devices | Inventory, adoption, restarts and upgrades, ports, switching, topology |
unifi-security | Firewall rules and groups, zone-based firewall, ACLs, port forwarding, VPN |
unifi-system | Sites, backups, QoS, traffic flows, DPI, RADIUS, guest portal |
unifi-channel-planning | Low-interference WiFi channel plans from neighbor scans |
Changing this codebase (developer skills)
| Skill | Covers |
|---|---|
unifi-mcp-tool-builder | Adding any MCP tool: model, function, registration, tests, docs |
unifi-network-config-tools | Network configuration tools: URL spaces, site IDs, read-modify-write |
unifi-security-tools | Firewall, ZBF, ACL and port forward tools, and their risk tiers |
unifi-protect-tools | The protect_* modules and the Protect client |
unifi-cloud-fleet-tools | Cloud API tools and the fleet stack |
Claude Code loads skills from ~/.claude/skills/ /SKILL.md (every session) or /.claude/skills/ /SKILL.md (one project). Copy the folders you want:
git clone https://github.com/enuno/unifiตัดมาแค่ช่วงต้น อ่านต่อใน repo