Skip to main content
Glama
caisse-enregistreuse-mcp-server

caisse-enregistreuse-mcp-server

๐Ÿงพ Kash MCP Server

License: GPL v3 Live Demo GitHub Stars npm

Kash MCP

Kash MCP Server is the official Model Context Protocol (MCP) server for Kash โ€” a free, cloud-based POS, invoicing, CRM and webshop platform trusted by thousands of merchants since 2011.

Connect your Kash account to Claude, ChatGPT, n8n, or any MCP-compatible AI โ€” and manage your entire business through natural conversation.

๐ŸŸข Hosted server: https://mcp.kash.click
๐Ÿ“– Full documentation: kash.click/cash-register-software


โœจ What you can do

Just talk. No menus, no clicks.

"Record a sale of 2 coffees and 1 croissant at table 84"
"Show me this week's revenue report"
"Add a new item called Summer Tart at โ‚ฌ4.50 in the Pastries department"
"Who are my best customers this month?"
"Create a Kash account for my restaurant"
"Record the card payment for order #1042"
"Add a Large size option to the Size variation"

Related MCP server: mcp-pdv-demo

๐Ÿš€ Features

The tool list below describes the local STDIO server. The hosted HTTP connector uses the Kash website for sign-in and permission consent. The async operations guide below lists the new tools available through both transports.

๐Ÿ” Account & Authentication โ€” no config required

  • Create a new Kash account directly from the conversation

  • List accounts linked to an email to check if one already exists

  • Login via OTP โ€” a one-time password is sent to your email, no password needed

  • Logout to clear the session at any time

๐Ÿงพ Sales & Orders

  • Record sales with catalog items, department lines, or free lines

  • Edit orders โ€” add items, assign a client, record payments, validate as invoice

  • List orders by date range, validated or unvalidated, filtered by delivery method

  • Get order details โ€” full breakdown of items, client, payments and totals

Recording sales and payments safely

order_create and order_edit require a client-generated idempotencyKey in both STDIO and OAuth. This is a change to the STDIO contract. Use a UUID or a 16โ€“128 character key made of letters, digits, ., _, ~ or -. Save the key and arguments before calling the tool. After a timeout, retry with the same key and arguments in the same shop and transport. For OAuth, use the same OAuth client and Kash profile. Use a distinct key for each operation, including each separate payment on an existing order.

order_create saves an unpaid quote when payment is omitted or 0. For order_edit, use -2 for a pending quote, -1 to validate an unpaid invoice, or 0 to edit without collecting. A positive ID from data_list_payments_modes records a payment. Set paymentAmount to the amount actually collected for a partial payment, such as "12.50". Omission with a positive mode uses the worker's default amount. An explicit zero with a positive mode is rejected by both tools.

The tools return orderID when Kash provides it and replayed: true when the PHP journal returns a saved result. Failures set isError and provide a structured code for the recovery cases below.

Code

Recovery

idempotency_conflict

The key is tied to different parameters. Check the original operation before proceeding.

idempotency_unresolved

The original operation may still be running or need review. Check the order and its payments. Any retry must use the same key and arguments.

idempotency_unavailable

Kash reports that this attempt never started. Retry with the same key and arguments.

validation_failed

Check the sale arguments and selected resources. If an earlier attempt timed out, review its status before changing the submission.

network_outcome_unknown or unexpected_response

The sale outcome is uncertain. Retry only with the same key and arguments, and verify the order and its payments before a new operation.

๐Ÿ“Š Reports

  • Sales report โ€” HTML summary for any period: a specific day, month, or full year (defaults to yesterday)

๐Ÿ“ฆ Catalog Management

  • Items (PLU): add, edit, delete โ€” with price, department, VAT, barcode, stock, variations...

  • Departments: add, edit, delete โ€” with VAT, price, group, variations...

  • Department groups: add, edit, delete โ€” to organize your catalog

  • VAT rates: add, edit, delete

  • Variations: add, edit, delete (e.g. "Size", "Color")

  • Variation choices: add, edit, delete (e.g. "S", "M", "L" for "Size") with optional price delta

