Unicode Security MCP
Local checks for Unicode confusables, mixed scripts, invisible controls, and suspicious identifiers.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Manage a Ubiquiti UniFi network: devices, clients, WiFi, firewall and VPN. Read-only by default.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
MCP_TRANSPORT, UNIFI_URL, UNIFI_API_KEY, UNIFI_USERNAME, UNIFI_PASSWORD, UNIFI_TLS_FINGERPRINT, UNIFI_VERIFY_SSL, UNIFI_SITE, UNIFI_ALLOW_WRITES, UNIFI_ALLOW_DELETES, UNIFI_TOOLSETS, UNIFI_AUDIT_LOGค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้
พิมพ์คำสั่งนี้ใน Terminal
claude mcp add unifi --env MCP_TRANSPORT='ใส่ค่าของคุณ' --env UNIFI_URL='ใส่ค่าของคุณ' --env UNIFI_API_KEY='ใส่ค่าของคุณ' --env UNIFI_USERNAME='ใส่ค่าของคุณ' --env UNIFI_PASSWORD='ใส่ค่าของคุณ' --env UNIFI_TLS_FINGERPRINT='ใส่ค่าของคุณ' --env UNIFI_VERIFY_SSL='ใส่ค่าของคุณ' --env UNIFI_SITE='ใส่ค่าของคุณ' --env UNIFI_ALLOW_WRITES='ใส่ค่าของคุณ' --env UNIFI_ALLOW_DELETES='ใส่ค่าของคุณ' --env UNIFI_TOOLSETS='ใส่ค่าของคุณ' --env UNIFI_AUDIT_LOG='ใส่ค่าของคุณ' -- docker run -i --rm -e MCP_TRANSPORT -e UNIFI_URL -e UNIFI_API_KEY -e UNIFI_USERNAME -e UNIFI_PASSWORD -e UNIFI_TLS_FINGERPRINT -e UNIFI_VERIFY_SSL -e UNIFI_SITE -e UNIFI_ALLOW_WRITES -e UNIFI_ALLOW_DELETES -e UNIFI_TOOLSETS -e UNIFI_AUDIT_LOG ghcr.io/mattoddie/unifi-mcp:0.6.1เติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"unifi": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_TRANSPORT",
"-e",
"UNIFI_URL",
"-e",
"UNIFI_API_KEY",
"-e",
"UNIFI_USERNAME",
"-e",
"UNIFI_PASSWORD",
"-e",
"UNIFI_TLS_FINGERPRINT",
"-e",
"UNIFI_VERIFY_SSL",
"-e",
"UNIFI_SITE",
"-e",
"UNIFI_ALLOW_WRITES",
"-e",
"UNIFI_ALLOW_DELETES",
"-e",
"UNIFI_TOOLSETS",
"-e",
"UNIFI_AUDIT_LOG",
"ghcr.io/mattoddie/unifi-mcp:0.6.1"
],
"env": {
"MCP_TRANSPORT": "ใส่ค่าของคุณ",
"UNIFI_URL": "ใส่ค่าของคุณ",
"UNIFI_API_KEY": "ใส่ค่าของคุณ",
"UNIFI_USERNAME": "ใส่ค่าของคุณ",
"UNIFI_PASSWORD": "ใส่ค่าของคุณ",
"UNIFI_TLS_FINGERPRINT": "ใส่ค่าของคุณ",
"UNIFI_VERIFY_SSL": "ใส่ค่าของคุณ",
"UNIFI_SITE": "ใส่ค่าของคุณ",
"UNIFI_ALLOW_WRITES": "ใส่ค่าของคุณ",
"UNIFI_ALLOW_DELETES": "ใส่ค่าของคุณ",
"UNIFI_TOOLSETS": "ใส่ค่าของคุณ",
"UNIFI_AUDIT_LOG": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"unifi": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MCP_TRANSPORT",
"-e",
"UNIFI_URL",
"-e",
"UNIFI_API_KEY",
"-e",
"UNIFI_USERNAME",
"-e",
"UNIFI_PASSWORD",
"-e",
"UNIFI_TLS_FINGERPRINT",
"-e",
"UNIFI_VERIFY_SSL",
"-e",
"UNIFI_SITE",
"-e",
"UNIFI_ALLOW_WRITES",
"-e",
"UNIFI_ALLOW_DELETES",
"-e",
"UNIFI_TOOLSETS",
"-e",
"UNIFI_AUDIT_LOG",
"ghcr.io/mattoddie/unifi-mcp:0.6.1"
],
"env": {
"MCP_TRANSPORT": "ใส่ค่าของคุณ",
"UNIFI_URL": "ใส่ค่าของคุณ",
"UNIFI_API_KEY": "ใส่ค่าของคุณ",
"UNIFI_USERNAME": "ใส่ค่าของคุณ",
"UNIFI_PASSWORD": "ใส่ค่าของคุณ",
"UNIFI_TLS_FINGERPRINT": "ใส่ค่าของคุณ",
"UNIFI_VERIFY_SSL": "ใส่ค่าของคุณ",
"UNIFI_SITE": "ใส่ค่าของคุณ",
"UNIFI_ALLOW_WRITES": "ใส่ค่าของคุณ",
"UNIFI_ALLOW_DELETES": "ใส่ค่าของคุณ",
"UNIFI_TOOLSETS": "ใส่ค่าของคุณ",
"UNIFI_AUDIT_LOG": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
MCP_TRANSPORT envUNIFI_USERNAME envUNIFI_TLS_FINGERPRINT envUNIFI_VERIFY_SSL envUNIFI_SITE envUNIFI_ALLOW_WRITES envUNIFI_ALLOW_DELETES envUNIFI_TOOLSETS envUNIFI_AUDIT_LOG envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub mattoddie ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: UNIFI_URL, UNIFI_API_KEY, UNIFI_PASSWORD
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.6.1) เข้า registry 17 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker, MCPB ในเครื่องด้วย
ในหมวดเดียวกันมี Unicode Security MCP, Osv MCP, Epss MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Local checks for Unicode confusables, mixed scripts, invisible controls, and suspicious identifiers.
Exploit Prediction Scoring System scores: how likely a CVE will be exploited in the next 30 days.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Talk to your UniFi network.
An open-source Model Context Protocol server for Ubiquiti UniFi Network. It lets Claude and other AI assistants monitor and manage your sites, devices, clients, WiFi, firewall and more, all from one Docker container.
[unifi-mcp.mattoddie.dev](https://unifi-mcp.mattoddie.dev)
Quick start · Documentation · Tool reference · Contributing
"Why is the lounge TV buffering?"
*The TV is on the Lounge AP at -78 dBm and 12 Mbps, and that AP's 5 GHz radio is at 81% channel utilisation on channel 36. Moving the AP to channel 149 or adding a wired backhaul should fix it. Want me to change the channel?*
Ask about your network in plain English. The assistant picks from 145 tools to look things up and, if you allow it, make changes. Some examples:
ghcr.io/mattoddie/unifi-mcp, about 22 MB) for linux/amd64 and linux/arm64. It serves Streamable HTTP for a long-running service, or stdio for docker run -i. For Claude Desktop there's also a one-click extension bundle (.mcpb) that needs no Docker.dry_run: true to show the request it would send, with a field-level diff of what would change, without changing anything. UNIFI_AUDIT_LOG records each change in a JSON Lines audit log.You need Docker, a UniFi controller and an MCP client such as Claude Code.
1. Get credentials. On a UniFi OS console, create an API key: UniFi Network → Settings → Control Plane → Integrations → Create API Key. On older controllers, use a local account instead.
2. Start the server.
mkdir unifi-mcp && cd unifi-mcp
curl -fsSLO https://raw.githubusercontent.com/mattoddie/unifi-mcp/main/compose.yaml curl -fsSL https://raw.githubusercontent.com/mattoddie/unifi-mcp/main/example.env -o .env
openssl rand -hex 32).docker compose up -d
3. Connect your assistant.
claude mcp add --transport http unifi http://<docker-host>:8080/mcp \
--header "Authorization: Bearer "
Now ask *"How's my network doing?"* in Claude Code.
Using Claude Desktop, VS Code, Cursor or Codex? See Connecting MCP clients. Prefer not to run a service? Use stdio mode with docker run -i.
On a Mac or Windows PC with Claude Desktop, you don't need Docker at all. Download the .mcpb bundle for your computer from the latest release, open it, and enter your controller URL, API key and certificate fingerprint in the settings. See Claude Desktop.
unifi-mcp is also listed in the MCP Registry as io.github.mattoddie/unifi-mcp, with the image (over stdio) and the bundles, so clients and directories that read the registry can install it.
Out of the box the assistant can look but not touch. To let it make changes, add these to .env and run docker compose up -d:
UNIFI_ALLOW_WRITES=true # restart devices, block clients, edit WiFi/firewall/networks…
UNIFI_ALLOW_DELETES=true # also allow deleting configuration, forgetting clients… (needs writes too) UNIFI_TOOLSETS=overview,devices,clients,wifi,monitoring # optional: expose fewer tools UNIFI_AUDIT_LOG=stderr # optional: log every change (or a file path; see docs/configuration.md)
Ask for a dry run to preview a change first: *"Dry run: disable the guest WiFi. What would change?"* Read Security before turning on writes for a production network.
| Toolset | What's covered |
|---|---|
overview | Sites, controller info, site health |
devices | Device status and details, restart/locate/provision, firmware upgrades (also rolling), radios, PoE outlets, adoption, RF scans, AP groups |
clients | Online and known clients, block/unblock, reconnect, names, fixed IPs, lock to an AP, forget |
switching | Switch ports, port profiles, PoE power-cycling, port mirroring, link aggregation, LLDP neighbours |
wifi | WLANs (SSIDs, security, VLANs, bands), WiFi QR codes |
networks | Networks/VLANs and DHCP, WAN, local DNS records, bandwidth profiles, dynamic DNS |
firewall | Port forwards, firewall rules and groups, zone-based policies and zones, traffic rules, QoS rules, NAT rules, switch ACL rules, object-oriented network policies |
routing | Static routes, policy-based traffic routes |
security | IDS/IPS threat management, threat log, country blocking, content filtering |
vpn | VPN servers and site-to-site VPNs, RADIUS profiles and accounts |
hotspot | Vouchers, hotspot operators, guest authorization, guest portal |
monitoring | Events, alarms, traffic reports, traffic flows, DPI, speed tests, rogue APs, system log, sessions, anomalies, dashboards |
admin | Site settings (including SNMP, mDNS and auto-backup), admins, backups, controller updates, sites |
raw | An escape hatch that calls any controller API path |
See the [tool reference](docs/tools.md) for every tool and argument. Ready-made prompts like network_health_check, troubleshoot_client and security_review chain the tools together for common jobs.
The docs are also published at [unifi-mcp.mattoddie.dev/docs](https://unifi-mcp.mattoddie.dev/docs/), with search.
| 🚀 Getting started | Step-by-step setup, from credentials to first question |
| 🔌 Connecting MCP clients | Claude Code, Claude Desktop, VS Code, Cursor, Codex, stdio mode |
| ⚙️ Configuration | Every environment variable, Docker secrets, toolsets |
| 🐳 Deployment | Compose, image tags, upgrades, TLS reverse proxy, hardening |
| 💬 Using unifi-mcp | Example conversations, prompts, how saves and secrets work |
| 🧰 Tool reference | All 145 tools and 5 prompts, generated from the code |
| 🛡️ Security | Threat model, least privilege, safe write setups |
| 📡 Compatibility | Supported controllers and versions, API caveats |
| 🩹 Troubleshooting | Common errors and how to fix them |
| 🛠️ Development | Architecture, adding a tool, testing |
Contributions are very welcome, whether that's bug reports, compatibility reports from your hardware, docs or new tools. Read the contributing guide to get started, and please follow the code of conduct. To report a vulnerability, see the security policy. Please don't open a public issue for one.
MIT © Matt Oddie
*unifi-mcp is an independent community project. It is not affiliated with, endorsed by or sponsored by Ubiquiti Inc. UniFi and Ubiquiti are trademarks of Ubiquiti Inc.*