MCP Server

The MCP server lets AI tools ask your assistant questions on your customers' behalf: Claude Code and other tools that speak MCP (Model Context Protocol), and Slack, through Slackbot. Your assistant answers them the way it answers a text message: from your own information, with your products and prices, and it can take orders, bookings and contact details. You set it up in Admin > Config Agent > MCP server. The MCP server is switched on for each business by the platform, so you only see that section once it is on for you; ask us if you'd like it.

What it can do

Through the MCP server your assistant does what it does by text message:

  • Answers questions about your business from your website, documents and FAQs, and lists the sources it used, each with its link.
  • Finds products with their prices and links. If you have more than one store, the tool asking can say which store the customer means, and the answers, prices and orders are that store's.
  • Takes orders. It adds to the cart and checks out, and the answer gives the customer the payment link. A customer who gave an email address also gets the link by email.
  • Books appointments, while scheduling is on for you, by the same rules as chat (see Bookings).
  • Takes contact details and follow-up requests, which you see in Follow-ups as you do for chat.
  • Looks up orders, after the customer reads back the code we email to the address on the order.

It cannot show product cards or buttons: the tool asking shows your assistant's answer as text, and often rewords it.

Connect Claude Code

  1. In Config Agent > MCP server, under API keys, type a name (for example "Claude Code") and click Create key.

  2. Copy the key right away. It is shown once and never again; if you lose it, create another and revoke the old one.

  3. Copy the command shown beside the Server URL, put your key in place of <your key>, and run it where Claude Code is installed:

    claude mcp add --transport http <your-agent> https://xinfer.ai/t/<your-agent>/api/mcp --header "Authorization: Bearer <your key>"

Other MCP tools connect the same way: the Server URL, with the key sent as Authorization: Bearer <your key>.

Connect Slack

Slackbot can ask your assistant from inside your Slack workspace.

  1. In your Slack app's settings, add an MCP server with Slack identity auth. Slack's guide: docs.slack.dev/ai/slackbot-mcp-client.
  2. In Config Agent > MCP server, under Slack connections, enter a name, the app's Signing Secret (Slack: Basic Information > App Credentials), and your workspace's Team ID (it starts with T). For an Enterprise Grid org, enter its Enterprise ID (it starts with E) instead.
  3. Click Add Slack connection, then copy the connection's URL into the Slack app's MCP server settings.

Slack asks each person to allow the assistant the first time they use it; choose Always allow so it doesn't ask again. Each person's conversation is their own: someone else in the same workspace can't continue it.

Keys and connections

  • Each key and each Slack connection shows when it was created, when it was last used, and how many of its 500 questions it has used today.
  • Each key or connection takes up to 500 questions a day (the count starts again at midnight UTC), and up to 30 a minute. A question refused before your assistant started on it, for example because your plan limit was reached, doesn't count.
  • Revoke stops a key or a connection at once. Anything still using it gets "Unauthorized".
  • Give each tool its own key, so you can revoke one without stopping the others.

How customers are treated

  • Each conversation starts fresh: nothing a customer said in one conversation carries into the next. A conversation can be continued for 24 hours.
  • No phone number is ever on file for a customer who reaches you this way. When an order or a booking needs one, your assistant asks for it. To move or cancel a booking, we first text a code to the phone on the booking, as in chat.
  • No text messages go to the customer. The payment link is in the answer, and goes by email when the customer gave an address.
  • Conversations show in your lists as MCP, and orders, carts and follow-ups made this way are marked MCP.

Billing

A question answered through the MCP server counts toward your plan exactly like a chat question, including any overage when automatic top-up is on.

What the tool may be told

MessageWhat it means
This connection has reached its daily limit; try again tomorrow.The key or connection used its 500 questions today.
Too many questions on this connection right now. Please wait a minute and ask again.More than 30 questions in a minute.
This connection can't take questions right now. Please try again in a few minutes.A short problem on our side.
This business's assistant has reached its plan limit. Please try again later.Your plan's questions are used up and top-up is off.
That conversation is unknown or has expired. Ask again without a conversationId to start a new one.The conversation is older than 24 hours, or belongs to another key or person.
The assistant ran out of time after it had started acting on this request. Ask it what was done before asking again.Something may have been ordered or booked before time ran out: check before asking again.
UnauthorizedThe key or Slack connection is wrong or revoked.
Not foundThe MCP server is not on for this business.
  • Config Agent — where the MCP server section is
  • Bookings — how bookings work in chat, by voice and on the phone
  • Conversations — read your customers' conversations
  • Pricing — plans and questions per month