Connect an AI agent with the MCP server

Updated Dec 1, 202610 min read
English
On this page

Deskwoot's MCP server lets an AI agent, such as Claude, ChatGPT, Grok Bot, Cursor or your own code, work in your help desk as an AI teammate. Most AI apps sign in with OAuth through one address, https://deskwoot.com/api/mcp, and code that cannot sign in uses a static token instead.

What you need

  • A workspace on Startup, Business or Enterprise, or in the 7 day trial. The free Hacker plan has no MCP server.
  • A Deskwoot login with a confirmed email address and a password, and two factor sign in set up if your workspace requires it. If you signed up with Google or Apple and use no second factor, a fresh sign in with Google or Apple just before you connect stands in for the password.
  • The Data Processing Agreement for AI agents, accepted once by an administrator in the first step of Connect an AI agent.

Connect an AI app with OAuth

Step 1 of Connect an AI agent on a phone: Where does your agent run? with Grok Bot, Claude, ChatGPT, OpenAI Agents SDK, Cursor and Another MCP client
  1. Open Settings > AI > AI teammates and choose Connect an AI agent.
  2. Pick where your agent runs. The next step shows what to do there.
  3. Add Deskwoot in your AI app, as described for each app below.
  4. Deskwoot's sign in opens in your browser. Sign in with the account of the workspace the agent should work in.
  5. On the consent page, choose how the agent works: as its own AI teammate, as your personal assistant or, under More options, as a specialist.
  6. Set its name, its inboxes, whether it reads every conversation in them and what it may send to customers.
  7. Tick the statement and confirm with your password (and your second factor, if you use one). Right after a fresh sign in with Google or Apple, leave the password empty.
  8. Choose Connect.

The consent page also says whether Deskwoot verified the app. An unverified app starts with drafts only and reads only its own work.

Keep Connect an AI agent open: it notices the first call by itself and then shows what to write to your agent next.

Claude

  1. In claude.ai or Claude Desktop, open Customize, then Connectors.
  2. Choose Add.
  3. Choose Add custom connector.
  4. Enter Deskwoot as Name and the address as MCP server URL, and choose Continue.
  5. Keep the options marked Detected and choose Add.
  6. Choose Connect.

On Claude Team or Enterprise, an owner of your Claude organization adds Deskwoot instead:

  1. Open Organization settings, then Connectors.
  2. Choose Add.
  3. Choose Custom.
  4. Choose Web.
  5. Fill in the same form as above.

Each member then connects their own account under Customize, then Connectors.

In Claude Code, run this command, then /mcp:

claude mcp add --transport http deskwoot https://deskwoot.com/api/mcp

ChatGPT

  1. In ChatGPT on the web, open Plugins.
  2. Choose Add.
  3. Choose Add custom MCP server.
  4. Name it Deskwoot, paste the address as the Server URL and keep OAuth.
  5. Tick I understand and want to continue.
  6. Choose Create as a plugin.
  7. Choose Continue to Deskwoot.

In a chat you pick Deskwoot with @. The whole setup is in Connect ChatGPT to Deskwoot.

Grok Bot

Write this to Grok Bot in its chat:

Add a custom MCP server called Deskwoot at https://deskwoot.com/api/mcp

The whole setup is in Connect Grok Bot to Deskwoot.

Cursor

  1. Add this entry to ~/.cursor/mcp.json or, for a single project, to .cursor/mcp.json:
    { "mcpServers": { "deskwoot": { "url": "https://deskwoot.com/api/mcp" } } }
  2. Save the file and restart Cursor.
  3. Start the sign in that Cursor offers.

Another MCP client

Add an MCP server with the address. It finds Deskwoot's sign in by itself. Apps that use a config file have their own format.

Who can connect an agent

  • A new AI teammate starts working only once the workspace owner connects or approves it.
  • An AI teammate the workspace owner connects works at once. Connecting also switches on the MCP server at the top of AI teammates.
  • When another administrator or a member connects one, the button on the consent page is Request approval. The agent waits under Requests for AI agents until the workspace owner approves it, unable to read or do anything. Other administrators can decline it there.
  • A personal assistant connects at once while Members may connect personal assistants and the MCP server are on.
  • Only the workspace owner connects an existing AI teammate again.
  • Members do not see the AI agents on AI teammates: they add the address in their agent directly and sign in.
  • In Claude Team or Enterprise, an owner of the Claude organization adds Deskwoot instead, and in ChatGPT Business an admin or owner of the ChatGPT workspace does. Each member then connects their own account.

Connect your own code with a static token

A static token is for an agent you run with your own code, for example with the OpenAI Agents SDK, or for a client that cannot sign in. Only the workspace owner creates one; other administrators see Only the workspace owner can create a token.

  1. Switch on the MCP server at the top of AI teammates.
  2. In Connect an AI agent, pick OpenAI Agents SDK or Another MCP client.
  3. Create a token there. Give it a name and its inboxes, and choose when it ends: after 90 days unless you pick another end, at most 365 days.

Creating the token asks for your password, also right after a sign in with Google or Apple. Each token is an AI agent of its own, and Deskwoot shows it only once.

