MCP.Market

Unifi MCP server

by mikeholownych·io.github.mikeholownych/unifi-mcp·v0.8.2·2 stars

MCP server for Ubiquiti UniFi Network and Protect. 63 tools, 16 agent skills.

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

full report

Adoption
Growing

2 stars35 downloads/wk

Reviews

Write one

Nobody has reviewed Unifi yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Unifi tools (66, 9 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • analyze_network_issues

    Analyze the network for potential issues and return a structured report.

  • archive_all_alarms

    Archive all active alarms.

  • block_client

    Block a client from the network.

  • create_firewall_policywrite action

    Create a zone-based firewall policy (UniFi Network 9+).

  • create_port_forwardwrite action

    Create a port forwarding rule on the gateway.

  • create_wlanwrite action

    Create a wireless network (SSID) with WPA2/WPA3 transition security.

  • delete_firewall_policywrite action

    Delete a zone-based firewall policy. Requires confirm=true.

  • delete_port_forwardwrite action

    Delete a port forwarding rule. Requires confirm=true.

  • delete_wlanwrite action

    Delete a wireless network (SSID). Requires confirm=true.

  • export_camera_clip

    Export a camera recording clip (MP4) to a local file. Requires Protect credentials.

  • forget_clientwrite action

    Remove a client from the known clients list.

  • get_alarms

    Get active alarms.

  • get_all_sites_health

    Get health overview across all sites.

  • get_camera_details

    Get detailed information about a specific camera.

  • get_camera_health_summary

    Get a health summary of all cameras.

  • get_camera_snapshot

    Get a snapshot from a camera.

  • get_client_details

    Get detailed information about a specific client.

  • get_client_experience_report

    Generate a client experience report with connection quality metrics.

  • get_client_traffic

    Get traffic statistics for a specific client.

  • get_device_details

    Get detailed information about a specific device.

  • get_device_health_summary

    Summarize device health across all APs, switches, and routers.

  • get_device_stats

    Get performance statistics for a device.

  • get_dpi_stats

    Get Deep Packet Inspection statistics for the site.

  • get_firewall_policies

    Get zone-based firewall policies (UniFi Network 9+).

  • get_firewall_rules

    Get firewall rule configurations.

  • get_global_client_summary

    Get a summary of all connected clients across all controllers.

  • get_global_health

    Get health summary across all configured controllers.

  • get_global_inventory

    Get a unified inventory of all devices across all configured controllers.

  • get_liveviews

    Get all configured Protect liveviews.

  • get_motion_events

    Get recent motion events from cameras.

  • get_network_health

    Get overall network health summary.

  • get_networks

    Get all network/VLAN configurations.

  • get_optimization_recommendations

    Analyze network configuration and provide optimization recommendations.

  • get_port_forwards

    Get all port forwarding rules (external port+protocol → internal IP+port).

  • get_port_profiles

    Get switch port profile configurations.

  • get_protect_accessories

    Get all Protect accessories (lights, sensors, chimes, viewers).

  • get_protect_event_summary

    Get a summary of all Protect events for the time period.

  • get_protect_system_info

    Get UniFi Protect system information including camera and accessory counts.

  • get_recent_events

    Get recent network events.

  • get_recent_protect_activity

    Get recent activity across all cameras.

  • get_routing_table

    Get the current routing table.

  • get_site_health

    Get comprehensive health status for a site.

  • get_site_settings

    Get site configuration settings.

  • get_smart_detections

    Get smart detection events (person, vehicle, animal, package).

  • get_speed_test_status

    Get speed test status and results.

  • get_sysinfo

    Get system information for the site controller.

  • get_traffic_analysis

    Analyze traffic patterns over the specified time period.

  • get_traffic_summary

    Get traffic summary for the site.

  • get_wlans

    Get all wireless network (SSID) configurations.

  • kick_client

    Disconnect a client (they can reconnect).

  • list_all_clients

    List all known clients (including offline).

  • list_cameras

    List all UniFi Protect cameras with status.

  • list_clients

    List all currently connected clients.

  • list_devices

    List all UniFi network devices (APs, switches, routers).

  • list_sites

    List all UniFi sites accessible to the current user.

  • list_unifi_devices

    List all configured UniFi devices.

  • locate_device

    Enable/disable LED blinking to locate a device.

  • provision_device

    Force re-provision a device with current configuration.

  • reserve_client_ip

    Reserve a device's current IP (or a specific one) via DHCP reservation.

  • restart_device

    Restart a UniFi device.

  • run_speed_testwrite action

    Initiate a WAN speed test.

  • set_firewall_policy_enabled

    Enable or disable a zone-based firewall policy.

  • troubleshoot_client

    Deep-dive troubleshooting for a specific client.

  • unblock_client

    Unblock a previously blocked client.

  • update_wlanwrite action

    Update a wireless network (SSID) by ID or name - only provided fields change.

  • upgrade_device

    Upgrade device firmware to the latest version.

Public scan report

scanner v0.1.10 · 2026-10-31 · same rubric, same numbers if you re-run it

no findings
  • Code scan21 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 6 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 83/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Unifi compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
83/100
higher than 68% of 4,460 AI and agents servers
Tools
66
the typical AI and agents server has 6
Tools that change things
14%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
2
more than 65% of 2,711 AI and agents servers
Downloads a week
35
more than 25% of 1,538 AI and agents servers with a package

What its tools let an agent do: 54 read · 3 create · 3 change · 4 delete · 2 run or deploy

Install Unifi in Claude Code, Cursor or VS Code

claude mcp add unifi-mcp -- uvx mcp-unifi
Add to Cursor

What the publisher says

From the Unifi repository's README, as published. We do not edit it. Read it on GitHub

UniFi MCP Server

mcp-name: io.github.mikeholownych/unifi-mcp

An MCP (Model Context Protocol) server that provides AI assistants like Claude with access to UniFi Network and Protect infrastructure management and analysis capabilities. It uses the native MCP SDK 2 MCPServer API (not FastMCP 3) and communicates over stdio by default.

Credits: This project started as a fork of gbassaragh/Unifi-mcp and has since evolved into a fully independent project. Thanks to @gbassaragh for the excellent starting point.

Improvements Over Upstream

  • Fixed local session authentication routing — in UNIFI_MODE=local, requests now correctly use the traditional controller API (/proxy/network) with cookie + CSRF session auth. Upstream always routed through the Integration API regardless of mode.
  • Mode-aware base URL resolution — apibaseurl now respects the configured auth mode instead of unconditionally returning the Integration API endpoint.
  • Expanded test suite — 250+ passing tests covering configuration, MCP compatibility, runtime persistence, network client behavior, server tool registration, and Protect integrations.

Features

UniFi Network

  • Device Management: List, restart, locate, and upgrade UniFi devices (APs, switches, routers)
  • Client Management: Monitor connected clients, block/unblock, view traffic statistics
  • Site Management: View site health, network configurations, VLANs, and wireless settings
  • Statistics & Monitoring: Events, alarms, speed tests, and DPI statistics
  • AI-Powered Insights: Network analysis, optimization recommendations, and troubleshooting

UniFi Protect

  • Camera Management: List cameras, view status, get live snapshots
  • System Monitoring: NVR status, camera health summaries
  • Accessories: Manage lights, sensors, chimes, and viewers
  • Liveviews: Access configured camera view layouts

Multi-Device Support

  • Configure multiple UniFi devices (gateways, NVRs, etc.)
  • Target specific devices by name — all network and Protect tools accept an optional device parameter
  • Per-device API keys: each configured device authenticates with its own key
  • Mix of Network and Protect services across devices

Events and Safe Automation

  • Normalize and durably deduplicate Network and Protect events in optional SQLite storage
  • Poll each configured source independently and report unsupported capabilities explicitly
  • Run only built-in interval jobs: pollevents, retrywebhookdeliveries, captureobservations, and pruneruntimedata
  • Deliver filtered, signed HTTPS webhooks with bounded retries and dead-letter state
  • Keep persistence, background automation, and private webhook destinations disabled by default

Authentication Modes

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Unifi: common questions

Is Unifi MCP server safe?
Mostly: it is graded B (83/100). Read the Unifi safety report
How do I install Unifi?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Unifi need an API key?
Yes. The registry entry asks for UNIFI_PASSWORD.
Is Unifi maintained?
The last commit was 11 days ago (2026-10-24). The latest release is v0.8.2.
What can I use instead of Unifi?
Servers from other publishers that do the same job: Pm Claude Skills MCP server, Watch Skill MCP server and mcptoon MCP server.
How does Unifi compare with other AI and agents MCP servers?
safety score 83/100 (higher than 68% of 4,460 AI and agents servers); tools 66 (the typical AI and agents server has 6); tools that change things 14% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Unifi

Same job from other publishers: the closest match first, then the best rated.

  • Pm Claude Skills
    1310 professional Agent Skills + workflow recipes — searchable & fetchable over MCP.
    A
  • Watch Skill
    Watch video and live sessions, keep timestamped evidence, and verify an agent's own work.
    B
  • mcptoon
    MCP tools + agent skills in one zero-dependency CLI: 71,929 -> 581 tokens (-99.2%, measured).
    A
  • three.ws Marketplace
    Browse and discover the public three.ws agent marketplace and skills catalog. Read-only.
    A
  • Skillsmith
    Share agent skills across your team, scan them for risk, and track what's actually used.
    B