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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Unified MCP server for 70+ eCommerce platforms: products, orders, customers, and more.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Unified MCP Server is a remote MCP connector for AI agents and vertical AI products that provides access to 22,000+ authorized SaaS tools across 400+ integrations and 24 categories directly inside LLMs (Claude, GPT, Gemini, Cohere). Tools operate only on explicitly authorized customer connections, enabling agents to safely read and write against live third-party systems.
Related MCP Servers
- 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.
- AlicenseNot gradedqualityDmaintenanceThis MCP server connects ChatGPT to ERPNext, enabling AI-powered business analytics, report generation, and document management.MIT
- AlicenseNot gradedqualityBmaintenanceEnables ERPNext management, file operations, read-only database access, and ERPNext API integration through a standardized MCP server.4MIT
- AlicenseBqualityDmaintenanceMCP server for ERPNext that provides full CRUD operations, workflow management, custom fields, and DocType management.191MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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