n8n-mcp-mini
Provides tools for managing n8n workflows, executions, credentials, and webhooks via n8n's REST API, as well as searching and validating n8n node schemas.
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-mini Search for the Slack node and show its required fields"
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-mini
An MCP server for working with n8n — modeled directly on czlonkowski/n8n-mcp. Two halves:
Node knowledge, always available: search and validate against 538 real n8n node schemas (all of
n8n-nodes-basethat could be extracted, plus the AI/LangChain node package), backed by SQLite + FTS5 — not a hand-picked sample, not hand-typed guesses.Live n8n management, once you point it at a real instance: create, read, update, delete, and activate workflows; list/inspect executions; manage credentials; trigger a workflow via its webhook — all through n8n's actual public REST API.
How this compares to the real n8n-mcp
n8n-mcp (real) | n8n-mcp-mini (this) | |
Node coverage | ~1,650 nodes (820 core + 830 community) | 538 nodes — 432/438 core + 106/122 AI/langchain (see EXTRACTION.md for the handful that failed to extract) |
Community node packages (830 third-party npm packages) | Included | Not included — no single source to bulk-fetch/vet 830 separately-published packages |
Storage | SQLite + FTS5 | SQLite + FTS5 (same approach, smaller scale) |
Template library (2,352 workflows) | Included, scraped/maintained over time | Not included — no documented public API to pull this from; didn't want to ship unverified guesses |
search_nodes / get_node / validate_node / validate_workflow | Yes | Yes |
Live n8n instance management (create/update/delete workflows, executions, credentials) | Yes, 13 tools | Yes, 18 tools — same underlying REST API |
n8n_update_partial_workflow (diff-based) / n8n_autofix_workflow | Yes | Not included — only full-replace update ( |
Hosted option | dashboard.n8n-mcp.com | N/A — local only |
The two gaps that matter most — community nodes and the template library — are gaps in available data, not effort: neither is something this environment could fetch, verify, or safely fabricate. Everything else here is a real, working reimplementation of the same architecture, tested end to end.
Related MCP server: n8n MCP Server
Install
cd n8n-mcp-mini
npm installRequires Node.js 18+. better-sqlite3 downloads a prebuilt binary for your
platform automatically on most systems. If npm install fails while
building it, you likely need a C++ toolchain + Python (see
better-sqlite3's install notes) —
or just retry npm install, since the prebuilt-binary download occasionally
fails transiently.
Run it standalone
npm startConnect a real n8n instance (optional, enables the n8n_* tools)
In n8n: Settings → n8n API → Create an API key.
Set two environment variables when launching this server:
N8N_API_URL— e.g.https://your-instance.example.com/api/v1(include the/api/v1)N8N_API_KEY— the key you created
Without these, the node-knowledge tools work as normal and the n8n_*
tools return a clear "not configured" error instead of failing mysteriously.
Register with Claude Desktop / Claude Code
{
"mcpServers": {
"n8n-mini": {
"command": "node",
"args": ["/absolute/path/to/n8n-mcp-mini/src/index.js"],
"env": {
"N8N_API_URL": "https://your-instance.example.com/api/v1",
"N8N_API_KEY": "your-api-key"
}
}
}
}(Omit env entirely to run node-knowledge-only, no live instance.)
claude mcp add n8n-mini -- node /absolute/path/to/n8n-mcp-mini/src/index.jsTools
Node knowledge (no setup required)
Tool | What it does |
| Usage guide — call this first if unsure where to start |
| Full-text search (SQLite FTS5, BM25-ranked) across all 538 nodes |
| List categories with counts (real n8n categorization, not invented) |
| Node counts by source package ( |
| Get a node's schema — |
| Check |
| Full workflow validation: unknown types, required fields, connections, expressions |
| Just the structural checks (names, references, cycles, unreached nodes) |
| Scan for unbalanced/empty |
Live n8n management (needs N8N_API_URL + N8N_API_KEY)
Tool | What it does |
| Verify connectivity + auth |
| Browse/inspect workflows |
| Manage workflows |
| Publish/unpublish |
| Fetch a live workflow by id and run local validation against it |
| Execution history |
| Credential management (secrets are never returned by n8n's API, by design) |
| Call a workflow's Webhook/Form trigger URL directly — n8n's public API has no "run this now" endpoint, so this is the real mechanism |
A real gotcha this catches
n8n's Slack node requires channelId and other fields only once you've
picked a resource/operation/select combination — supplying
{ resource: "message", operation: "post", text: "hi" } alone looks
plausible but fails at runtime because select (which channel-lookup mode
to use) was never set. validate_node catches this before you ever open
n8n, by evaluating each property's displayOptions.show/hide rules
against your config — the same mechanism n8n's own UI uses to decide which
fields to show.
Workflow JSON shape
Validated against n8n's real JSON format — the same shape n8n's own API
and UI use, so a validated workflow can go straight to n8n_create_workflow
or be pasted into n8n's canvas:
{
"name": "Notify on new signup",
"nodes": [
{ "name": "Start", "type": "n8n-nodes-base.manualTrigger", "parameters": {} },
{ "name": "Fetch", "type": "n8n-nodes-base.httpRequest", "parameters": { "url": "https://api.example.com/signups/latest" } },
{ "name": "Notify", "type": "n8n-nodes-base.slack", "parameters": { "resource": "message", "operation": "post", "select": "channel", "channelId": "C0123", "text": "New signup!" } }
],
"connections": {
"Start": { "main": [[{ "node": "Fetch", "type": "main", "index": 0 }]] },
"Fetch": { "main": [[{ "node": "Notify", "type": "main", "index": 0 }]] }
},
"settings": {}
}Connections are keyed by node name (not id), and settings is required
by n8n's API on create/update (the client auto-fills {} if you omit it).
n8n's real REST API, verified not guessed
src/n8nClient.js was written directly against n8n's published OpenAPI spec
(n8n-io/n8n:packages/cli/src/public-api/v1/openapi.yml) — base path
/api/v1, auth header X-N8N-API-KEY, exact request/response shapes per
endpoint. It's tested against a local mock server that reproduces that same
shape (test/mock_n8n_server.js), since no real n8n instance is available
in this environment. One notable finding baked into the design: n8n's
public API has no endpoint to execute a workflow on demand — the
documented way is calling the workflow's own Webhook/Form trigger URL,
which is what n8n_trigger_webhook does.
Data provenance
Node schemas are extracted directly from the real n8n-nodes-base@2.15.1
and @n8n/n8n-nodes-langchain@2.34.2 npm packages — not hand-typed guesses,
and merged with n8n's own per-node categorization metadata (.node.json
sidecar files: real categories, search aliases, docs URLs). See
EXTRACTION.md for the full method, the handful of nodes
that failed to extract and why, licensing notes, and exactly what's
excluded (community nodes, template library) and why.
Tests
npm test
# or individually:
node test/unit.test.js # store + validation logic, direct (11 tests)
node test/n8nClient.test.js # REST client against a local mock n8n server (14 tests)
node test/mcp.smoke.js # spawns the real server, drives all 27 tools over MCP/stdioAvailable Tools
27 toolsget_nodeGet n8n node schemaA
Get the schema for one node type: short name ('slack') or full type ('n8n-nodes-base.slack' / '@n8n/n8n-nodes-langchain.agent'). detail='minimal' (summary), 'standard' (default — cleaned-up properties), or 'full' (every raw property field). Use propertyQuery to search within one node's properties instead.
Inputs: nodeType (required), detail, propertyQuery.
list_categoriesList node categoriesA
List every category in the node database, with counts.
Inputs: no named parameters.
list_packagesList node source packagesA
List the source npm packages the node database was built from (n8n-nodes-base, @n8n/n8n-nodes-langchain), with node counts.
Inputs: no named parameters.
n8n_activate_workflowActivate a workflowA
Activate (publish) a workflow so its triggers start listening.
Inputs: id (required).
n8n_create_credentialCreate a credential on a live n8n instanceA
Create a new credential. Check n8n_get_credential_schema first to know the required data fields for the credential type.
Inputs: data (required), name (required), type (required).
n8n_create_workflowCreate a workflow on a live n8n instanceA
Create a new workflow on your connected n8n instance. Consider running validate_workflow first.
Inputs: workflow (required).
n8n_deactivate_workflowDeactivate a workflowC
Deactivate a workflow.
Inputs: id (required).
n8n_delete_credentialDelete a credential from a live n8n instanceC
Permanently delete a credential.
Inputs: id (required).
n8n_delete_executionDelete an execution from a live n8n instanceC
Delete an execution record.
Inputs: id (required).
n8n_delete_workflowDelete a workflow on a live n8n instanceB
Permanently delete a workflow from your connected n8n instance.
Inputs: id (required).
n8n_get_credentialGet a credential's metadataA
Fetch one credential's metadata by id (secrets are never returned).
Inputs: id (required).
n8n_get_credential_schemaGet a credential type's data schemaA
Get the JSON schema (which fields are needed) for a credential type, e.g. 'slackOAuth2Api'. Use this before n8n_create_credential to know what data to send.
Inputs: credentialTypeName (required).
n8n_get_executionGet an execution from a live n8n instanceC
Fetch one execution's details by id.
Inputs: id (required), includeData.
n8n_get_workflowGet a workflow from a live n8n instanceA
Fetch one workflow (full definition) by id from your connected n8n instance.
Inputs: id (required), excludePinnedData.
n8n_health_checkCheck n8n instance connectivityA
Verify N8N_API_URL/N8N_API_KEY are set and the instance is reachable and authenticated.
Inputs: no named parameters.
n8n_list_credentialsList credentials on a live n8n instanceA
List credentials (metadata only — secrets are never returned by n8n's API).
Inputs: limit, cursor.
n8n_list_executionsList executions on a live n8n instanceC
List recent workflow executions.
Inputs: limit, cursor, status, projectId, +1 more.
n8n_list_workflowsList workflows on a live n8n instanceC
List workflows from your connected n8n instance.
Inputs: name, tags, limit, active, +2 more.
n8n_trigger_webhookTrigger a workflow via its webhookA
n8n's public API has no 'run workflow now' endpoint — the real way to trigger a workflow over HTTP is calling its own Webhook/Form trigger URL directly. Provide the webhook's path (the part after /webhook/ or /webhook-test/ in the node's Production/Test URL).
Inputs: webhookPath (required), body, test, method.
n8n_update_workflowUpdate a workflow on a live n8n instance (full replace)A
Replace a workflow's definition entirely (n8n's public API only supports full-workflow PUT, not partial/diff updates). Fetch it first with n8n_get_workflow, edit, then send the whole thing back.
Inputs: id (required), workflow (required).
n8n_validate_workflowValidate a live workflow by idA
Fetch a workflow from your connected n8n instance by id and run full local validation against it (same checks as validate_workflow).
Inputs: id (required).
search_nodesSearch n8n nodesA
Full-text search (SQLite FTS5) across all 538 node types (core + AI/langchain): name, description, keywords. Leave query empty to browse by category/package.
Inputs: limit, query, category, packageName.
tools_documentationHow to use this serverA
Usage guide: recommended workflow for looking up nodes, validating configs, and (if configured) managing a live n8n instance. Call this first if unsure where to start.
Inputs: no named parameters.
validate_nodeValidate a node configurationA
Check a node's parameters against its schema. mode='minimal' (default) checks required fields given the current resource/operation selection (respects displayOptions.show/hide — the same mechanism n8n's UI uses to decide which fields apply). mode='full' also flags unknown parameters and type mismatches as warnings.
Inputs: config (required), nodeType (required), mode.
validate_workflowValidate a full workflowA
Full validation of an n8n-format workflow: unknown node types, per-node required fields, connection structure (unique names, valid references, cycles, unreached nodes, missing trigger), and expression brace-balance checks.
Inputs: workflow (required).
validate_workflow_connectionsValidate workflow connection structureA
Just the structural checks: unique node names, valid connection references, cycles, unreached nodes, missing trigger node.
Inputs: workflow (required).
validate_workflow_expressionsValidate workflow expressionsA
Scan all node parameters for '{{ }}' expressions and flag unbalanced braces or empty expressions.
Inputs: workflow (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
The management tools (n8n_*) are distinct, but there is notable overlap among the validation tools: validate_workflow, validate_workflow_connections, validate_workflow_expressions, and n8n_validate_workflow all serve similar purposes with subtle differences. The distinction between n8n_validate_workflow (fetches by ID) and validate_workflow (takes a definition) could confuse an agent.
The n8n_ prefix is applied to management tools but not to exploration/validation tools (e.g., search_nodes, validate_workflow), creating a mix. Also, n8n_validate_workflow and validate_workflow break the pattern by having the same base name with one prefixed, making the naming scheme unpredictable.
At 27 tools, this exceeds the 'too many' threshold of 25. The count is partially justified by covering both live instance management and a large node schema database, but many validation variants (4+ tools) bloat the surface and could be consolidated.
The server covers the full lifecycle for workflows (create, read, update, delete, activate) and credentials (except update), plus executions and extensive node validation. Minor gaps like missing credential update and execution retry are workarounds, but overall the domain is well-covered.
Maintenance
Related MCP Connectors
Build, check and fix n8n workflows from Claude, Cursor or ChatGPT. Built on 1,100+ real n8n node definitions and curated templates, with a validator that repairs common mistakes (wrong node types, missing settings) and returns JSON ready to import into n8n. Sign in with a free gydmation.com account; nothing to install.
n8n MCP — query your own n8n instance (BYO).
Static n8n workflow validator: workflow errors and repair suggestions. No execution.
Security scanner for n8n workflows + live MCP Trust-Check. 18 rules, OWASP mapped. Paid x402 API.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with comprehensive access to n8n node documentation, properties, and workflow templates. It enables models to search, understand, and manage n8n automation workflows through structured access to over 1,000 node types.MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to search, validate, and manage n8n workflows, providing structured access to over 1,800 node documentations and templates.26MIT
- AlicenseAqualityBmaintenanceProvides AI assistants with comprehensive access to n8n node documentation, properties, operations, templates, and workflow validation for building and managing n8n workflows.7MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to access comprehensive n8n node documentation, properties, operations, templates, and validation tools for designing, building, and checking n8n workflows through natural language.7MIT