n8n MCP Server
Allows listing, inspecting, and managing n8n workflows, including activating/deactivating workflows, creating workflows with nodes/connections, searching templates, managing tags, and retrieving node specifications.
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., "@n8n MCP Server list 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.
n8n MCP Server
This is a Model Context Protocol (MCP) server for n8n. It allows AI clients (like Claude Desktop or compatible IDEs) to list, inspect, and manage your n8n workflows.
Configuration
Environment Variables: Copy
.env.exampleto.envand fill in your n8n details:cp .env.example .envEdit
.env:N8N_HOST=https://your-n8n-instance.com N8N_API_KEY=your-api-key-hereBuild:
npm install npm run build
Related MCP server: n8n MCP Server
Antigravity Configuration
To use this MCP server with Google Antigravity, you need to add it to your mcp_config.json file.
Open Antigravity.
Go to Settings > MCP Servers.
Click View raw config to open
mcp_config.json.Add the following configuration (replace the environment variables with your actual values):
{
"mcpServers": {
"n8n": {
"command": "node",
"args": [
"/path-to-project/dist/index.js"
],
"env": {
"N8N_HOST": "https://your-n8n-instance.com",
"N8N_API_KEY": "your-api-key-here"
}
}
}
}Note: Make sure to run
npm run buildfirst so thedist/index.jsfile exists.
Usage
To use this MCP server with an AI client:
Command:
nodeArgs:
/Users/stefano/Documents/Progetti/n8n MCP/dist/index.js
Available Tools
list_workflows: List all workflows (supports filtering by active status and tags).activate_workflow: Activate a workflow by ID.deactivate_workflow: Deactivate a workflow by ID.get_workflow: Get details of a specific workflow.create_workflow: Create a new workflow with a given name and nodes/connections.search_templates: Search the n8n public template library to find workflow examples.get_node_specs: Get a link to the official documentation for a specific node type.create_tag: Create a new tag for organizing workflows.list_tags: List all available tags.add_tags_to_workflow: Add one or more tags to an existing workflow.index_all_nodes: Returns a directory of node categories (Core, Trigger, App) with links to their official documentation.
Safety Note: There is no
delete_workflowtool implemented to prevent accidental deletion of your workflows.
Available Resources
n8n://workflows: A dynamic list of all workflows.
Available Tools
11 toolsactivate_workflowC
Activate a workflow
Inputs: id (required).
add_tags_to_workflowB
Add tags to a workflow
Inputs: workflowId (required), tagIds (required).
create_tagB
Create a new tag
Inputs: name (required).
create_workflowB
Create a new workflow
Inputs: name (required), nodes (required), connections (required), settings, +1 more.
deactivate_workflowC
Deactivate a workflow
Inputs: id (required).
get_node_specsB
Get documentation/specs for a specific node type from n8n documentation.
Inputs: nodeName (required).
get_workflowB
Get details of a specific workflow
Inputs: id (required).
index_all_nodesA
explore the n8n node library by category (Core, App, Trigger, etc.) to find the right node for a task.
Inputs: no named parameters.
list_tagsB
List all available tags
Inputs: limit.
list_workflowsB
List all workflows on the n8n server
Inputs: active, tags.
search_templatesA
Search for n8n workflow templates to find examples of how to use nodes.
Inputs: search (required), category.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
Each tool targets a distinct operation: workflow CRUD and activation, tag management, node specs, and template search. No overlapping purposes.
All tools follow a consistent verb_noun snake_case pattern (e.g., activate_workflow, list_tags), making the set predictable.
11 tools cover the main aspects of n8n (workflows, tags, nodes, templates) without being excessive or sparse.
Missing update/delete for workflows and tags, and no tool to remove tags from a workflow. These gaps could hinder some automation tasks.
Maintenance
Related MCP Connectors
Create, test, publish, and manage Dreamlit notification workflows from AI clients.
Build, test and publish agentic workflows from your AI client: approve steps, read tables, see runs.
AI automation platform (n8n/Zapier alternative): build, schedule and run workflows from your agent.
Discover, run, inspect, build, test, and privately reuse AI workflows.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to create, retrieve, update, and manage n8n workflows through the n8n API. Supports full workflow lifecycle management including activation, deactivation, and deletion operations.3933 npmMIT
- AlicenseNot gradedqualityFmaintenanceEnables AI models to manage n8n workflow automation through a standardized interface. Supports creating, reading, updating, and deleting workflows with comprehensive access to workflow nodes, connections, and configurations.68 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to manage n8n workflow automation instances through tools for workflow CRUD operations, execution monitoring, and webhook triggering. It facilitates programmatic interaction with n8n instances via the n8n API with AI-optimized descriptions and error handling.63MIT
- AlicenseNot gradedqualityDmaintenanceEnables management of n8n workflows directly within LLMs through the Model Context Protocol, including listing, executing, and monitoring workflows.70 npm18ISC