๐Ÿ‘ฅ Customer Management (CRM)

  • Add, edit, delete customers with full contact info, company details, VAT number, barcode, loyalty data, private notes, blacklist status...

๐Ÿ“‹ Data & Lists

Retrieve any reference data from your shop:

Tool

Data

data.list.products

Items / articles

data.list.departments

Departments / categories

data_list_department_groups

Department groups

data_list_vats

VAT rates

data_list_clients

Customers

data_list_variations

Variation types

data_list_payments

Payment methods

data_list_cashboxes

Cashboxes

data_list_delivery_men

Delivery methods

data_list_delivery_zones

Delivery zones

data_list_relay_points

Relay / pickup points

data_list_discounts

Discounts & supplements

data.list.users

Staff / users

data_list_tables

Tables (restaurant mode)

data.list.orders

Orders by date range


๐Ÿ›  Available Tools (46)

Category

Tools

Account

account.list, account.create

Auth

auth.request.otp, auth.login.with_otp, auth.logout

Sales

order_create, order_edit, order_detail, data_list_orders, data_list_pending_orders

Reports

report.get

Items

plu_add, plu_edit, plu_delete, data.list.products

Departments

dept_add, dept_edit, dept_delete, data.list.departments

Dept groups

dept_group_add, dept_group_edit, dept_group_delete, data_list_department_groups

VAT

vat_add, vat_edit, vat_delete, data_list_vats

Variations

variation_add, variation_edit, variation_delete, data_list_variations

Variation choices

variation_choice_add, variation_choice_edit, variation_choice_delete

Customers

client_add, client_edit, client_delete, data_list_clients

Data

data_list_payments, data_list_cashboxes, data_list_delivery_men, data_list_delivery_zones, data_list_relay_points, data_list_discounts, data.list.users, data_list_tables

Utility

ping


โš™๏ธ Prerequisites

You need a Kash / free-cash-register.net account.

Don't have one? You can create it directly from the conversation using account.create, or register at kash.click/free-pos-software.

Already have one? Retrieve your APIKEY and SHOPID in the software under Setup โ†’ Webservices or connect using oAuth.


The easiest way: connect directly to the hosted MCP server at https://mcp.kash.click/mcp.

The hosted connector uses OAuth authorization code with PKCE. Sign in on Kash, select an eligible shop and choose which requested permissions to grant. Read and write permissions are independent, and write permissions are unchecked by default.

Mailbox permissions are separate. mailbox.read covers messages, folders and links to download attachments in a signed-in Kash session. mailbox.write covers folders and message states. mailbox.send lets the connector prepare a new email or reply. Review the recipient and text, then approve the send in your browser on Kash. To check the outcome, call the same tool again with the original arguments and request key.

Claude.ai

In Settings โ†’ Integrations, add a new connector:

Field

Value

Name

Kash

MCP Server URL

https://mcp.kash.click/mcp

Authentication

OAuth

ChatGPT

In Settings โ†’ Connectors โ†’ Create Connector:

Field

Value

Name

Kash POS

MCP Server URL

https://mcp.kash.click/mcp

Authentication

OAuth

Smithery

Available on smithery.ai โ€” search for Kash.


๐Ÿ’ป Option 2 โ€” Self-hosted (STDIO)

Run the server locally for Claude Desktop or any STDIO-based MCP client.

Quick start via npx

npx caisse-enregistreuse-mcp-server --shopid=YOUR_SHOPID --apikey=YOUR_APIKEY

Claude Desktop configuration

Edit claude_desktop_config.json:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "kash": {
      "command": "npx",
      "args": [
        "caisse-enregistreuse-mcp-server",
        "--shopid=YOUR_SHOPID",
        "--apikey=YOUR_APIKEY"
      ]
    }
  }
}

Or using environment variables:

