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 "Install 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 Serverlist 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
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.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sAndreotti/n8n-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server