Skip to content

Security

UniFi On Prem MCP connector

The UniFi On Prem connector lets Claude, ChatGPT, Cursor, or any MCP client manage the people in your UniFi access system, creating users, assigning NFC cards, PIN codes, touch passes, license plates, and access policies, with every change logged.

  • How it connects. Connects with an API key. The credential goes into a vault nobody reads back.

  • One address. https://api.elaichi.ai/mcp, the same for every user.

  • Their own access. An agent never gets more than the person it acts for.

How to connect

How to connect UniFi On Prem to Claude, ChatGPT or Cursor

Two steps, about a minute.

1

In Elaichi

Connect UniFi On Prem once

  1. Open Connections, choose Add connection, and pick UniFi On Prem.

  2. Optionally set Share with to give a team access, then press Connect.

  3. Paste an UniFi On Prem API key. One person generates a token in UniFi On Prem and pastes it once. Everyone else works through Share with, and never sees it.

The credential is vaulted. Nobody reads it back, not even the AI.

Add connection

Choose a connector.

unifi on prem
UniFi On Prem
Censys
Herd Security
Infisical
Orca Security
SecurityScorecard
2

In your AI client

Point it at one endpoint

Everyone in the organization uses the same address, and each person only ever reaches what their own account allows.

Connect UniFi On Prem to Claude

  1. 1

    Open Customize, then Connectors.

  2. 2

    Press Add.

  3. 3

    Name it, paste the MCP server URL, then Continue.

    https://api.elaichi.ai/mcp
  4. 4

    Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

Connect UniFi On Prem to ChatGPT

  1. 1

    Open Plugins, then press the + button.

  2. 2

    Name it and paste the endpoint into Server URL.

    https://api.elaichi.ai/mcp
  3. 3

    Leave Authentication on OAuth, then tick the risk acknowledgement.

  4. 4

    Press Create, then sign in and approve.

Works on the web today. The plugin directory lives at chatgpt.com/plugins.

Connect UniFi On Prem to Cursor

  1. 1

    Open ~/.cursor/mcp.json.

  2. 2

    Add the endpoint under mcpServers.

    https://api.elaichi.ai/mcp
  3. 3

    Reload Cursor, then sign in and approve.

~/.cursor/mcp.json

{
  "mcpServers": {
    "elaichi": {
      "url": "https://api.elaichi.ai/mcp"
    }
  }
}

Set up per machine, so repeat it on each computer you work from.

Connect UniFi On Prem to any MCP client

  1. 1

    Add the endpoint as a remote MCP server.

    https://api.elaichi.ai/mcp
  2. 2

    Sign in and approve.

{
  "mcpServers": {
    "elaichi": {
      "url": "https://api.elaichi.ai/mcp"
    }
  }
}

The Elaichi Agent already has these tools, with nothing to set up.

Use cases

What teams do with UniFi On Prem through Elaichi

Every one of these runs inside the access the person already has, and lands in the same audit log.

  • HR

    Set up building access on day one

    Create the new hire as a UniFi On Prem user, add them to the right user group, and assign their access policy and PIN code before they walk in on Monday.

  • Facilities

    Replace a lost badge in seconds

    Unassign the missing NFC card from the person's UniFi On Prem user and assign the new one, without opening the controller or waiting for IT.

  • Security

    Check who can open which doors

    Ask which access policies a UniFi On Prem user holds, or list everyone in a user group, before an audit or right after a change.

  • Office management

    Register a contractor's license plate for parking

    Assign the plate to the contractor's UniFi On Prem user for the week and remove it when the job ends, so the gate stops recognizing it.

  • IT

    Move a whole team to phone entry

    Batch assign touch passes to a department's UniFi On Prem users in one go instead of handling each person individually.

  • Security

    Revoke access the moment someone leaves

    Unassign the departing employee's PIN code, NFC card, touch pass, and license plate in UniFi On Prem, or delete their user entirely, before they reach the parking lot.

Try asking

  • “List all UniFi On Prem users without an access policy.”
  • “Assign a PIN code to the new warehouse contractor.”
  • “Which users still hold NFC cards after leaving?”

See all 109 UniFi On Prem tools below

AI tools

UniFi On Prem tools for your AI agents

109 tools are ready to call through Elaichi's MCP endpoint the moment you connect UniFi On Prem, governed by the same roles, restrictions, and audit log as everything else in Elaichi.

See it in Elaichi

What connecting UniFi On Prem gets you

6 screens from the product, each doing one job for your UniFi On Prem account.

The agent

