MCP Server v1.3.0 — 42 tools

Automate your logistics with
GSE-Web + n8n

Connect GSE-Web to n8n via the MCP protocol to create automatic workflows: stock alerts, scheduled reports, ERP synchronisation, order tracking — all without writing a single line of code.

Home / MCP Server / n8n Integration
Compatible with n8n v1.76+

What is n8n?

n8n is an open-source automation platform that lets you create visual workflows connecting hundreds of applications — without coding. Think of it as a self-hosted Zapier.

🎨

Visual and no-code

Create complex automations by drag-and-dropping nodes. No coding required.

🔒

Self-hostable

Install n8n on your server. Your data stays with you, not with a third party.

🔗

400+ integrations

Email, Slack, Google Sheets, ERP, CRM, databases — and now GSE-Web via MCP.

How it works

The GSE-Web MCP server exposes your stock data via the MCP protocol (JSON-RPC 2.0 over HTTP). n8n connects to it like any other tool.

⚙️ n8n Trigger (cron / webhook)
🔭 MCP Client (authenticate)
📦 MCP Tool (get_stock_alerts)
📨 Action (envoyer email)

Technical principle

1

n8n starts the workflow (trigger: cron, webhook, or manual).

2

The MCP Client node calls authenticate with your GSE-Web credentials. The server returns a JWT and a session-id.

3

Subsequent nodes call the 42 available tools via the same session-id (stock, orders, alerts, movements...).

4

Results feed the action nodes: email, Slack, Google Sheets, webhook to your ERP, PDF...

Configuration in 4 steps

Connect GSE-Web to n8n in under 5 minutes.

1

Install n8n

If you do not have n8n yet, install it with one command:

# Installation via Docker (recommandé)
docker run -it --rm --name n8n -p 5678:5678 \
  -v n8n_data:/home/node/.n8n \
  n8nio/n8n

# Ou via npm
npm install -g n8n && n8n start

You can also use n8n Cloud (hosted version, no installation needed).

2

Add the MCP Client node

In a new n8n workflow, add an "MCP Client" node and configure the MCP server URL:

# URL du serveur MCP GSE-Web

Développement / Démo :
https://gse-web-dev.xlexe.com/api/mcp_remote.php

Production :
https://gse-web.xlexe.com/api/mcp_remote.php
3

Authenticate

The first MCP call must be authenticate with your GSE-Web credentials:

{
  "tool": "authenticate",
  "arguments": {
    "server_url": "https://dev.gse-web.online/",
    "username": "votre_login",
    "password": "votre_mot_de_passe"
  }
}

The session-id is automatically propagated by n8n to subsequent calls.

4

Call GSE-Web tools

Once authenticated, all 42 tools are accessible. Examples:

# Alertes de stock
{ "tool": "get_stock_alerts" }

# Commandes fournisseurs du jour
{ "tool": "list_commandes_fournisseurs",
  "arguments": { "date_from": "2026-04-15" } }

# Bons de reception en cours
{ "tool": "list_bons_reception",
  "arguments": { "statut": "en_cours" } }

# Commandes clients en attente
{ "tool": "list_commandes_clients",
  "arguments": { "statut": "en_attente_validation" } }

Workflow examples

Here are concrete use cases your teams can set up in minutes.

🚨

Stock out-of-stock alert

Every hour, check out-of-stock products and send an email to the logistics manager.

Cron (1h) authenticate get_stock_alerts Send Email
📊

Weekly report

Every Monday, generate a report with the week's stats and send it by email or Slack.

Cron (lundi 8h) get_dashboard_stats list_commandes_clients Slack / Email
🔄

ERP / Accounting sync

For each new validated customer order, push data to your ERP (Sage, Odoo...).

Cron (15 min) list_commandes_clients Filter (validee) HTTP POST ERP
🚚

Goods receipt tracking

Monitor current receipt slips and notify when an order is fully delivered.

Cron (30 min) list_bons_reception Filter (100%) Notification
📋

Google Sheets export

Export stock levels to a shared Google Sheet, updated automatically.

Cron (6h) get_stock_levels Google Sheets
📦

Automatic supplier order

When a product falls below the alert threshold, automatically generate a supplier order email.

Cron (2h) list_ruptures get_tiers_details Email fournisseur

42 available tools

All GSE-Web MCP server tools are usable in n8n. See full documentation ➔

🔑 Authentication

3 tools — login, profile, servers

📦 Products & Stock

5 tools — search, levels, locations, categories

🚚 Movements

4 tools — entries, exits, movement slips

✍️ Write

5 tools — create entries/exits, modify stock

👥 Users

3 tools — list, details, organisation

📊 Analytics

3 tools — alerts, dashboard, logs

🎓 Training

3 tools — classes, scenarios, progress

📦 Receiving

2 tools — receipt slips, line details

🛒 Customer orders

2 tools — OMS portal orders, details

🚚 Logistics

10 tools — supplier orders, expeditions, backlogs, stock-outs

🤝 Third parties

2 tools — suppliers and customers

Security

The same security rules as the GSE-Web application apply.

🔑

JWT per session

Authentication mandatory. JWT expires automatically.

👥

Organisation isolation

Each request is filtered by organisations_id. Impossible to access another client's data.

🛡️

30 granular permissions

Write tools verify user permissions. Without the required permission, access is denied.

⏱️

Rate limiting

60 reads/min, 10 writes/min per session. Protection against abuse.

🚫

Double/Triple SQL filter

Shared servers: id + org. Dedicated servers: id + org + name.

🔒

HTTPS mandatory

All communications are encrypted. No plain HTTP.

Ready to automate?

Test the n8n + GSE-Web connection for free on our demo environment.