mcp-erp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-erplist clients with name containing 'Dupont'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP ERP Client
Serveur MCP (Model Context Protocol) pour interagir avec l'ERP via l'API REST.
Securite
Ce MCP ne contient aucun secret dans le code source. Toutes les donnees sensibles sont dans le fichier .env (exclu du repo via .gitignore).
Double verrou d'authentification :
Cle API (
X-API-Key) — sans cette cle, l'API rejette toutes les requetesCompte Microsoft (Azure AD Device Code Flow) — l'utilisateur doit s'authentifier avec un compte Microsoft autorise dans le tenant Azure AD
Meme si quelqu'un clone ce repo, il ne peut rien faire sans :
La cle API (
ERP_API_KEY)Un compte Microsoft dans le bon tenant Azure AD (
AZURE_AD_TENANT_ID)L'ID de l'application Azure AD (
AZURE_AD_CLIENT_ID)
Related MCP server: PyerP MCP Server
Installation
npm install
cp .env.example .env
# Remplir le .env avec les vraies valeurs
npm run buildConfiguration (.env)
ERP_API_URL=https://votre-api.vercel.app
ERP_API_KEY=votre-cle-api
AZURE_AD_TENANT_ID=votre-tenant-id
AZURE_AD_CLIENT_ID=votre-client-idUtilisation avec Claude Desktop / Claude Code
Ajouter dans la configuration MCP :
{
"mcpServers": {
"erp": {
"command": "node",
"args": ["/chemin/vers/mcp/dist/index.js"]
}
}
}Outils disponibles (14)
Authentification (2)
Outil | Description |
| Connexion Microsoft (Device Code Flow) |
| Verifier l'etat de la session |
Clients (4)
Outil | Description |
| Rechercher/lister les clients |
| Detail d'un client par ID |
| Creer un client (societe, SIREN, adresse obligatoires) |
| Modifier un client |
Devis (6)
Outil | Description |
| Rechercher/lister les devis |
| Detail d'un devis avec ses lignes |
| Creer un devis (brouillon) |
| Modifier un devis |
| Ajouter une ligne a un devis |
| Modifier une ligne de devis |
Templates (2)
Outil | Description |
| Lister les modeles de devis |
| Detail d'un template avec ses lignes |
Architecture
mcp/
src/
index.ts # Point d'entree (transport stdio)
api-client.ts # Client HTTP (X-API-Key + Bearer Microsoft)
schemas.ts # Validation Zod des inputs
auth/
device-code.ts # Microsoft Device Code Flow
refresh.ts # Auto-refresh du token
token-store.ts # Stockage local (~/.erp-mcp/auth.json)
tools/
auth-tools.ts # erp_login, erp_status
clients.ts # CRUD clients
devis.ts # CRUD devis + items
templates.ts # Lecture templatesAucune connexion directe a la base de donnees. Tout passe par l'API REST.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server for Codat — companies, connections, invoices, bills and financial statements.
MCP server with quote and live cryptocurrency price tools, local and cloud-deployed transports.
- mcp-serverOAuthio.klokin
MCP server exposing klokin time-tracking operations (employees, time entries, stores) to AI clients.
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP (Model Context Protocol) server that enables integration with the Simplifier Low Code Platform. This server provides tools and capabilities for creating and managing Simplifier Connectors and BusinessObjects through the platform's REST API.17113 npm5MIT
- FlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that enables LLM agents to interact with PyerP ERP systems via a REST API. It allows users to search, read, create, and update ERP records such as inventory, clients, and users using natural language.-
- FlicenseNot gradedqualityFmaintenanceAn MCP server that integrates with the FacturaScripts ERP system, providing resources and tools to manage clients, products, invoices, accounting entries, and business analytics through natural language.10-
- AlicenseBqualityDmaintenanceMCP server for ERPNext that provides full CRUD operations, workflow management, custom fields, and DocType management.191MIT