{
  "mcpServers": {
    "kash": {
      "command": "node",
      "args": ["PATH_TO_BUILD/build/stdio.js"],
      "cwd": "PATH_TO_BUILD",
      "env": {
        "SHOPID": "YOUR_SHOPID",
        "APIKEY": "YOUR_APIKEY"
      }
    }
  }
}

Install from source

# 1) Clone
git clone https://github.com/paracetamol951/caisse-enregistreuse-mcp-server.git
cd caisse-enregistreuse-mcp-server

# 2) Install dependencies
npm install

# 3) Create .env
echo "SHOPID=YOUR_SHOPID" > .env
echo "APIKEY=YOUR_APIKEY" >> .env

# 4) Build
npm run build

# 5) Run
node build/stdio.js

Docker (HTTP mode)

Set MCP_KASH_OAUTH_ISSUER, MCP_KASH_OAUTH_RESOURCE and MCP_KASH_OAUTH_SERVICE_TOKEN in the server environment, then run npm run start:http after building. Enable OAuth on the PHP issuer, apply its permissions migration, and pre-register the OAuth client for the integration.


๐Ÿ” Authentication flow

Hosted server (OAuth)

Link the registered OAuth client with the exact callback URL and its client credentials. Kash handles sign-in, consent, token renewal and revocation.

The connector exposes tools for products, stock, categories, variants, VAT, customers, sales, orders, reports, and shop settings. OAuth offers separate read and write scopes for the catalog, customers, sales and settings, plus a read scope for reports. Existing catalog connections keep catalog.read and can grant additional permissions through a new consent flow. Review or revoke permissions in Kash under Web Services โ†’ Connected apps.

Legacy STDIO in-conversation authentication (OTP)

You can also authenticate directly within the conversation โ€” no password required:

1. auth_request_otp(email)                       โ†’ keep the returned challengeId
2. auth_login_with_otp(email, otp, challengeId)  โ†’ initialise the session
3. auth_logout()                               โ†’ clear the session when done

If you don't have an account yet:

1. account.list(email)             โ†’ check existing accounts
2. account.create(email, title)    โ†’ create + session auto-initialized โœ“

STDIO / self-hosted

Pass credentials via CLI args or environment variables โ€” SHOPID and APIKEY.

Use a managed Kash API key as APIKEY for the Partner API v1 reads. The same MCP tools keep working with an existing legacy key. The hosted OAuth connector uses the shop and read permissions granted when connecting.

The MCP server uses /api/partner/v1 for JSON directory lists, pending orders, shop settings, HTML sales reports, and OAuth catalog and mailbox reads. MCP list tools gather all pages to preserve their data response. OAuth mailbox attachments still open through the signed-in Kash browser session.

Explicit CSV and HTML list exports, the detailed local product export, legacy order queries and signed order PDF links, couriers, and mutations without an equivalent keep their existing routes. For self-hosted upgrades, update the Kash API before updating the MCP server.

See cart quotes for calculate_cart in OAuth and STDIO, including the separate managed key used by STDIO.

See loyalty and gift cards for loyalty rules, balances, cart estimates and recorded gift card movements in OAuth and STDIO.

See promo codes and personal vouchers for checks, cart estimates, issuance permissions and retry rules in OAuth and STDIO.

See sales summaries and invoice documents for sales_summary and list_invoice_documents, including the read permissions and STDIO setup. See asynchronous sales exports and catalog imports for the five operation tools and their permissions in OAuth and STDIO.


๐Ÿ“ก API endpoints

Endpoint

Description

POST https://mcp.kash.click/mcp

MCP JSON-RPC endpoint

GET https://mcp.kash.click/.well-known/oauth-protected-resource/mcp

MCP protected resource metadata

GET https://kash.click/.well-known/oauth-authorization-server

Kash OAuth discovery


๐ŸŒ Internationalization

Tool titles and descriptions are available in English and French, resolved automatically from the Accept-Language header or the MCP_LANG environment variable.

Locale files: locales/en/common.json, locales/fr/common.json


Demo credentials

If you want to try the tool without creating an account, you can use the following credentials

Login: Demo15 Password : demodemo


๐Ÿ’ป Compatible clients

