MCP n8n API Server
Allows listing n8n workflows, triggering specific workflows with custom data, and calling webhooks (GET and POST) on n8n workflows.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP n8n API Server list all my workflows"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP n8n API Server
An mcp server that provides an interface to interact with n8n workflows through the Model Context Protocol (MCP).
Features
List all n8n workflows
Trigger specific workflows with custom data
Integration with Claude Desktop and other MCP clients
Related MCP server: n8n MCP Server
Installation
Global Installation (Recommended for Remote Usage)
npm install -g @ahmad.soliman/mcp-n8n-serverThen configure your n8n connection:
Create a
.envfile in your working directoryAdd your n8n API information (see Configuration section below)
Using with npx (No Installation Required)
You can run the server directly with npx:
npx -y @ahmad.soliman/mcp-n8n-serverLocal Installation
git clone https://github.com/ahmadsoliman/mcp-n8n-server.git
cd mcp-n8n-server
npm installConfiguration
Create a .env file with the following variables:
# n8n Host URL (required)
N8N_HOST_URL=https://your-n8n-instance.com
# n8n Project ID (optional - only needed for cloud instances)
PROJECT_ID=your_project_id_here
# n8n API Key (required)
N8N_API_KEY=your_api_key_hereUsage
As a Remote MCP Server
After installing globally, you can use it as a remote MCP server with Claude AI:
Configure Claude AI to use this as a remote MCP server using the following JSON configuration:
{
"mcpServers": {
"n8n": {
"command": "npx",
"args": ["-y", "@ahmad.soliman/mcp-n8n-server"],
"env": {
"N8N_HOST_URL": "",
"PROJECT_ID": "",
"N8N_API_KEY": ""
}
}
}
}Add the following to your prompt or instructions to Claude:
You have access to a remote MCP server for n8n integration. Use it to:
- List all n8n workflows
- Trigger webhooks and workflows
- Get information about available webhooksAs a Local MCP Server
You can run the server locally and connect to it from Claude Desktop:
# Start the server
npm startThen configure Claude Desktop to use this MCP server:
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"n8n": {
"command": "npx",
"args": ["-y", "@ahmad.soliman/mcp-n8n-server"],
"env": {
"N8N_HOST_URL": "",
"PROJECT_ID": "",
"N8N_API_KEY": ""
}
}
}
}Alternatively, if you've cloned the repository locally:
{
"mcpServers": {
"n8n-server": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/server-n8n/build/index.js"]
}
}
}Setup
Install dependencies:
npm installConfigure environment variables:
Copy
.env.exampleto.env(if not already done)Update the following variables in
.env:N8N_API_URL: Your n8n instance URL (default: http://localhost:5678)N8N_API_KEY: Your n8n API key
Start the server:
# Start the MCP server (for integration with Claude Desktop and other MCP clients)
npm run mcpFor development with auto-reload:
npm run devMCP Tools (for LLM Integration)
The MCP server exposes the following tools for use with Claude Desktop or other MCP clients:
List Workflows
The list-workflows tool returns a list of all available n8n workflows.
List Workflow Webhooks
The list-workflow-webhooks tool returns all webhooks from a specific workflow.
Parameters:
id: The ID of the workflow to get webhooks from
Call Webhook (GET)
The call-webhook-get tool allows calling a webhook with a GET request.
Parameters:
url: The webhook URL to call
Call Webhook (POST)
The call-webhook-post tool allows calling a webhook with a POST request.
Parameters:
url: The webhook URL to calldata: Data to send in the POST request body
Available Tools
4 toolscall_webhook_getB
Call a GET webhook
Inputs: url (required).
call_webhook_postC
Call a POST webhook
Inputs: url (required), data (required).
list_workflowsA
Get all n8n workflows
Inputs: no named parameters.
list_workflow_webhooksB
Get all webhooks in a workflow
Inputs: id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: two for calling webhooks with specific HTTP methods, and two for listing workflows and their webhooks. No ambiguity.
All tool names follow the verb_noun pattern in snake_case, with modifiers for method variation. The naming is predictable and consistent.
With 4 tools, the count is well-scoped for a focused API server that covers both webhook invocation and workflow/webhook listing.
The tool set covers core operations for webhooks and workflow listing, but lacks create/update/delete workflows or webhook management, which limits full API coverage.
Maintenance
Related MCP Connectors
Build, check and fix n8n workflows from Claude, Cursor or ChatGPT. Built on 1,100+ real n8n node definitions and curated templates, with a validator that repairs common mistakes (wrong node types, missing settings) and returns JSON ready to import into n8n. Sign in with a free gydmation.com account; nothing to install.
n8n MCP — query your own n8n instance (BYO).
26 pay-per-call AI agent tools for marketing, sales, content, research, verification, and integration testing. Agents pay per call via x402 micropayments (USDC on Base), raw JSON in and out. Includes delivery-acceptance receipts (ACCEPT/REJECT/REVIEW), a webhook capture/replay/conformance lab, and n8n workflow validation with bounded JSON-Patch repair.
Security scanner for n8n workflows + live MCP Trust-Check. 18 rules, OWASP mapped. Paid x402 API.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides file system operations (read, write, list, delete) and Git repository management (status, commit, push, pull, diff) for n8n workflows through the Model Context Protocol.-
- AlicenseBqualityDmaintenanceEnables Large Language Models to interact with n8n automation instances through the Model Context Protocol. Supports workflow management, execution, credentials handling, and security audits through natural language commands.3365 npm3MIT
- AlicenseNot gradedqualityFmaintenanceProvides AI assistants with direct access to the n8n automation platform to manage and execute workflows, variables, and credentials. It features 18 integrated tools that allow for seamless automation management via the Model Context Protocol.128 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables management of n8n workflows directly within LLMs through the Model Context Protocol, including listing, executing, and monitoring workflows.67 npm18ISC