MCP.so
登录

MCP n8n API Server

@ahmadsoliman

基本信息

分类

开发工具

传输方式

stdio

作者

ahmadsoliman

关于 MCP n8n API Server

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

MCP n8n API Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

MCP n8n API Server 工具

4

Get all n8n workflows

Get all webhooks in a workflow

Call a GET webhook

Call a POST webhook

概览

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

常见问题

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.

评论

开发工具 分类下的更多 MCP 服务器