n8n MCP Server
by dopehunter
The n8n MCP Server enables seamless management of n8n workflows directly within LLMs and AI agents through the Smithery Model Context Protocol. It provides an MCP-compatible interface for AI agents to interact with n8n workflows.
Last updated: N/A
What is n8n MCP Server?
The n8n MCP Server is a Model Context Protocol server that allows LLMs and AI agents to interact with and manage n8n workflows. It acts as a bridge, enabling AI agents to list, view, execute, and monitor n8n workflows through a standardized MCP interface.
How to use n8n MCP Server?
To use the server, first install it using npm or npx. Configure the server with your n8n instance URL and API key in the .env file. Start the server, and then configure your LLM client to point to the server's URL (e.g., http://localhost:3000/mcp). Your LLM can then use MCP commands to interact with your n8n workflows.
Key features of n8n MCP Server
List available workflows from n8n
View workflow details
Execute workflows
Monitor workflow executions
Pass parameters to workflows
MCP-compatible interface for AI agents
Use cases of n8n MCP Server
Automating tasks within LLM-powered applications
Integrating n8n workflows into AI agent workflows
Creating AI-driven automation solutions using n8n
Enabling LLMs to trigger and manage complex workflows
FAQ from n8n MCP Server
How do I configure the server?
How do I configure the server?
Configure the server by setting the N8N_BASE_URL and N8N_API_KEY environment variables in the .env file.
What is the MCP endpoint?
What is the MCP endpoint?
The MCP endpoint is typically http://localhost:3000/mcp, but it depends on how you configure the server.
How do I get my n8n API key?
How do I get my n8n API key?
You can generate an API key in the n8n settings under 'Users' -> 'API Keys'.
What versions of Node.js are supported?
What versions of Node.js are supported?
Node.js version 14 or higher is required.
Where can I find the API documentation?
Where can I find the API documentation?
See the API Documentation for details on the available MCP functions.