You signed in with another tab or window. Reload
to refresh your session. You signed out in another tab or window. Reload
to refresh your session. You switched accounts on another tab or window. Reload
to refresh your session. Dismiss alert
lowprofix / n8n-mcp-server Public
Serveur MCP (Master Control Program) pour n8n qui fournit des outils de validation de workflows et de bonnes pratiques pour vos projets d'automatisation
1 star
0 forks
Branches
Tags
Activity
Notifications
You must be signed in to change notification settings
master
Go to file
Code
| Name | | Name | Last commit message | Last commit date |
| --- | --- | --- | --- |
| Latest commit
-------------
lowprofix
Initial commit: Serveur MCP pour n8n
Mar 14, 2025
2f949d5
· Mar 14, 2025
History
-------
1 Commit
| | |
| scripts | | scripts | Initial commit: Serveur MCP pour n8n | Mar 14, 2025 |
| src | | src | Initial commit: Serveur MCP pour n8n | Mar 14, 2025 |
| .env.example | | .env.example | Initial commit: Serveur MCP pour n8n | Mar 14, 2025 |
| .gitignore | | .gitignore | Initial commit: Serveur MCP pour n8n | Mar 14, 2025 |
| README.md | | README.md | Initial commit: Serveur MCP pour n8n | Mar 14, 2025 |
| mcp_config.json | | mcp_config.json | Initial commit: Serveur MCP pour n8n | Mar 14, 2025 |
| package.json | | package.json | Initial commit: Serveur MCP pour n8n | Mar 14, 2025 |
| pnpm-lock.yaml | | pnpm-lock.yaml | Initial commit: Serveur MCP pour n8n | Mar 14, 2025 |
| start-debug.js | | start-debug.js | Initial commit: Serveur MCP pour n8n | Mar 14, 2025 |
| tsconfig.json | | tsconfig.json | Initial commit: Serveur MCP pour n8n | Mar 14, 2025 |
| View all files | | |
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.
pnpm install
cp .env.example .env
Modifiez le fichier .env
avec vos informations de connexion à l'API n8n.
pnpm build
pnpm start
Le serveur MCP sera accessible à l'adresse http://localhost:3000
(ou le port spécifié dans votre fichier .env).
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"]
}
}
}
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
Interagit directement avec l'API n8n.
// Exemple d'utilisation
{
"method": "GET",
"endpoint": "/workflows",
"params": "?active=true"
}
Gère les workflows n8n (liste, récupère, crée, met à jour, supprime, exporte, importe).
// Exemple d'utilisation
{
"action": "list",
"tags": "production"
}
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
}
Valide les workflows n8n selon différents critères.
// Exemple d'utilisation
{
"workflow": "{...}",
"validators": ["naming", "errorHandling", "security"],
"strictness": "high"
}
Les contributions sont les bienvenues ! N'hésitez pas à ouvrir une issue ou une pull request.
MIT
Serveur MCP (Master Control Program) pour n8n qui fournit des outils de validation de workflows et de bonnes pratiques pour vos projets d'automatisation
No releases published
No packages published
You can’t perform that action at this time.