lowprofix n8n mcp server

lowprofix n8n mcp server avatar

by lowprofix

Serveur MCP (Master Control Program) pour n8n qui fournit des outils de validation de workflows et de bonnes pratiques pour vos projets d'automatisation

What is lowprofix n8n mcp server

Serveur MCP pour n8n

Ce projet est un serveur MCP (Master Control Program) pour n8n qui fournit des outils de validation de workflows et de bonnes pratiques pour vos projets d'automatisation n8n.

Fonctionnalités

  • Validation de workflows : VĂ©rifiez que vos workflows respectent les bonnes pratiques
    • Conventions de nommage
    • Gestion des erreurs
    • SĂ©curitĂ©
    • Performance
    • Documentation
  • IntĂ©gration NextJS : GĂ©nĂ©rez des intĂ©grations pour vos workflows n8n dans des applications NextJS
    • GĂ©nĂ©ration automatique de routes API
    • CrĂ©ation de documentation OpenAPI/Swagger
    • GĂ©nĂ©ration de types TypeScript
    • Client API pour faciliter l'intĂ©gration
  • Gestion des workflows : Interagissez avec vos workflows n8n (liste, rĂ©cupĂ©ration, crĂ©ation, mise Ă  jour, suppression, export, import)
  • API n8n : AccĂ©dez directement Ă  l'API n8n pour des opĂ©rations avancĂ©es
  • Templates de workflows : Utilisez des templates prĂȘts Ă  l'emploi pour diffĂ©rents cas d'usage, notamment Google Calendar

Prérequis

  • Node.js (v16 ou supĂ©rieur)
  • pnpm (v7 ou supĂ©rieur)
  • Une instance n8n (locale ou distante comme votre instance Cloudron sur n8n.bienquoi.com)

Installation

  1. Clonez ce dépÎt ou naviguez vers le dossier du projet
  2. Installez les dépendances :
pnpm install
  1. Configurez les variables d'environnement :
cp .env.example .env

Modifiez le fichier .env avec vos informations de connexion Ă  l'API n8n.

Utilisation

Construction du projet

pnpm build

Démarrage du serveur

pnpm start

Le serveur MCP sera accessible à l'adresse http://localhost:3000 (ou le port spécifié dans votre fichier .env).

Utilisation avec Claude Desktop

Pour utiliser ce serveur MCP avec Claude Desktop, vous devez configurer le fichier claude_desktop_config.json dans le dossier %APPDATA%/Claude/ :

{
  "mcpServers": {
    "n8n-mcp-server": {
      "command": "node",
      "args": ["/chemin/absolu/vers/mcp-n8n-server/dist/server.js"]
    }
  }
}

Structure du projet

mcp-n8n-server/
├── src/                    # Code source
│   ├── tools/              # Outils MCP
│   │   ├── N8nApiTool.ts                # Outil pour interagir avec l'API n8n
│   │   ├── WorkflowManagerTool.ts       # Outil pour gĂ©rer les workflows
│   │   ├── NextJSIntegrationTool.ts     # Outil pour gĂ©nĂ©rer des intĂ©grations NextJS
│   │   ├── WorkflowValidatorTool.ts     # Outil pour valider les workflows
│   │   └── ...
│   ├── validators/         # Validateurs de workflows
│   │   ├── naming.js       # Validateur de conventions de nommage
│   │   ├── errorHandling.js # Validateur de gestion des erreurs
│   │   ├── security.js     # Validateur de sĂ©curitĂ©
│   │   ├── performance.js  # Validateur de performance
│   │   └── documentation.js # Validateur de documentation
│   ├── resources/          # Ressources partagĂ©es
│   └── server.ts           # Point d'entrĂ©e du serveur
├── dist/                   # Code compilĂ©
├── public/                 # Fichiers statiques
├── output/                 # RĂ©pertoire pour les sorties des outils
├── .env.example            # Exemple de fichier de configuration
└── README.md               # Documentation

Outils disponibles

1. N8nApiTool

Interagit directement avec l'API n8n.

// Exemple d'utilisation
{
  "method": "GET",
  "endpoint": "/workflows",
  "params": "?active=true"
}

2. WorkflowManagerTool

GÚre les workflows n8n (liste, récupÚre, crée, met à jour, supprime, exporte, importe).

// Exemple d'utilisation
{
  "action": "list",
  "tags": "production"
}

3. NextJSIntegrationTool

GénÚre des intégrations NextJS pour les workflows n8n.

// Exemple d'utilisation
{
  "workflowId": "123",
  "outputDir": "./my-nextjs-app/pages/api",
  "generateTypes": true,
  "generateOpenAPI": true
}

4. WorkflowValidatorTool

Valide les workflows n8n selon différents critÚres.

// Exemple d'utilisation
{
  "workflow": "{...}",
  "validators": ["naming", "errorHandling", "security"],
  "strictness": "high"
}

Contribution

Les contributions sont les bienvenues ! N'hésitez pas à ouvrir une issue ou une pull request.

Licence

MIT

Leave a Comment

Frequently Asked Questions

What is MCP?

MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.

What are MCP Servers?

MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.

How do MCP Servers work?

MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.

Are MCP Servers secure?

Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.

Related MCP Servers

chrisdoc hevy mcp avatar

chrisdoc hevy mcp

mcp
sylphlab pdf reader mcp avatar

sylphlab pdf reader mcp

An MCP server built with Node.js/TypeScript that allows AI agents to securely read PDF files (local or URL) and extract text, metadata, or page counts. Uses pdf-parse.

pdf-parsetypescriptnodejs
aashari mcp server atlassian bitbucket avatar

aashari mcp server atlassian bitbucket

Node.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.

atlassianrepositorymcp
aashari mcp server atlassian confluence avatar

aashari mcp server atlassian confluence

Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP interface.

atlassianmcpconfluence
prisma prisma avatar

prisma prisma

Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

cockroachdbgomcp
Zzzccs123 mcp sentry avatar

Zzzccs123 mcp sentry

mcp sentry for typescript sdk

mcptypescript
zhuzhoulin dify mcp server avatar

zhuzhoulin dify mcp server

mcp
zhongmingyuan mcp my mac avatar

zhongmingyuan mcp my mac

mcp
zhixiaoqiang desktop image manager mcp avatar

zhixiaoqiang desktop image manager mcp

MCP æœćŠĄć™šïŒŒç”šäșŽçźĄç†æĄŒéąć›Ÿç‰‡ă€æŸ„çœ‹èŻŠæƒ…ă€ćŽ‹çŒ©ă€ç§»ćŠšç­‰ïŒˆćźŒć…šèź©TraećźžçŽ°ïŒ‰

mcp
zhixiaoqiang antd components mcp avatar

zhixiaoqiang antd components mcp

An MCP service for Ant Design components query | 侀äžȘ懏民 Ant Design ç»„ä»¶ä»Łç ç”Ÿæˆćč»è§‰çš„ MCP æœćŠĄïŒŒćŒ…ć«çł»ç»Ÿæç€șèŻă€ç»„ä»¶æ–‡æĄŁă€API æ–‡æĄŁă€ä»Łç ç€șäŸ‹ć’Œæ›Žæ–°æ—„ćż—æŸ„èŻą

designantdapi

Submit Your MCP Server

Share your MCP server with the community

Submit Now