Self-hosted workflow automation
MCP server for n8n enabling AI assistants to discover, manage, and run workflows. Works with n8n Cloud and self-hosted instances.
{
"mcpServers": {
"n8n": {
"mcpServers": {
"n8n": {
"env": {
"N8N_HOST": "http://localhost:5678",
"N8N_API_KEY": "your-api-key"
},
"args": [
"-y",
"n8n-mcp-server"
],
"command": "npx"
}
}
}
}
}