cosmo-mcp
Provides tools for managing stock (inventory, orders, pricing), sales (invoices, cancellations, reporting), CRM (customers, profiles, top customers), suppliers (orders, pending orders), OCR-based processing (product identification from images, supplier invoice processing), and dashboard/reporting (revenue trends, category performance).
Click on "Install 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., "@cosmo-mcpwhat are my low stock items?"
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.
cosmo-mcp
MCP Server Node.js 20 + TypeScript exposant ERPNext (cosmo_erp) à Hermes Agent.
Architecture
Telegram
|
v
Hermes Agent (NousResearch)
| MCP Protocol (stdio)
v
cosmo-mcp <-- ce serveur
| POST /api/method/cosmo_erp.cosmo_erp.api.main.<function>
v
ERPNext (cosmo_erp)Related MCP server: ERPNext MCP Server
Prérequis
Node.js >= 20.0.0
Clés API ERPNext (API Key + API Secret)
ERPNext avec l'app
cosmo_erpinstallée
Installation
cd cosmo-mcp
npm install
npm run buildConfiguration
cp .env.example .env
# Editer .env avec vos valeursVariables requises :
Variable | Description |
| URL de votre instance ERPNext (ex: |
| API Key du compte ERPNext |
| API Secret du compte ERPNext |
Démarrage
# Production
npm run build && npm start
# Développement
npm run devIntégration Hermes (config.yaml)
mcp_servers:
- name: cosmo-erp
command: node
args:
- /chemin/vers/cosmo-mcp/dist/index.js
env:
ERPNEXT_URL: "https://erp.ma-boutique.com"
ERPNEXT_API_KEY: "your_api_key"
ERPNEXT_API_SECRET: "your_api_secret"Docker
docker build -t cosmo-mcp .
docker run --env-file .env cosmo-mcpTools disponibles (25)
Stock (8)
Tool | Description |
| Stock actuel d'un produit spécifique |
| Produits sous le seuil de réapprovisionnement |
| Produits expirant dans les N prochains jours |
| Recherche dans le catalogue par nom/marque/code |
| Enregistrer une réception fournisseur |
| Correction d'inventaire (casse, vol) |
| Créer un nouveau produit dans le catalogue |
| Mettre à jour le prix de vente |
Ventes (5)
Tool | Description |
| Créer une vente / facture client |
| Résumé des ventes du jour |
| Analyse sur une période personnalisée |
| Détail d'une facture par numéro |
| Annuler une facture (action irréversible) |
CRM / Clients (4)
Tool | Description |
| Trouver ou créer un client |
| Profil complet avec historique achats |
| Clients sans achat depuis X jours |
| Meilleures clientes par CA |
Fournisseurs (3)
Tool | Description |
| Créer une commande fournisseur |
| Commandes en attente de livraison |
| Liste des fournisseurs actifs |
Vision / OCR (3)
Tool | Description |
| Identifier un produit depuis données image extraites par Hermes |
| Traiter une facture fournisseur depuis données OCR |
| Créer une fiche produit depuis données image |
Rapports / Dashboard (3)
Tool | Description |
| Résumé complet de la boutique (briefing matinal) |
| Evolution du CA sur N jours |
| Performances par catégorie cosmétique |
Test rapide
# Vérifier que le serveur démarre
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | \
ERPNEXT_URL=https://test.example.com \
ERPNEXT_API_KEY=test \
ERPNEXT_API_SECRET=test \
node dist/index.jsLe serveur doit répondre avec la liste des 25 tools.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jonathanARMS23/cosmo-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server