Send it as a bearer token with every request, never in the address, and keep it where your code reads secrets, never in a file you commit:

{ "mcpServers": { "deskwoot": { "url": "https://deskwoot.com/api/mcp", "headers": { "Authorization": "Bearer dw_mcp_YOUR_TOKEN" } } } }

The agent's page under AI teammates lists its tokens under Static tokens. Revoking one stops that agent, with every sign in and token it has.

MCP tokens work only with the MCP server. The REST API takes API tokens, see API tokens and developer access.

What an agent can do

  • See what waits for it, and read and search the conversations of its own work in its inboxes, with their messages, files and contacts, or every conversation there when you allow it.
  • Read contact notes, help center articles, the Training Hub, canned responses, the names and teams of your members and your support reports for the team as a whole.
  • Write private notes and contact notes, mention people, set the status, priority, labels and conversation attributes, and hand a conversation to a teammate, a team or a person.
  • Write drafts, and send plain text replies to the customer of the conversation within the autonomy you set.
  • Add a new contact with a name, a company and attributes, and add attributes to a contact.
  • With order lookups switched on, look up the orders of a verified customer and propose a refund, a cancellation or a shipment that a person makes.
  • With every inbox:
    • Read the tickets and trackers handed to its team, where someone mentions it in an internal comment or made from a conversation it holds (every one when it reads every conversation), and write internal comments there.
    • Create a ticket for your team from a conversation it may work in.
    • Raise a Jira or Linear issue from a ticket when a person asks for it in a note that mentions it, in that person's name.

Every text an agent reads says where it comes from, so it can tell a customer's words from your team's notes. How Deskwoot holds replies for a person, how approvals work and how you pause or stop an agent is in How AI teammates work in your team.

What an agent cannot do

  • Start a new conversation, approve a draft, or reach a customer in any other way than a plain text reply in their own conversation, without copies.
  • Move money. Refunds, cancellations, shipments and cancelling a subscription are proposals that a person makes.
  • Change a contact's email, phone, identifier, name or company, or mark a conversation as spam. It writes what should change as a note.
  • Reply to a customer from a ticket, assign a ticket or change its status, link or unlink issues, raise an issue nobody asked it for, or send a tracker's update.
  • Change settings, billing, members, roles, tokens or webhooks, send campaigns, or delete or export data.

The one agent that changes settings is the setup agent an administrator connects with To set up Deskwoot for you. In ChatGPT it sets up Fynn and the live chat and gives you the links for the rest. It reads no conversations or contacts, see Let your AI agent set up Deskwoot.

Limits

  • Each agent sends at most 500 replies a day on Startup and 1,000 on Business and Enterprise.
  • In the trial, all agents and bots of the workspace together send at most 100 replies a day and reach at most 100 people a day.
  • In one conversation an agent sends at most 1 email or 3 chat replies until the customer writes again, and at most 3 emails or 20 chat replies an hour.

Plans and AI conversations

  • The MCP server comes with Startup, Business and Enterprise, and the 7 day trial. The free Hacker plan does not have it.
  • There are no agent slots and no fee per agent, and your plan puts no limit on how many agents you connect.
  • Your agents count toward the AI conversations of your plan, on top of Fynn and Copilot, together with replies through the REST API and from Custom Webhook bots.
  • A reply that reaches a customer counts as 1, however many agents reply in the conversation, and an approved draft 0.5.
  • The REST API is separate and stays on Enterprise and in the trial, see What can the Deskwoot REST API do?

The details are in AI teammates and How AI conversations are counted and billed.

Frequently asked questions

Which plans include the MCP server?

Startup, Business, Enterprise and the 7 day trial. The free Hacker plan does not. There is no fee per agent: an agent's replies to customers count as AI conversations of your plan.

Do I have to copy a token into my AI app?

Not for an app that signs in with OAuth, such as Claude, ChatGPT, Grok Bot or Cursor. You add the address and approve the agent on Deskwoot's consent page. Only your own code or a client that cannot sign in needs a static token, which the workspace owner creates.

Where is Settings > MCP Server?

Its place is Settings > AI > AI teammates now. The switch for the MCP server is at the top there, the workspace owner creates static tokens with Connect an AI agent, and each agent's page lists its own tokens. Tokens you created before keep working with the same address and show there as agents.

Can an AI agent change my settings or billing?

An AI teammate, a specialist or a personal assistant cannot. A setup agent that an administrator connects changes settings in their name, but never billing, security, API tokens, invitations or other AI agents. In ChatGPT it sets up Fynn and the live chat and gives you the links for the rest.

Can an AI agent work on tickets?

Yes, if it has every inbox. It reads the tickets and trackers listed above and comments on them internally. It creates tickets from conversations it may work in, but raises a Jira or Linear issue only when a person asks in a note. It never answers customers from a ticket, changes a ticket's status or assigns it.

How do I stop an agent?

An administrator chooses Stop on the agent's page under AI teammates, and every sign in and token of that agent ends at once. Switching off the MCP server at the top of AI teammates stops every agent of the workspace until you switch it on again.

Was this guide helpful?

Keep reading

Still need help?

Fynn answers from these guides in the chat, and you can reach the team there too.