Skip to content
Afosto MCP

Handle orders in Afosto from your AI assistant

Your team asks about an order in plain language, has a shipping address changed or prepares a cancellation. You confirm anything that can't be undone first. Works with Claude and your own Afosto account.

What is the Afosto MCP?

The Afosto MCP is a connection between your AI assistant and your Afosto environment. MCP stands for Model Context Protocol: the open standard that lets an AI app talk to other software. Through the Afosto MCP, your assistant can look things up in Afosto and, when you ask it to, do things for you.

The guide shows step by step how to connect Claude.

Sign in with your own account

you connect with your Afosto login and approve which permissions the assistant gets. No need to copy an API key

Orders and settings

look up and change orders, and view or update your channels, payment and shipping methods, discount codes and price lists

Works with Claude

that's what we tested it with. Other AI apps that support MCP may work too, but we haven't tested them yet

How it works

One customer question, from inbox to refund

Femke ordered olive oil, two truffle salamis and a piece of cheese. She emails to say she wants one fewer salami. Here's how someone on your team handles it with the assistant, without searching through Afosto themselves.

  1. Step 1

    The assistant looks up the order

    You ask it to look up the order for femke.mulder@example.nl. The assistant searches Afosto by email address and shows the order: ODR-10000087, status open, with the order lines and the shipping address. You can search by email address, order number or tracking code.

    The assistant looks up the order
  2. Step 2

    It prepares the cancellation

    You ask it to cancel one salami. The assistant prepares that and shows what would happen: 1 of the 2 Boerentruffelsalami. At this point nothing has been cancelled yet. The prepared cancellation is valid for five minutes and works once.

    It prepares the cancellation
  3. Step 3

    You confirm, Afosto carries it out

    Only after you approve does Afosto cancel the salami. A new line is added to the order, Boerentruffelsalami −1 for −€6.75, and the total goes from €38.35 to €31.60. What you read in the answer comes from Afosto itself.

    You confirm, Afosto carries it out
  4. Step 4

    The refund is ready

    Then you ask it to refund the €6.75. The assistant prepares the refund on Femke's original payment. You make the actual payout yourself in Afosto. You also write and send the reply to Femke yourself.

    The refund is ready

Changing a shipping address happens right away, with no confirmation step. Cancelling, closing or deleting an order and restocking a return always take two steps.

More than orders

Your settings too, in plain language

The assistant works with the same building blocks you use in Afosto: channels, payment and shipping methods, returns, discount codes and price lists.

Check your setup without clicking through menus

Which payment methods are on for the B2B webshop? Which shipping methods do you have, and for which zones? The assistant reads it from your own settings in Afosto and puts it in one overview, per channel: your B2C webshop, your B2B webshop and your POS.

  • Payment methods per channel, on or off
  • Shipping methods and shipping zones
  • Your channels and warehouses at a glance
Check your setup without clicking through menus

Restock a return, in two steps

When an order comes back, ask the assistant to put the items back in stock. First you see what would change, and at that point nothing has changed yet. Only when you confirm does Afosto restock the items.

  • A preview first, nothing changed yet
  • Only carried out after you confirm
  • The same two steps for cancelling, closing and deleting
Restock a return, in two steps

Discount codes for a campaign

Ask for five codes that can each be used once, with your own prefix, like BLACKFRIDAY. The assistant creates the discount campaign and the codes in Afosto. Each code is your prefix plus six characters, and they're ready within a minute.

  • A campaign with single-use codes
  • Your own prefix plus six characters
  • Right there with your discount codes in Afosto
Discount codes for a campaign

Look up and update B2B price lists

Which price lists do you have, and in which currency? The assistant shows them, for example Euro B2C including VAT and EUR and USD B2B excluding VAT. It can also create a price list or set a price per item. Check new prices in Afosto afterwards, because the answer doesn't show them.

  • Price lists with currency and VAT setting
  • A new price list or a price per item
  • Check your price list in Afosto
Look up and update B2B price lists

Safe: your assistant works with your permissions

The assistant signs in as you and can't do more in Afosto than you can. When you connect, you see exactly which permissions you grant, per section: Orders, Contacts, Catalog and Automation. Only when you click Approve is the connection made.

  • One connection, one environment: if you work with several Afosto environments, you choose which one when you connect. The assistant only sees that one
  • Two steps for anything that can't be undone: when it's about to cancel, close or delete an order or restock a return, the assistant shows you first. Nothing happens until you approve
  • No payouts: the assistant can prepare a refund, but you transfer the money yourself in Afosto

Check any change in Afosto, just as you would when a colleague takes care of something for you.

FAQ

Frequently asked questions about the Afosto MCP

What merchants ask before they connect their AI assistant to Afosto.

What is an MCP server?

An MCP server is a connection point that gives an AI app access to other software, through the Model Context Protocol. That's an open standard Anthropic published in late 2024, and several AI apps now use it. The AI app asks the server what it can do and uses those functions when you ask it to. The Afosto MCP is such a server for your orders and settings in Afosto.

Which AI apps does the Afosto MCP work with?

Claude, which is what we tested it with. You add the Afosto MCP as a custom connector in Claude, or in Claude Code with a single command. Other AI apps that support MCP connections with sign-in can also connect, such as ChatGPT on plans that allow custom connectors. We haven't tested those with Afosto yet.

What does the Afosto MCP cost?

The Afosto MCP is included in every paid Afosto plan. You also need your own AI app. In Claude, you can add a custom connector with a free account too.

Can the assistant just cancel an order?

No. Cancelling, closing or deleting an order, restocking a return and moving a contact or organization to a different customer group always take two steps. The assistant first shows what would happen, and at that point nothing has changed yet. Only when you confirm does Afosto carry it out. That confirmation is valid for five minutes and works once. Other changes, such as a new shipping address, happen right away. Check those in Afosto.

What can't the Afosto MCP do?

It can't search by customer name, postal code or date: the assistant searches by email address, order number or tracking code. Revenue figures and reports aren't included, and neither is editing products. The assistant can't pay out money, but it can prepare a refund. And the Afosto MCP has no function to email your customers: you write and send the reply to your customer yourself.

Does the Afosto MCP replace my customer service?

No. It's a tool for your own team. Someone on your team asks the question, follows along and decides. The assistant looks things up and handles what you ask in Afosto, so you don't have to switch back and forth between your inbox and the back office.

How do I connect Claude to Afosto?

In Claude, add a custom connector with the address https://afosto.app/mcp, sign in with your Afosto account and approve the permissions. In Claude Code, type `claude mcp add --transport http afosto https://afosto.app/mcp` and then `/mcp`. The guide shows every step.

Connect Claude to Afosto

Add the Afosto MCP in Claude, sign in with your Afosto account and ask your first question about an order. Want to see how it works first? Book a demo.

May we use cookies to measure how you use our site and to improve our ads? Privacy policy