mcp-n8n
Allows n8n workflows to connect and interact with MCP tools, enabling AI-driven automation through n8n's AI Agent and MCP Client nodes.
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., "@mcp-n8ncreate a workflow to send Slack on new email"
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
Servidor Model Context Protocol (MCP) construido con mcp-framework.
1. Instalación y ejecución
Instala las dependencias:
npm installCompila el proyecto (esto es necesario cada vez que agregues o modifiques una tool):
npm run buildLevanta los contenedores MCP, n8n y postgres (esto reconstruye la imagen y toma los cambios):
docker-compose up mcp n8n postgres --buildEsto iniciará el servidor MCP, n8n y la base de datos postgres necesaria para n8n. Por defecto, n8n estará disponible en http://localhost:5678 en tu navegador.
Si solo quieres levantar n8n y postgres (por ejemplo, para pruebas de integración):
docker-compose up n8n postgresNota: El servicio de postgres es requerido por n8n para almacenar los datos de workflows, credenciales y ejecuciones.
Related MCP server: n8n-MCP
2. Crear una nueva Tool
Puedes crear una nueva tool usando el CLI del framework MCP. Ejemplo:
mcp add tool mi-nueva-toolEsto generará un archivo en src/tools/. Edita el archivo para definir la lógica de tu tool.
Ejemplo básico:
import { MCPTool } from "mcp-framework";
import { z } from "zod";
interface MiToolInput {
mensaje: string;
}
class MiTool extends MCPTool<MiToolInput> {
name = "mi_tool";
description = "Descripción de lo que hace tu tool";
schema = {
mensaje: {
type: z.string(),
description: "Mensaje de entrada",
},
};
async execute(input: MiToolInput) {
return `Procesado: ${input.mensaje}`;
}
}
export default MiTool;Recuerda ejecutar npm run build y reiniciar el contenedor para que la nueva tool esté disponible.
3. Integración con n8n
Para conectar n8n con MCP, configura el nodo MCP Client en n8n con la URL de tu servidor MCP, por ejemplo:http://mcp:8080/mcp
Asegúrate de que el contenedor MCP esté corriendo y accesible desde n8n.
Ejemplo de configuración visual
Configuración del Webhook en n8n

Configuración del nodo AI Agent

Configuración del nodo MCP Client

Ejemplo de workflow completo

4. Notas adicionales
Si agregas nuevas tools o modificas el código, siempre ejecuta
npm run buildantes de reiniciar el contenedor.El contenedor MCP debe levantarse con el flag
--buildpara tomar los cambios.Las imágenes incluidas muestran ejemplos de configuración en n8n para facilitar la integración.
Para acceder a la interfaz de n8n, abre http://localhost:5678 en tu navegador.
5. Recursos
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
- -license-quality-maintenanceProvides seamless integration between MCP-compatible AI assistants and n8n workflow automation, enabling intelligent management and automation of n8n workflows through natural language.Last updated5
- Alicense-qualityDmaintenanceAn MCP server that provides AI assistants with access to documentation, schemas, and operations for over 535 n8n workflow automation nodes. It enables models to understand, create, and manage n8n workflows through natural language by connecting to the n8n API.Last updated122,092MIT
- 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.Last updated122,0921MIT
- AlicenseAqualityAmaintenanceMCP server for managing n8n workflows through AI assistants. Supports workflow CRUD operations, synchronization, inspection, and execution support for automation-focused workflows.Last updated141102MIT
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
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/backsoul/mcp-n8n'
If you have feedback or need assistance with the MCP directory API, please join our Discord server