Ask about UniFi On Prem access in plain language.

Answers come from live users, access policies and NFC card assignments.

  • users
  • access policies
  • nfc cards
  • pin codes

Ask Elaichi to work across your apps.

List all UniFi On Prem users without an access policy.

Assign a PIN code to the new warehouse contractor.

Which users still hold NFC cards after leaving?

Also runs in Claude, ChatGPT or Cursor

MCP clients

One endpoint connects Claude, ChatGPT and Cursor.

Every client reaches UniFi On Prem over OAuth, no SDK, no shared key.

ElaichiMCP clients
Claude ChatGPT Cursor

Copy the endpoint

https://api.elaichi.ai/mcp
Client Connected by Status Last used
Claude
E

Emma Laurent

• Connected 4 minutes ago
Cursor
S

Sofia Ricci

• Connected 2 hours ago
ChatGPT
C

Clara Nowak

• Connected Yesterday

Tool catalog

109 UniFi On Prem tools are ready to call.

Users, access policies, PIN codes and touch passes, with no custom code.

  • Create a UniFi On Prem user
  • Update a UniFi On Prem user by ID
  • Get single UniFi On Prem user by ID
  • List all UniFi On Prem users
ElaichiTools
Tool Action Description
Create a UniFi On Prem user Create Register a new user in UniFi Access. Returns the created user object including its id, first_name, last_name, user_email, employee_number, onboard_time, status, and assigned access policies. Required: first_name, last_name.
Update a UniFi On Prem user by ID Update Update a user's details in UniFi Access by id. Returns the updated user object including its id, first_name, last_name, user_email, employee_number, onboard_time, status, and assigned access policies. Required: id.
Get single UniFi On Prem user by ID Get Get a single UniFi Access user by id. Returns the full user object including its id, first_name, last_name, user_email, employee_number, onboard_time, status, access policies, NFC cards, license plates, PIN code, and touch pass. Required: id.
List all UniFi On Prem users List List all UniFi Access users with pagination. Returns each user's id, first_name, last_name, user_email, employee_number, onboard_time, status, access policies, NFC cards, license plates, PIN code, and touch pass. Optional: expand to include access policies.
UniFi On Prem users assign access policy Assign Assign or replace access policies for a UniFi Access user. Pass an array of access policy IDs to set the user's assigned policies; pass an empty array to remove all policies. Returns an empty 204 response on success. Required: user_id, access_policy_ids.

Toolboxes

Each team gets its own UniFi On Prem toolbox.

Curate one toolbox for facilities, another for IT security, another for HR onboarding.

  • Facilities
  • IT Security
  • People Ops
  • Front Desk
ElaichiToolboxes
Name Source template Tools Created

Facilities toolbox

UniFi On Prem · doors and access policies

UniFi On Prem starter 18 Mar 4, 2026

IT Security toolbox

UniFi On Prem · users and credential audits

9 Mar 2, 2026

People Ops toolbox

UniFi On Prem · onboarding and offboarding users

24 Feb 27, 2026

Front Desk toolbox

UniFi On Prem · visitor PIN codes and NFC cards

UniFi On Prem starter 6 Feb 19, 2026

Site Operations toolbox

UniFi On Prem · per building user lists

31 Jan 30, 2026

Compliance toolbox

UniFi On Prem · access policy reviews

12 Jan 22, 2026

Shared connections

Teammates use the connection, never the credential.

See who connected each UniFi On Prem account and which teams share it.

  • HQ Building
  • Warehouse North
  • Datacenter
  • Front Desk
ElaichiConnections
Connection Scope Status Access
UN

UniFi On Prem (HQ Building)

Connected by Emma Laurent

Personal • Active 1 team · 6 members
UN

UniFi On Prem (Warehouse North)

Connected by James Whitfield

Organization • Active 3 teams · 24 members
UN

UniFi On Prem (Datacenter)

Connected by Sofia Ricci

Organization • Active 2 teams · 11 members
UN

UniFi On Prem (Front Desk)

Connected by Daniel Ortega

Personal • Needs re-auth 1 team · 3 members
UN

UniFi On Prem (Contractors)

Connected by Clara Nowak

Personal • Active Not shared
UN

UniFi On Prem (Regional Sites)

Connected by Michael Brennan

Personal • Active 2 teams · 9 members

Audit log

Every badge and policy change has a name on it.

When, who, what happened, type and resource for each UniFi On Prem call.

  • When
  • Who
  • What happened
  • Type
ElaichiAudit log
When Who What happened Type

2 minutes ago

