- Through the app itself: the app (for example, a partner integration) opens the Omni Z-API sign-in and uses the API with the authorized permissions, which can include sending messages. That door is a separate topic and is not covered on this page.
- Through an AI, via MCP: an AI assistant uses the workspace through the Omni Z-API MCP (Model Context Protocol) server. The AI is a connected app like any other, with the same sign-in and the same consent, and it follows the MCP access rules.
Server address
How the connection works
- You add the address to the AI client.
- The client opens the Omni Z-API sign-in page. Sign in with your account.
- Choose the workspace.
- Check what the AI will be able to do.
- Click to authorize.
- If the workspace requires approval for new connections and you are not the Owner, the AI only starts working after the Owner approves the request. The Owner sees the requests on the Connected apps page, in the notice about access requests waiting for approval: just click See requests.
The AI acts with the permissions of the person who authorized it and disconnects when that person leaves the workspace.
Connect your AI client
- Claude
- Claude Code
- ChatGPT
- Cursor
- VS Code
- n8n
- Add a custom connector with the address
https://mcp.omni.z-api.io/mcp. - When you connect, Claude opens the Omni Z-API sign-in. Follow the flow above.
What the AI can do
The AI can do what the Maximum permissions through the MCP allow: it never gets a permission that isn’t checked there. By default, only See channels and their status, See templates and See flows are checked. New operations will be added to MCP, always within those permissions. In this version, the AI can use the tools below.
The validation tools check a template or a flow and return the errors, without creating, sending or syncing anything. The tools that make changes:
templates_createcreates a WhatsApp template, which then goes through Meta’s review.templates_updateedits a template that is not approved yet, for example a rejected or paused one. It also needs See templates.templates_media_uploaduploads a template’s header media to Meta, from a publichttpsURL.flows_createcreates a flow as a draft, andflows_updateedits the name, the categories or the JSON of a flow. MCP never publishes a flow: publishing is done in the dashboard.templates_syncandflows_syncsync the templates or the flows of a WhatsApp account with Meta.
Who can change templates and flows
Checking Create and edit templates or Create and edit flows (draft) is not enough. The AI only makes changes when all the conditions below hold:
An existing connection only gets the change permission when the person authorizes again. The conditions are checked again on every use: if one stops holding, the AI stops making changes.
MCP access rules
In Administration → Connected apps, click Access rules and open the MCP tab. The Third-party apps tab has the rules for the other door: one changes nothing in the other. Everyone in the workspace sees the rules, and only the Owner changes them.IP list
The workspace doesn’t check the IP the AI calls from: an AI’s requests usually come from its provider’s servers, not from your network. With an IP list, the Serve the MCP outside the workspace IP list option decides:- Off, the default: the workspace refuses every AI call through MCP, both reads and changes.
- On: the AI reads normally, but changes nothing.
Revoke
- One AI: in the Connected apps list, open the app’s menu and click Revoke access. It only comes back if someone authorizes it again. Each person revokes the access they authorized, and the Owner revokes anyone’s.
- One AI, for the whole workspace: the Owner clicks Block app. Everyone’s access is revoked, and nobody connects that app again until someone unblocks it.
- Every AI: turn off Allow connections through the MCP in the MCP rules. The connections stay paused, without being revoked, until the option is turned on again.