n8n MCP Server logo

n8n MCP Server

by illuminaresolutions

The n8n MCP Server provides access to n8n workflows, executions, and credentials through the Model Context Protocol. This allows Large Language Models (LLMs) to interact with n8n instances in a secure and standardized way.

View on GitHub

Last updated: N/A

What is n8n MCP Server?

The n8n MCP Server is a bridge that enables Large Language Models (LLMs) to securely interact with n8n instances, allowing them to access and manage workflows, executions, and credentials through the Model Context Protocol.

How to use n8n MCP Server?

To use the n8n MCP Server, first install it via npm or from source. Then, configure your LLM application (like Claude Desktop or Cline) to connect to the server by providing the server command and environment variables for your n8n host and API key. Finally, validate the connection by asking your LLM to list your n8n workflows.

Key features of n8n MCP Server

  • List and manage workflows

  • View workflow details

  • Execute workflows

  • Manage credentials

  • Handle tags and executions

  • Generate security audits

  • Manage workflow tags

Use cases of n8n MCP Server

  • Automating tasks based on LLM input

  • Integrating n8n workflows with LLM-powered applications

  • Securely managing n8n data within LLM environments

  • Triggering workflows via natural language commands

FAQ from n8n MCP Server

What is the Model Context Protocol (MCP)?

MCP is a protocol that allows LLMs to interact with external systems in a standardized way.

How do I get my n8n API key?

Log into your n8n instance, go to Settings -> API, and create a new API key.

What if I get a 'Client not initialized' error?

Check that your N8N_HOST and N8N_API_KEY are set correctly, ensure your n8n instance is accessible, and verify API key permissions.

What are the Enterprise features?

Enterprise features include project management, variable management, and advanced user management, and require an n8n Enterprise license.

How do I troubleshoot connection issues?

Verify your n8n instance is running, check the URL protocol (http/https), and remove any trailing slash from N8N_HOST.