YanCommerce MCP connector · Setup guide

Connect Claude or ChatGPT to YanCommerce

YanCommerce is the business software of Moroccan small and medium businesses. Its connector lets your AI assistant read your stock, prices, clients and documents, and prepare changes that you approve. The assistant only sees what your YanCommerce account sees.

Server addresshttps://app.yancommerce.com/mcp

Before you start

Requirements

  • A YanCommerce account on the Essentiel plan or above, or a free trial.
  • Claude (web or desktop app): any plan, including the free plan, which allows one custom connector.
  • ChatGPT: custom MCP servers are available on Business, Enterprise and Edu, on the web.

Setup

Connect Claude

  1. In Claude, open Plugins, click Add, then Add custom connector.
  2. Name: YanCommerce. MCP server URL: https://app.yancommerce.com/mcp. Click Continue.
  3. Keep the detected choices (Sign in now and Use Claude's published identity) and click Add.
  4. The YanCommerce sign-in page opens. Sign in with your YanCommerce account.
  5. On the consent page, tick what the assistant may change besides reading (see the permissions below), then click Autoriser (Allow).
  6. Ask your question, for example: Which articles have negative stock in Dépôt principal?

On Claude Team or Enterprise, an organization owner adds the connector; each person then connects with their own YanCommerce account.

Setup

Connect ChatGPT

  1. In ChatGPT on the web, open Plugins, click +, then Add custom MCP server.
  2. Name: YanCommerce. Connection: https://app.yancommerce.com/mcp. Authentication: OAuth.
  3. Sign in to YanCommerce in the window that opens, choose the permissions, then click Autoriser (Allow).

Permissions

What the assistant can do

Reading is always granted. Each kind of change is a box you tick on the YanCommerce consent page, offered only if your account has that right in YanCommerce.

Read (always)
Articles, stock per store or warehouse, prices, clients, suppliers, quotes, orders, delivery notes and invoices, with the rights of the YanCommerce account that connected.
Change article prices
plan_price_changes lists the new prices; apply_plan applies them after you agree. A price below the purchase price or the minimum is refused.
Record stock counts
plan_stock_counts lists each counted quantity and the difference; applying records an inventory adjustment.
Add photos to articles
plan_article_photos checks each picture from a public https link; applying adds it to the article (5 photos at most). Background removal is optional and runs on our own servers.
Create articles
plan_new_articles lists the new articles (name, reference, unit, VAT, prices, usage, store, starting stock); applying creates them.
Prepare quotes and orders
prepare_document prepares a quote (devis), customer order or purchase order and returns a link. You open it in YanCommerce, review the lines and save it yourself.

Reference

Tools

ToolKindWhat it does
list_depotsReadStores and warehouses the account can see.
search_articlesReadSearch the catalogue with stock and prices per store or warehouse.
get_articleReadOne article with its prices and stock in each store or warehouse.
search_clients / search_suppliersReadClients and suppliers the account can see.
list_documents / get_documentReadSales and purchase documents, their totals, payments and lines.
plan_price_changes, plan_stock_counts, plan_article_photos, plan_new_articlesPrepareList what would change. Nothing is written.
apply_planChangeApplies a plan, once, within 15 minutes, only if nothing changed since.
prepare_documentDraftStores a document the user opens, reviews and saves. Expires after 7 days.

Safety

You stay in control

  • Every change is listed first and applied only by a separate step that the assistant asks you to confirm.
  • The connector never saves, numbers, sends or prints a document: a prepared quote or order is saved by you in YanCommerce.
  • Purchase prices stay hidden from accounts that may not see them in YanCommerce.
  • Every change appears in the YanCommerce activity journal as “user via Claude” (or via ChatGPT).
  • Remove access at any time: YanCommerce account menu › Assistants IA, or, for an administrator, Settings › Intégrations › Assistants IA. Access stops at the next call.

Help

Privacy and support