n8n-MCP

Expose n8n's full library of nodes, operations, and templates to AI assistants for programmatic workflow generation and management.

Expose n8n's full library of nodes, operations, and templates to AI assistants for programmatic workflow generation and management.

The gist

n8n-MCP is a Model Context Protocol (MCP) server built by developer czlonkowski to solve the problem of AI assistants lacking deep knowledge of the n8n workflow automation platform. It acts as a bridge, giving models like Claude structured access to over 1,500 n8n nodes, their properties, operations, and documentation. This allows an AI to effectively understand, design, and build complex n8n workflows.

What it does

  • Provide AI agents with structured API access to documentation for over 1,500 n8n nodes.
  • Index a library of over 2,700 n8n workflow templates for searching and deployment.
  • Expose tools for AI to search, configure, and validate n8n nodes and entire workflows.
  • Integrate with AI-powered IDEs like VS Code, Cursor, and Claude's coding tools.
  • Connect directly to an n8n instance to manage workflows, executions, and credentials via an API.

How it works

A user deploys the n8n-MCP server via Docker, NPX, or a cloud service. An AI assistant then interacts with the server's API, using its provided tools to query n8n node documentation, search for templates, and validate configurations. The server returns structured data or workflow JSON, and can also be configured to directly manage a live n8n instance. The project is open-source and self-hostable, with a managed version offering a free tier.

Best for

This tool is ideal for developers and automation engineers using AI assistants like Claude to programmatically build, validate, and manage complex n8n automation workflows.

Watch out for

The project explicitly warns users to never edit production workflows directly with AI. Always test changes in a development environment and maintain backups, as AI-generated results can be unpredictable.