n8n-free-mcp
Manages n8n workflows, executions, and tags via the n8n API, allowing listing, creating, updating, activating/deactivating workflows, and debugging executions.
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-free-mcp list my n8n 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-free-mcp
Free & open-source MCP server for n8n. Manage your workflows, debug executions and control your self-hosted n8n instance directly from Claude Code, Claude Desktop, Cursor, or any Model Context Protocol client.
ð 100% free, MIT licensed â no paywalls, no telemetry
ð Built for self-hosted / homelab n8n instances (works with n8n Cloud too)
ð Uses n8n's official public API (
/api/v1) with your own API keyðŠķ Tiny: one file, two dependencies (
@modelcontextprotocol/sdk+zod)ð§ Context-friendly: list tools return compact summaries instead of dumping full workflow JSON
Tools
Tool | Description |
| List workflows (id, name, active, tags, node count) with filters + pagination |
| Full workflow JSON: nodes, connections, settings |
| Create a new workflow from n8n-format JSON |
| Replace a workflow (read-only fields stripped automatically) |
| Toggle a workflow's triggers |
| Delete a workflow (irreversible â ïļ) |
| List executions, filter by status ( |
| Execution detail â with |
| Delete an execution record |
| List instance tags |
| Verify the instance is reachable and the API key works |
Related MCP server: n8n-manager-mcp
Setup
1. Get an n8n API key
In your n8n instance: Settings â n8n API â Create an API key.
2. Install
git clone https://github.com/jserna0001/n8n-free-mcp.git
cd n8n-free-mcp
npm install
npm run build3. Configure your MCP client
Claude Code:
claude mcp add --scope user n8n \
--env N8N_API_URL=https://your-n8n-instance.com \
--env N8N_API_KEY=your-api-key \
-- node /path/to/n8n-free-mcp/dist/index.jsClaude Desktop / Cursor / other clients (claude_desktop_config.json, mcp.json, etc.):
{
"mcpServers": {
"n8n": {
"command": "node",
"args": ["/path/to/n8n-free-mcp/dist/index.js"],
"env": {
"N8N_API_URL": "https://your-n8n-instance.com",
"N8N_API_KEY": "your-api-key"
}
}
}
}Alternative: .env file. Instead of passing env vars from the client, copy .env.example to .env in the project root and fill it in. Environment variables from the client take precedence.
4. Try it
Ask your assistant things like:
"List my n8n workflows"
"Show me the failed executions of the last runs and diagnose the error"
"Deactivate the workflow called X"
"Duplicate this workflow but change the webhook path"
Notes
The n8n public API does not expose credential values (by design). Credential management tools are intentionally out of scope.
update_workflowperforms a full replace (PUT), as required by the n8n API â fetch withget_workflow, modify, then update.n8n API keys are JWTs with an expiration date. If you start getting 401s, generate a new key.
Contributing
Issues and PRs welcome. Ideas on the roadmap:
Trigger workflows via webhook test URLs
Variables & projects endpoints
npm package (
npx n8n-free-mcp)Docker image
License
MIT ÂĐ Justine Serna
Available Tools
12 toolsactivate_workflowActivate workflowA
Activate a workflow (starts running on its triggers).
Inputs: id (required).
check_connectionCheck connectionA
Verify that the n8n instance responds and the API key is valid.
Inputs: no named parameters.
create_workflowCreate workflowA
Create a new workflow (created inactive; use activate_workflow to enable it). 'nodes' and 'connections' are JSON in n8n's standard export format.
Inputs: name (required), nodes (required), connections (required), settings.
deactivate_workflowDeactivate workflowA
Deactivate a workflow (stops responding to its triggers).
Inputs: id (required).
delete_executionDelete executionA
Delete an execution record. â ïļ Irreversible.
Inputs: id (required).
delete_workflowDelete workflowA
Permanently delete a workflow. â ïļ Irreversible â confirm with the user before using.
Inputs: id (required).
get_executionGet executionA
Get the details of an execution. With includeData=true it returns per-node data (can be very large) â ideal for diagnosing errors.
Inputs: id (required), includeData.
get_workflowGet workflowA
Get a full workflow by ID, including nodes, connections and settings.
Inputs: id (required), excludePinnedData.
list_executionsList executionsA
List workflow executions. Useful for debugging: filter by status ('error', 'success', 'waiting') or by workflowId.
Inputs: limit, cursor, status, workflowId.
list_tagsList tagsB
List the tags available on the n8n instance.
Inputs: limit, cursor.
list_workflowsList workflowsA
List workflows on the n8n instance. Returns id, name, active state, tags and dates. Supports cursor pagination.
Inputs: name, tags, limit, active, +2 more.
update_workflowUpdate workflowA
Replace an existing workflow (PUT). Pass the full workflow JSON (typically the result of get_workflow with modifications); read-only fields (id, active, tags, dates) are stripped automatically.
Inputs: id (required), workflow (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogâĶ
TDQS
Scored across 12 tools
Each tool targets a distinct operation: activation, CRUD for workflows, execution management, tag listing, and connection check. No ambiguity between tools with similar verbs (e.g., activate vs. create vs. update) due to clear resource differentiation.
All tool names follow a consistent verb_noun convention in snake_case (e.g., activate_workflow, list_executions, check_connection), making the toolset predictable and easy to navigate for an agent.
With 12 tools covering workflow CRUD, activation, execution management, tags, and connection verification, the count is well-scoped for the n8n domain. Neither too few nor excessive.
The toolset provides comprehensive lifecycle coverage for workflows and executions. A minor gap is the absence of a manual trigger/run tool, but the core operations are fully covered.
Maintenance
Related MCP Connectors
Open-source Zapier/n8n alternative as an MCP server: agents build, run and debug your workflows.
n8n MCP â query your own n8n instance (BYO).
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceðŠ MCP server for programmatic creation and management of n8n workflows. Enables AI assistants to build, modify, and manage workflows without direct user intervention through a comprehensive set of tools and resources for interacting with n8n's REST API.1086MIT
- AlicenseBqualityBmaintenanceMCP server for managing n8n workflows through AI assistants. Supports workflow CRUD operations, synchronization, inspection, and execution support for automation-focused workflows.19155 npm2MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for n8n workflow automation, enabling management of workflows, executions, credentials, tags, users, and webhooks via an MCP-compatible client.MIT
- FlicenseBqualityDmaintenanceA full-power MCP server for n8n that enables AI agents to create, read, update, delete, and test workflows and credentials, including webhook testing, validation, and backup/versioning.319-