Connect an MCP Client
Connect Claude, Cursor or any MCP client to your inbox with an API key
Connect an AI agent to your inbox in three steps: create an API key, copy the server URL, and paste one configuration into your MCP client. The agent works with the same contacts and conversations as your team, limited to what its key allows.
Before You Start
- Plan. MCP needs the Pro or Enterprise plan. On a lower plan the MCP page shows an upgrade prompt instead of the setup.
- Role. Owners and Admins create the API key the agent uses.
- Where. Open Settings, then Webhooks and API, then MCP.
Connect a Client
- Create a key just for the agent. On the MCP page, click Manage API keys under Authentication, then follow API Keys in the Dashboard. Tick only the permissions the agent needs.
- Under Server URL, click Copy. The server speaks streamable HTTP, so add it as a remote MCP server in your client.
- Under Client configuration, click Copy and paste the configuration into your client's MCP settings.
- Replace
YOUR_API_KEYwith the key from step 1.
The configuration looks like this, with your own server URL:
{
"mcpServers": {
"wexio": {
"url": "<the Server URL from the page>",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}The key goes in the Authorization header as a Bearer token. The key's permissions decide which tools the agent can use, and each tool checks them on every call.
What the Agent Can Do
The What the agent can do section lists the tool groups. Each is available only when the key holds the matching permissions.
| Group in the dashboard | What it covers | Tool pages |
|---|---|---|
| Contacts | Find, read and update contacts | Contacts |
| Conversations | Read conversations, assign and close them | Inbox reads, Chat control |
| Messaging | Send replies and templates on your channels | Messaging |
| Collections | Sort conversations into your collections | Inbox reads |
| Channels | See which channels are connected | Channels |
| Team | Look up members to assign work to | Team |
The server also has knowledge document tools. Every tool and the scope it needs is listed in the MCP overview.
Give an agent a reply-only key: Read messages and Send messages, without Start new conversations. If someone talks the model into misbehaving, it still cannot message a contact first. See Connecting an AI Agent.
Check the Agent Is Refused What It Should Be
Open API keys, then click Logs on the agent's key. Refused calls show the reason, for example Missing permission. Revoking the key cuts the agent off at once, even in the middle of a session.
Related
- API Keys in the Dashboard - create the key the agent connects with.
- MCP Server - the endpoint, every scope and the error messages.
- Connecting an AI Agent - what Wexio enforces and what you enforce.