Client

Mode

Claude.ai

HTTP / OAuth

Claude Desktop

STDIO

ChatGPT

HTTP / OAuth

n8n

HTTP

Flowise / LangChain

HTTP

Smithery

HTTP / OAuth

Any MCP client

STDIO or HTTP


๐Ÿช Supported business types

When creating an account with account.create, use configType to pre-load a dataset tailored to your business:

Bar ยท Bakery ยท Restaurant ยท Fast-food ยท Cafe ยท Coffee-shop ยท Pizzeria ยท Brewery ยท Food-truck ยท Snack ยท Florist ยท Retail ยท Pharmacy ยท Supermarket ยท Clothing-store ยท Ecommerce ยท Services ยท Beauty-institute ยท Coiffeur ยท Market ยท Library ยท Camping ยท and more...



๐Ÿ“‹ License

ยฉ 2025 Net-assembly. GNU General Public License v3.0

Available Tools

17 tools
data_list_cashboxesRรฉcupรจre la liste des caisses enregistrรฉes (physiques ou virtuelles) associรฉes ร  la boutique, avec leurs identifiants et leur รฉtat actuel.C
Read-only

Liste des Lister les caisses

Inputs: format.

data_list_clientsRetourne la liste des clients enregistrรฉs dans la boutique, incluant leurs informations de contact, points de fidรฉlitรฉ...C
Read-only

Liste des Lister les clients

Inputs: format.

data_list_delivery_menRรฉcupรจre la liste des modes de livraison disponibles dans la boutique : retrait en magasin, livraison ร  domicile, transporteur, etc..C
Read-only

Liste des Lister les mรฉthodes de livraison

Inputs: format.

data_list_delivery_zonesRetourne toutes les zones de livraison configurรฉes, incluant les noms de zone, codes postaux et รฉventuels frais de livraison associรฉs.C
Read-only

Liste des Lister les zones de livraison

Inputs: format.

data_list_department_groupsRรฉcupรจre la liste des groupes de rayons, utilisรฉs pour organiser les catรฉgories de produits. Chaque groupe peut regrouper plusieurs rayons.C
Read-only

Liste des Lister les groupes de rayons

Inputs: format.

data_list_departmentsRetourne la liste des rayons (catรฉgories de produits) dรฉfinis dans la boutique, avec leurs noms et taux de TVA associรฉs. Compatible avec les formats json, csv ou html.C
Read-only

Liste des Lister les rayons

Inputs: format.

data_list_discountsRetourne lโ€™ensemble des rรฉductions ou supplรฉments disponibles dans la boutique, incluant leur nom, type (pourcentage ou fixe), valeur et conditions dโ€™application.C
Read-only

Liste des Lister les rรฉductions

Inputs: format.

data_list_ordersLister les commandesA
Read-only

Listez soit les commandes non validรฉes (les devis) dont la date de crรฉation est comprise entre from_date_ISO8601 et to_date_ISO8601, soit les commandes validรฉes (dรฉnommรฉes commandes ou factures) dont la date de valeur est comprise entre from_date_ISO8601 et to_date_ISO8601. Vous pouvez รฉgalement filtrer les modes de livraison (avec filterDeliveryMethod).

Inputs: validatedOrders (required), from_date_ISO8601 (required), to_date_ISO8601 (required), filterDeliveryMethod.

data_list_payments_modesRetourne la liste des moyens de paiement configurรฉs dans la boutique (espรจces, carte bancaire, paiement mobile, etc.).C
Read-only

Liste des Lister les modes de paiement

Inputs: format.

data_list_productsRรฉcupรจre la liste complรจte des articles (produits) enregistrรฉs dans la boutique. Retourne un tableau dโ€™articles contenant les champs id, titre, prix, rayon, TVA, etc. Le paramรจtre optionnel 'format' permet de choisir la sortie (json, csv ou html).C
Read-only

Liste des Lister les articles

Inputs: format.

data_list_relay_pointsListe les points relais disponibles pour la livraison des commandes, avec leur nom, adresse, ville et code postal.C
Read-only

