n8n.com
n8n.com logo

n8n

Bridges Claude with n8n automation workflows, enabling direct creation, execution, and management of workflows, credenti...

Created byApr 22, 2025

n8n MCP Server

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.

Installation

Get your n8n API Key

  1. Log into your n8n instance
  1. Click your user icon in the bottom left
  1. Go to Settings
  1. Select API
  1. Click "Create API Key"
  1. Copy your API key (you won't be able to see it again)

Install the MCP Server

Option 1: Install from npm (Recommended)

Option 2: Install from Source

  1. Clone the repository:
  1. Install dependencies and build:
  1. Start the server in the background:To stop the server:
Note: When installing from npm, the server will be available as n8n-mcp-server in your PATH.

Configuration

Claude Desktop

  1. Open your Claude Desktop configuration:
  1. Add the n8n configuration:

Cline (VS Code)

  1. Install the server (follow Installation steps above)
  1. Open VS Code
  1. Open the Cline extension from the left sidebar
  1. Click the 'MCP Servers' icon at the top of the pane
  1. Scroll to bottom and click 'Configure MCP Servers'
  1. Add to the opened settings file:
  1. Save the file
  1. Ensure the MCP toggle is enabled (green) and the status indicator is green
  1. Start using MCP commands in Cline

Sage

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.

Validation

After configuration:
  1. Restart your LLM application
  1. Ask: "List my n8n workflows"
  1. You should see your workflows listed
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

Features

Core Features

  • List and manage workflows
  • View workflow details
  • Execute workflows
  • Manage credentials
  • Handle tags and executions
  • Generate security audits
  • Manage workflow tags

Enterprise Features

These features require an n8n Enterprise license:
  • Project management
  • Variable management
  • Advanced user management

Troubleshooting

Common Issues

  1. "Client not initialized"
  1. "License required"
  1. Connection Issues

Security Best Practices

  1. API Key Management
  1. Instance Access

Support

License

MIT License

n8n MCP Server

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.

Installation

Get your n8n API Key

  1. Log into your n8n instance
  1. Click your user icon in the bottom left
  1. Go to Settings
  1. Select API
  1. Click "Create API Key"
  1. Copy your API key (you won't be able to see it again)

Install the MCP Server

Option 1: Install from npm (Recommended)

Option 2: Install from Source

  1. Clone the repository:
  1. Install dependencies and build:
  1. Start the server in the background:To stop the server:
Note: When installing from npm, the server will be available as n8n-mcp-server in your PATH.

Configuration

Claude Desktop

  1. Open your Claude Desktop configuration:
  1. Add the n8n configuration:

Cline (VS Code)

  1. Install the server (follow Installation steps above)
  1. Open VS Code
  1. Open the Cline extension from the left sidebar
  1. Click the 'MCP Servers' icon at the top of the pane
  1. Scroll to bottom and click 'Configure MCP Servers'
  1. Add to the opened settings file:
  1. Save the file
  1. Ensure the MCP toggle is enabled (green) and the status indicator is green
  1. Start using MCP commands in Cline

Sage

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.

Validation

After configuration:
  1. Restart your LLM application
  1. Ask: "List my n8n workflows"
  1. You should see your workflows listed
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

Features

Core Features

  • List and manage workflows
  • View workflow details
  • Execute workflows
  • Manage credentials
  • Handle tags and executions
  • Generate security audits
  • Manage workflow tags

Enterprise Features

These features require an n8n Enterprise license:
  • Project management
  • Variable management
  • Advanced user management

Troubleshooting

Common Issues

  1. "Client not initialized"
  1. "License required"
  1. Connection Issues

Security Best Practices

  1. API Key Management
  1. Instance Access

Support

License

MIT License