Connect an AI agent with the MCP server (Enterprise)

Also available in:DeutschPortuguês

The MCP server lets an external AI agent operate your helpdesk through a scoped bot token. It is a Model Context Protocol endpoint, so any MCP-aware agent (for example an OpenClaw bot) can read conversations, reply to them, leave private notes, draft replies for a human to approve, manage contacts, start new outbound conversations, and poll an events feed. You enable it under Settings, mint a token, and point your agent at the connection URL. The MCP server is available on the Enterprise plan and during the 7-day Enterprise trial that every new account starts on.

What is the MCP server for?

It is the bridge between an outside AI agent and Deskwoot. Instead of writing your own integration against the REST API, you connect an MCP client and the agent gets a defined set of tools it can call. Think of it as giving a bot a scoped, revocable key to a specific part of your inbox rather than handing over a login. The agent acts through a bot identity, so its messages and notes are attributed to that bot, not to a human teammate.

How do I enable the MCP server?

  1. Go to Settings > MCP Server.
  2. Turn the MCP server on for your workspace.
  3. Mint a bot token. Give it a clear name (for example OpenClaw triage bot) so you can recognize it later.
  4. Choose the scopes the token should have, and limit it to specific inboxes if the agent only needs to work in some of them.
  5. Copy the token right away. For security it may not be shown in full again after you leave the page.

What is the connection URL?

Point your MCP client at:

https://<your-host>/api/mcp

Replace <your-host> with your own Deskwoot host. Pass the bot token the way your MCP client expects (usually a bearer token in the authorization header). Once the client connects, the agent will see the tools it is allowed to use based on the token's scopes.

What can an external agent do through MCP?

A connected agent, within the scopes you grant, can:

  • Read conversations and their messages.
  • Reply to conversations.
  • Add private notes that only your team sees.
  • Create draft replies that a human teammate reviews and sends.
  • Read, create, and update contacts.
  • Start outbound conversations.
  • Poll an events feed to react to new activity.

What can it not do?

The MCP server is deliberately narrow. It does not expose your workspace settings, billing, or any destructive action. Specifically, a bot token cannot change settings or configuration, touch billing, delete records, send broadcasts, or manage webhooks. If your agent needs to do something outside that boundary, the MCP server will not do it, and that is on purpose.

How do scopes and inbox limits work?

Each token carries a set of scopes that decide which tools the agent can call. Grant only what the agent actually needs. A bot that drafts replies for human approval does not need permission to send messages on its own, for instance. On top of scopes, you can restrict a token to specific inboxes, so an agent that handles your billing inbox never sees conversations in another one. If a token is ever leaked or you stop using an agent, revoke it under Settings > MCP Server and the access is gone immediately.

Which plans include the MCP server?

The MCP server is an Enterprise feature. It is also available during the 7-day Enterprise trial, so you can wire up and test an agent before you commit to a paid plan. If you need programmatic access without MCP, the REST API covers the same data and is also an Enterprise feature, with tokens managed under Settings > API tokens.

Frequently asked questions

Is the MCP server available on every plan?
No. It is an Enterprise feature, and it is also available during the 7-day Enterprise trial that every new signup starts on. Lower paid plans do not include it.
Can an MCP agent change my settings or billing?
No. The MCP server never exposes settings, configuration, billing, deletes, broadcasts, or webhook management. A bot token is limited to reading and replying to conversations, notes, drafts, contacts, outbound conversations, and the events feed.
What is the MCP connection URL?
It is https://<your-host>/api/mcp, where <your-host> is your own Deskwoot host. Authenticate with the scoped bot token you mint under Settings > MCP Server.
Can I limit an agent to one inbox?
Yes. When you mint a bot token you can restrict it to specific inboxes, so the agent only ever works in the inboxes you choose.
How do I revoke an agent's access?
Go to Settings > MCP Server and revoke the bot token. Access stops right away. Mint a fresh token if the agent still needs to connect.

Related articles