Liste des Lister les points relais

Inputs: format.

data_list_tablesRetourne la liste des tables configurรฉes dans lโ€™application, utilisรฉe notamment pour le mode restauration ou la gestion des tables en salle.C
Read-only

Liste des Lister les tables

Inputs: format.

data_list_usersRรฉcupรจre la liste des utilisateurs (vendeurs, gรฉrants, etc.) rattachรฉs ร  la boutique, avec leurs rรดles et identifiants.C
Read-only

Liste des Lister les utilisateurs

Inputs: format.

data_list_variationsListe toutes les dรฉclinaisons dโ€™articles (par exemple : taille, couleur, grammage). Retourne un tableau dโ€™objets indiquant les valeurs et รฉcarts de prix รฉventuels.C
Read-only

Liste des Lister les dรฉclinaisons

Inputs: format.

order_detailObtenir le dรฉtail d'une commandeA
Read-only

Rรฉcupรจre toutes les informations dโ€™une commande ร  partir de son identifiant unique, y compris les articles vendus, le client, le mode de paiement et le montant total.

Inputs: order_id (required).

pingPingA

Vรฉrifie lโ€™รฉtat du serveur MCP. Retourne { result: 'OK' } si le serveur est opรฉrationnel.

Inputs: msg.

sale_createCrรฉer une venteB

Crรฉe une nouvelle vente pour l'รฉtablissement. Prend en entrรฉe le mode de paiement (optionnel) et la liste des articles. Chaque article peut รชtre du type ยซ catalogue ยป (avec productId) ou ยซ rayon ยป (avec deptId) ou ยซ libre ยป (avec titre et prix). Vรฉrifier si le client n'existe dรฉjร  en utilisant data_list_clients et si le client existe, uniquement prรฉciser idClient. Retourne un objet JSON de confirmation de la vente tel que fourni par lโ€™API distante.

Inputs: items (required), payment, deliveryMethod, idtable, +8 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelogโ€ฆ

    TDQS

    C2.9/5.0

    Scored across 17 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes focused on listing different data entities (cashboxes, clients, products, etc.), with minimal overlap. However, 'data_list_orders' and 'order_detail' could potentially be confused for similar order-related queries, though their descriptions clarify one lists orders and the other retrieves details for a specific order. The 'ping' and 'sale_create' tools are distinct utility and action tools, respectively.

    Naming Consistency4/5

    The naming follows a consistent 'data_list_' prefix for 14 out of 17 tools, which is predictable and readable. However, there are minor deviations: 'order_detail' uses a different pattern (noun_verb) and 'ping' and 'sale_create' use simple verb-based names, breaking the consistency slightly. The overall pattern is still clear and mostly uniform.

    Tool Count4/5

    With 17 tools, the count is slightly high but reasonable for a point-of-sale system covering multiple data entities (e.g., cashboxes, clients, products, orders). It provides comprehensive listing capabilities, though it might feel a bit heavy. The scope aligns well with the server's purpose, and each tool serves a specific function without obvious redundancy.

    Completeness3/5

    The tool set offers extensive listing capabilities for various data entities, which is good for retrieval operations. However, there are notable gaps: it lacks create, update, or delete tools for most entities (e.g., clients, products), except for 'sale_create' which handles sales creation. This limits full CRUD coverage, potentially causing agents to hit dead ends when needing to modify data beyond sales.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to query a retail and food-service point-of-sale database through predefined business tools for sales summaries, top products, margins, stagnant inventory, cash reconciliation, and optional stock adjustments, returning formatted markdown answers.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables read-only access to retail ERP data through the official output WebService, letting users query products, stock and inventory, customers and suppliers, sales movement and billing, orders, salespeople, and store information with date-window and store filters.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables an AI assistant to query Ukrainian software cash register dataโ€”receipts, shifts, X/Z reports, goods, and ordersโ€”and, only with explicit write permission, to open or close shifts and create fiscal receipts.
      16
      MIT