n8n mcp server
An MCP server enabling secure interaction with n8n workflows, executions, and settings via the Model Context Protocol, designed for integration with Large Language Models (LLMs).
An MCP server enabling secure interaction with n8n workflows, executions, and settings via the Model Context Protocol, designed for integration with Large Language Models (LLMs).
An MCP server that provides access to n8n workflows, executions, credentials, and more through the Model Context Protocol. This allows Large Language Models (LLMs) to interact with n8n instances in a secure and standardized way.
npm install -g @illuminaresolutions/n8n-mcp-server
Clone the repository:
git clone https://github.com/illuminaresolutions/n8n-mcp-server.git
cd n8n-mcp-server
Install dependencies and build:
npm install
npm run build
Start the server in the background:
nohup npm start > n8n-mcp.log 2>&1 &
To stop the server:
pkill -f "node build/index.js"
Note: When installing from npm, the server will be available as n8n-mcp-server
in your PATH.
Open your Claude Desktop configuration:
~/Library/Application Support/Claude/claude_desktop_config.json
Add the n8n configuration:
{
"mcpServers": {
"n8n": {
"command": "n8n-mcp-server",
"env": {
"N8N_HOST": "https://your-n8n-instance.com",
"N8N_API_KEY": "your-api-key-here"
}
}
}
}
{
"mcpServers": {
"n8n": {
"command": "n8n-mcp-server",
"env": {
"N8N_HOST": "https://your-n8n-instance.com",
"N8N_API_KEY": "your-api-key-here"
}
}
}
}
Coming soon! The n8n MCP server will be available through: - Smithery.ai marketplace - Import from Claude Desktop
For now, please use Claude Desktop or Cline.
After configuration:
If you get an error: - Check that your n8n instance is running - Verify your API key has correct permissions - Ensure N8N_HOST has no trailing slash
These features require an n8n Enterprise license: - Project management - Variable management - Advanced user management
Verify API key permissions
"License required"
Either upgrade to n8n Enterprise or use core features only
Connection Issues
Never commit keys to version control
Instance Access