What is the n8n MCP Server?
The n8n MCP Server is a Model Context Protocol (MCP) server that allows AI assistants to interact with n8n workflows through natural language. It provides tools and resources for managing n8n workflows and executions.
What is MCP?
MCP, or Model Context Protocol, is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). It enables AI models to access and interact with external data sources and tools.
What can I do with the n8n MCP Server?
With the n8n MCP Server, you can:
- List, create, update, and delete workflows.
- Activate and deactivate workflows.
- Execute workflows and monitor their status.
- Access workflow information and execution statistics.
What are the prerequisites for installing the n8n MCP Server?
You need Node.js 18 or later and an n8n instance with API access enabled.
How do I install the n8n MCP Server?
You can install it from npm, from source, or using Docker. Refer to the installation instructions in the documentation for detailed steps.
How do I configure the n8n MCP Server?
You need to configure environment variables such as N8N_API_URL, N8N_API_KEY, N8N_WEBHOOK_USERNAME, and N8N_WEBHOOK_PASSWORD in a .env file.
How do I generate an n8n API key?
Go to your n8n instance in a browser, navigate to Settings > API > API Keys, create a new API key with appropriate permissions, and copy the key to your .env file.
How do I run the n8n MCP Server?
From the installation directory, run n8n-mcp-server.
How do I integrate the n8n MCP Server with AI assistants?
Configure your AI assistant (e.g., VS Code with the Claude extension) to run the server by editing a JSON configuration file and providing the necessary environment variables.
What tools are available in the n8n MCP Server?
The server provides tools for workflow management (workflow_list, workflow_get, workflow_create, etc.) and execution management (execution_run, run_webhook, execution_get, etc.).
How do I execute workflows using webhooks?
Create a webhook-triggered workflow in n8n, set up Basic Authentication, and use the run_webhook tool to trigger the workflow, passing just the workflow name.
What resources are available in the n8n MCP Server?
The server provides resources for listing workflows (n8n://workflows/list), getting workflow details (n8n://workflow/{id}), listing executions (n8n://executions/{workflowId}), and getting execution details (n8n://execution/{id}).
How do I run the server in development mode?
Run npm run dev.
How do I build the server?
Run npm run build.
n8n Workflow Automation Server
Project Details
- codearranger/n8n-mcp-server
- MIT License
- Last Updated: 5/11/2025
Recomended MCP Servers
21 Lessons, Get Started Building with Generative AI 🔗 https://microsoft.github.io/generative-ai-for-beginners/
MCP implementation of https://linkd.inc/
Integration of Needle in modelcontextprotocol
Scripts which perform an installable binary image build for SONiC
A MCP server project that creates PowerPoint presentations, forked from supercurses/powerpoint with additional features
macOS defaults - Model Context Protocol server
MCP server for playing chess against AI
A Model Context Protocol (MCP) server for Gmail integration in Claude Desktop with auto authentication support. This server...
A consul MCP Server (modelcontextprotocol)





