✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

What is the n8n MCP Server?

The n8n MCP Server is a Model Context Protocol (MCP) server that allows AI assistants to interact with n8n workflows through natural language. It provides tools and resources for managing n8n workflows and executions.

What is MCP?

MCP, or Model Context Protocol, is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). It enables AI models to access and interact with external data sources and tools.

What can I do with the n8n MCP Server?

With the n8n MCP Server, you can:

  • List, create, update, and delete workflows.
  • Activate and deactivate workflows.
  • Execute workflows and monitor their status.
  • Access workflow information and execution statistics.

What are the prerequisites for installing the n8n MCP Server?

You need Node.js 18 or later and an n8n instance with API access enabled.

How do I install the n8n MCP Server?

You can install it from npm, from source, or using Docker. Refer to the installation instructions in the documentation for detailed steps.

How do I configure the n8n MCP Server?

You need to configure environment variables such as N8N_API_URL, N8N_API_KEY, N8N_WEBHOOK_USERNAME, and N8N_WEBHOOK_PASSWORD in a .env file.

How do I generate an n8n API key?

Go to your n8n instance in a browser, navigate to Settings > API > API Keys, create a new API key with appropriate permissions, and copy the key to your .env file.

How do I run the n8n MCP Server?

From the installation directory, run n8n-mcp-server.

How do I integrate the n8n MCP Server with AI assistants?

Configure your AI assistant (e.g., VS Code with the Claude extension) to run the server by editing a JSON configuration file and providing the necessary environment variables.

What tools are available in the n8n MCP Server?

The server provides tools for workflow management (workflow_list, workflow_get, workflow_create, etc.) and execution management (execution_run, run_webhook, execution_get, etc.).

How do I execute workflows using webhooks?

Create a webhook-triggered workflow in n8n, set up Basic Authentication, and use the run_webhook tool to trigger the workflow, passing just the workflow name.

What resources are available in the n8n MCP Server?

The server provides resources for listing workflows (n8n://workflows/list), getting workflow details (n8n://workflow/{id}), listing executions (n8n://executions/{workflowId}), and getting execution details (n8n://execution/{id}).

How do I run the server in development mode?

Run npm run dev.

How do I build the server?

Run npm run build.

Featured Templates

View More
AI Engineering
Python Bug Fixer
119 1433
Customer service
AI-Powered Product List Manager
153 868
AI Assistants
Image to text with Claude 3
152 1366
AI Assistants
Talk with Claude 3
159 1523

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.