n8n MCP Server

Stale
GitHub TypeScript MIT

Description

MCP server for n8n automation platform, enabling AI agents to interact with n8n API to manage workflows and automation tasks via natural language.

Key Features

  • MCP server enabling AI assistants to interact with n8n via natural language
  • Full workflow management — list, get, create, update, delete, and execute
  • Webhook support with Basic Authentication for triggering workflow execution
  • Installation via npm, source build, or Docker container
  • Configurable environment variables for API URL, keys, and webhook credentials
  • Compatible with VS Code, Claude Desktop, and other MCP-compatible assistants

Use Cases

💡 Automating n8n workflow management through AI chat interfaces
💡 Triggering n8n automations from Claude, Cursor, or Copilot
💡 Building AI-powered workflow orchestration pipelines
💡 Programmatic control of n8n executions via natural language commands
💡 Integrating n8n into multi-tool AI agent architectures

Quick Start

Install: `npm install -g @leonardsellem/n8n-mcp-server`. Configure `.env` with `N8N_API_URL` (http://your-n8n:5678/api/v1), `N8N_API_KEY`, and optional webhook credentials. Run `n8n-mcp-server`. Add to your MCP client config pointing to the built `index.js`.

Related Projects