n8n MCP Server
Supports integration with n8n instances hosted on Cloudron, specifically mentioning connectivity to instances on n8n.bienquoi.com.
Offers ready-to-use workflow templates for Google Calendar integrations through n8n.
Provides tools for validating and managing n8n workflows, including workflow validation against best practices, workflow management (listing, retrieving, creating, updating, deleting, exporting, importing), and direct access to the n8n API for advanced operations.
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., "@n8n MCP Servervalidate my latest workflow for naming conventions and error handling"
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 Server for n8n
This project is a Master Control Program (MCP) server for n8n that provides workflow validation tools and best practices for your n8n automation projects.
Features
Workflow Validation : Check that your workflows follow best practices
Naming conventions
Error handling
Security
Performance
Documentation
NextJS Integration : Generate integrations for your n8n workflows into NextJS applications
Automatic generation of API routes
Creating OpenAPI/Swagger documentation
TypeScript Type Generation
API client to facilitate integration
Workflow management : Interact with your n8n workflows (list, retrieve, create, update, delete, export, import)
n8n API : Directly access the n8n API for advanced operations
Workflow Templates : Use ready-made templates for different use cases, including Google Calendar
Related MCP server: mcp-n8n-builder
Prerequisites
Node.js (v16 or higher)
pnpm (v7 or higher)
An n8n instance (local or remote like your Cloudron instance at n8n.bienquoi.com)
Facility
Clone this repository or navigate to the project folder
Install the dependencies:
pnpm installConfigure the environment variables:
cp .env.example .envEdit the .env file with your n8n API connection information.
Use
Construction of the project
pnpm buildServer Startup
pnpm startThe MCP server will be accessible at http://localhost:3000 (or the port specified in your .env file).
Use with Claude Desktop
To use this MCP server with Claude Desktop, you need to configure the claude_desktop_config.json file in the %APPDATA%/Claude/ folder:
{
"mcpServers": {
"n8n-mcp-server": {
"command": "node",
"args": ["/chemin/absolu/vers/mcp-n8n-server/dist/server.js"]
}
}
}Project structure
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 # DocumentationAvailable tools
1. N8nApiTool
Interacts directly with the n8n API.
// Exemple d'utilisation
{
"method": "GET",
"endpoint": "/workflows",
"params": "?active=true"
}2. WorkflowManagerTool
Manages n8n workflows (list, retrieve, create, update, delete, export, import).
// Exemple d'utilisation
{
"action": "list",
"tags": "production"
}3. NextJSIntegrationTool
Generates NextJS integrations for n8n workflows.
// Exemple d'utilisation
{
"workflowId": "123",
"outputDir": "./my-nextjs-app/pages/api",
"generateTypes": true,
"generateOpenAPI": true
}4. WorkflowValidatorTool
Validates n8n workflows based on various criteria.
// Exemple d'utilisation
{
"workflow": "{...}",
"validators": ["naming", "errorHandling", "security"],
"strictness": "high"
}Contribution
Contributions are welcome! Feel free to open an issue or a pull request.
License
MIT
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.
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Context Protocol (MCP) server for programmatically creating and managing n8n workflows.118MIT
- AlicenseAqualityDmaintenance🪄 MCP server for programmatic creation and management of n8n workflows. Enables AI assistants to build, modify, and manage workflows without direct user intervention through a comprehensive set of tools and resources for interacting with n8n's REST API.108184MIT
- Alicense-qualityDmaintenanceAn MCP server that empowers AI assistants to build, validate, and manage n8n workflows by providing structured access to documentation for over 1,200 nodes and thousands of templates. It enables deep integration with n8n instances for automated workflow orchestration and management through natural language.160,2841MIT
- AlicenseBqualityDmaintenanceA comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and double-validated workflow creation.431MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
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/lowprofix/n8n-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server