MCP.so
Sign In

MCP n8n API Server

@ahmadsoliman

Basic information

Category

Developer Tools

Transports

stdio

Author

ahmadsoliman

About MCP n8n API Server

MCP server for n8n API integration - Connect Claude AI to n8n workflows

MCP n8n API Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-n8n-server": {
      "command": "npx",
      "args": [
        "-y",
        "@ahmad.soliman/mcp-n8n-server"
      ]
    }
  }
}

MCP n8n API Server tools

4

Get all n8n workflows

Get all webhooks in a workflow

Call a GET webhook

Call a POST webhook

Overview

What is MCP n8n API Server?

An MCP (Model Context Protocol) server that provides an interface to interact with n8n workflows. It allows listing workflows, triggering webhooks with custom data, and integrates with Claude Desktop and other MCP clients.

How to use MCP n8n API Server?

Install globally with npm install -g @ahmad.soliman/mcp-n8n-server or run directly with npx -y @ahmad.soliman/mcp-n8n-server. Configure a .env file with your n8n host URL, API key, and optionally a project ID. Then configure Claude Desktop or another MCP client using the provided JSON configuration.

Key features of MCP n8n API Server

  • List all n8n workflows
  • List webhooks from a specific workflow by ID
  • Call webhooks with GET requests
  • Call webhooks with POST requests and custom data
  • Works as a remote or local MCP server

Use cases of MCP n8n API Server

  • List all available n8n workflows via Claude
  • Trigger an n8n webhook with custom data from an LLM
  • Retrieve information about webhooks associated with a workflow

Frequently asked questions

1

What configuration is required to connect to n8n?

You must set `N8N_HOST_URL` (your n8n instance URL) and `N8N_API_KEY` in a `.env` file or environment variables.

2

Is a project ID required?

The `PROJECT_ID` is optional and only needed for cloud n8n instances.

3

How do I integrate this server with Claude Desktop?

Add the server configuration to `~/Library/Application Support/Claude/claude_desktop_config.json` using the `npx` command or a local path.

4

What MCP tools does the server expose?

It exposes `list-workflows`, `list-workflow-webhooks` (requires workflow ID), `call-webhook-get` (requires URL), and `call-webhook-post` (requires URL and data).

5

Can I use the server without installing anything?

Yes, you can run it directly using `npx -y @ahmad.soliman/mcp-n8n-server` without a permanent installation.

Comments

More Developer Tools MCP servers