Skip to content

MCP

MCP (Model Context Protocol) lets an AI assistant, for example Claude, ChatGPT or Cursor, read your machines’ data and, where you allow it, act on them. You ask in plain language: “Which machines are offline?”, “What sold best this week?”, “Which machines need a refill?”.

It is set up on the MCP tab of Settings → Integrations. The tab is for the Administrator, on the Pro plan or a trial, after SmVend approves your company for the API: see who can use it.

The tab starts with Choose how to connect:

  • Sign in with SmVend: for claude.ai, ChatGPT and other web assistants. There is no key: you sign in to SmVend and tick what the assistant may do.
  • API key: for Claude Code, Claude Desktop, Cursor and other clients that take a key. You create a key and paste it into the client.

The assistant works through the same tools as the API, within the permissions you give it:

Permission What the assistant can do
Read Tell you about machine state and errors, sales and revenue, stock and refills, products and planograms, collections and events
Write Change prices and planograms, the catalogue, record refills and collections
Deposit Credit a machine, dispense for free, send remote payments. Real money

It acts only on the company you connect it to. The full list of tools is in the developer documentation: api.smvend.io.

The MCP server tab with Sign in with SmVend chosen

The tab shows the server’s address: https://mcp.smvend.io/mcp. The copy icon puts it in the clipboard.

Only an Administrator can connect an assistant this way.

Step-by-step guides with screenshots: Claude and ChatGPT. Another web assistant that takes a custom MCP server connects the same way: the address above, then the Connect an AI assistant page of SmVend.

The assistants connected this way are listed under the setup, in Connected AI assistants: the Application, who connected it (Connected by), its Permissions, the day it was Connected and the day it was Last used.

The Connected AI assistants card

To take the access back, click the bin icon in the assistant’s row and confirm Disconnect. The assistant loses access at once. You can connect it again later.

The Disconnect the assistant? dialog
The MCP server tab with API key chosen

With API key chosen the tab leads you through these steps:

  1. Create an API key. MCP uses the same key as the API, with the same permissions. Go to API keys opens the API tab: see How to create an API key.
  2. Connect your assistant. Choose your client: Claude Code, Claude Desktop, Cursor or Other client. Copy the snippet and put your key in place of smvd_.... The line under the snippet says where to paste it.
  3. What it can do. The assistant gets exactly the permissions of the key: Read, Write, Deposit.
  4. More detail. The full list of tools is in the developer documentation.

In the Settings tab, Integrations, MCP: the server’s address, the steps for a key and the connected AI assistants, which you can disconnect there.

See also: API, Webhooks, API, Webhooks and MCP.