Mar 6, 2026, 3:10 PM

E

Emma Laurent

[email protected]

Restriction Created Access

8 minutes ago

Mar 6, 2026, 3:04 PM

J

James Whitfield

[email protected]

Restriction Updated Access

14 minutes ago

Mar 6, 2026, 2:58 PM

S

Sofia Ricci

[email protected]

Role Assigned Access

20 minutes ago

Mar 6, 2026, 2:52 PM

D

Daniel Ortega

[email protected]

UniFi On Prem Users Updated MCP

26 minutes ago

Mar 6, 2026, 2:46 PM

C

Clara Nowak

[email protected]

UniFi On Prem Users Created MCP

32 minutes ago

Mar 6, 2026, 2:40 PM

M

Michael Brennan

[email protected]

UniFi On Prem Users List Toolbox

Launching soon

From answering questions to doing the work

A person no longer has to ask. A trigger starts the work, inside the same permissions and the same audit log as everything else. Automations and live dashboards are launching soon, on the Black plan.

Automations

A schedule runs the whole access review.

Fetch users, group them, draft a digest, get approval, post back to UniFi On Prem.

UniFi On Prem digest

Run 418 · started 2 minutes ago · on behalf of Emma Laurent

  1. Schedule

    Every weekday at 08:00

    0.2s
  2. Fetch users

    UniFi On Prem

    1.4s
  3. Group by owner

    Transform

    0.1s
  4. Draft the digest

    Agent step

    Ran with 4 tools, returned a structured summary

    6.2s
  5. Approve the digest

    Needs approval

    Assigned to Michael Brennan

    Approve
  6. Post the digest

    UniFi On Prem

    Queued

Collections and dashboards

Access numbers arrive before anyone asks.

Users created over 14 days, broken down by team, refreshed on a schedule.

UniFi On Prem health

Refreshed 4 minutes ago · every 15 minutes · from the users collection

Live

Users

1,284 ↓ 12%

Access policies

96 ↓ 8%

Needs attention

3 ↑ 2

Updated this week

412 ↑ 9%

Users created

Last 14 days

By team

Share of activity

HQ Building 34%

Warehouse North 27%

Datacenter 21%

Front Desk 18%

FAQ

Frequently asked questions

How do I connect UniFi On Prem to Claude?

Two steps. In Elaichi, pick UniFi On Prem from the connector catalog and paste in the API key from your UniFi controller, there is no OAuth application to register and no client ID or secret to generate. Then in Claude open Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. Sign in with your Elaichi account and UniFi On Prem is ready to use.

Does UniFi On Prem work with ChatGPT and Cursor as well as Claude?

Yes. Once UniFi On Prem is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Cursor, any other MCP client, and the Elaichi Agent. You connect UniFi On Prem once and every client picks it up.

What can an AI agent actually do with my UniFi On Prem data?

An agent can create and update UniFi On Prem users, search for a person, upload their profile picture, and put them in the right user group. It can assign or remove NFC cards, PIN codes, touch passes, license plates, and access policies, and tell you which policies someone currently holds. Because UniFi On Prem has a lot of actions, short concrete asks like "assign a PIN to Maria Lopez" work better than long paragraphs.

Does connecting UniFi On Prem give the AI control of every door and every user?

No. Every call to UniFi On Prem runs inside the access of the person who signed in, so the AI can only see and change the users, groups, and policies that person could already manage. Elaichi can narrow that further with restrictions, but it never widens it beyond what UniFi On Prem itself allows that person.

Can my team share one UniFi On Prem connection?

Yes. One person connects UniFi On Prem in Elaichi with the API key and shares the connection with a team, and nobody else ever handles the key. Each teammate still signs in to Elaichi as themselves, so the audit log names the actual person who assigned a badge or changed an access policy.

Can I stop an agent from deleting or changing things in UniFi On Prem?

Yes. Restrictions in Elaichi work per action, so you can allow searching and listing UniFi On Prem users while blocking deletion, or blocking changes to access policies. A blocked action is never advertised to Claude, ChatGPT, or any other client, so no prompt can reach it.

What happens to a UniFi On Prem connection when someone leaves?

Offboarding that person in Elaichi ends their access to UniFi On Prem through every client at once. A shared UniFi On Prem connection keeps working for everyone else on the team. If you ever want to remove UniFi On Prem entirely, disconnecting it once in Elaichi removes it from Claude, ChatGPT, Cursor, and every other client.

Put UniFi On Prem in front of your team

Fourteen days on Gold, no credit card. Connect it once and pick what each team can call.