n8n MCP Community
The n8n MCP Community server provides 44 tools to manage a self-hosted n8n Community Edition instance via the n8n Public API, with progressive safety modes (read-only by default, write, and unsafe) and confirmation phrases required for destructive operations.
Workflow Management
List, get, create, update, delete, activate, deactivate, archive, and unarchive workflows
Surgically update individual nodes without affecting the rest of the workflow
Retrieve historical versions, compare workflow versions (diff), and manage workflow tags
Search workflows by name, node type, or tag
Execution Management
List, get, delete, retry, and stop executions (no raw payload data returned)
Credential Management
List, get, create, update, delete, and test credentials (raw secret values never returned)
Get credential schemas and find credential usage across workflows
Tag Management
List, get, create, update, and delete workflow tags
User Management
List, get, invite (member or admin), and delete users
Diagnostics & Instance Metadata
Health check, insights summary, security audit generation, workflow introspection (local 23-rule engine, no external calls), list observed node types, offline documentation for core nodes (webhook, code, http-request, if), and list installed community packages
Resources & Prompts
5 static resources: usage guide and offline docs for core nodes
4 built-in prompts:
create-workflow,debug-workflow,optimize-workflow, andmanage-credentials
Safety Highlights
Defaults to read-only mode; write and unsafe modes must be explicitly configured
Every destructive operation requires an exact per-call confirmation phrase
All output is bounded, sanitized, and wrapped with
untrusted: trueOperates over local stdio — no inbound HTTP listener exposed
Provides tools for managing n8n Community Edition workflows, nodes, executions, credentials, tags, users, and instance diagnostics through the n8n Public API.
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 Communitylist 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 Community
A security-focused Model Context Protocol server for self-hosted n8n Community Edition
Give your AI client 44 tools for self-hosted n8n Community Edition. Manage workflows, nodes, runs, credentials, tags, users, and diagnostics. No paid n8n features. The server makes no external AI calls.
Install
You need Node.js 22 or 24, your n8n URL, and an n8n API key.
Install
npm install --global n8n-mcp-community@latest--global installs the command once. Use npx below if you do not want a
global install.
Connect
{
"mcpServers": {
"n8n-community": {
"command": "n8n-mcp-community",
"env": {
"N8N_API_URL": "https://n8n.example.com",
"N8N_API_KEY": "replace-with-a-dedicated-api-key",
"N8N_MCP_MODE": "read-only"
}
}
}
}Restart your client. You should see 44 tools, 5 resources, and 4 prompts.
If the client cannot find the command, run command -v n8n-mcp-community on
macOS/Linux or where n8n-mcp-community on Windows. Put that full path in
"command".
Want no global install? Copy this command into the client configuration shown in the full guide:
npx --yes n8n-mcp-community@latestWant the Claude Desktop app flow? Use the MCPB below. See the full installation guide for updates, rollback, and checks.
Claude Desktop: install the MCPB (no Node.js needed)
Open the latest GitHub release.
Download the file that ends in
.mcpb.In Claude Desktop, open Settings → Extensions → Advanced settings → Install Extension….
Pick the file. Enter your n8n URL, API key, and mode.
Anthropic's MCPB guide explains the same steps. Our installation guide explains how to check the download.
Install public builds only from npm or the latest GitHub release.

Related MCP server: n8n-MCP
Why this project
Community Edition first. The release surface is designed for self-hosted n8n Community Edition, without presenting paid-only capabilities as available.
44 useful tools, one explicit contract. Every tool has bounded inputs, documented side effects, MCP safety annotations, and contract tests.
Safe by default. Read-only mode is the default. You choose when to allow writes or the full tool set.
Deterministic Introspect.
n8n_introspectruns a local 23-rule engine; it does not execute workflows, call an agent, or contact an external model.Surgical node updates.
n8n_update_nodechanges one validated node path while preserving the rest of the workflow and disclosing the Public API's non-atomic limitation.Truthful discovery.
n8n_list_node_typesreports only types observed in accessible workflows. It does not claim to be a complete installed catalog.Data minimization. Credential values, raw execution values, pin data, and static workflow data are not returned by the generic public tools.
Current verification
The current source candidate has been verified with:
exactly 44 tools, 5 resources, and 4 prompts over real stdio;
297 passing tests locally on Node.js 24.18.1; CI and release gates require the pinned Node.js 22.23.1 and 24.18.0 matrix;
zero findings from Gitleaks, Semgrep, Trivy, and both project-root production/full
npm auditruns; all three source scanners are reproduced in CI, with immutable scanner/action identities;a separate no-override consumer install that resolves the patched
@hono/node-server2.x line, requires a zero-finding production audit, and proves the stdio runtime and exact 44/5/4 inventory;a reproducible dependency-license gate covering 224 installed package paths;
bounded same-origin HTTP contracts and zero-request policy-denial tests;
all 44 compiled tool lifecycles on disposable n8n Community 2.30.5 and 2.30.7 instances with egress isolation, revoked keys, cleanup, and zero residue; and
a reviewed offline npm-tarball installation under the project's committed dependency policy, plus a byte-reproducible unsigned MCPB with the same compiled runtime and complete production dependency notices.
Publication proceeds only through the reviewed release procedure: the repository-pinned MCPB signing identity, a human artifact-baseline receipt, tag-scoped protected-environment approval, and an externally signed MCPB handoff verified byte for byte against the reviewed unsigned candidate.
Safety modes
Mode | What it allows | Required configuration |
Read-only | Read-only tools only | Default, or |
Write | Read-only and ordinary mutation tools |
|
Unsafe | All tools, including destructive or external-contact operations |
|
Selecting unsafe mode is the complete server-side authorization gate for unsafe tools. MCP safety annotations remain accurate so compatible clients can apply their native approval UX, and the n8n API key remains the final upstream permission boundary.
Plain HTTP is accepted automatically only for loopback URLs. A non-loopback
HTTP instance additionally requires N8N_ALLOW_INSECURE_HTTP=1, which accepts
the risk of exposing the API key and data in transit.
Tool catalog
Every entry links to its complete input, output, endpoint, compatibility, failure, and security reference.
Workflows
Tool | Mode | Purpose |
Read-only | List accessible workflows with bounded filters and pagination. | |
Read-only | Read one workflow while withholding pin and static data values. | |
Write | Create a validated workflow through the Public API. | |
Write | Guard and update selected fields while preserving omitted fields. | |
Write | Change one validated node property with non-atomic concurrency guards. | |
Unsafe | Permanently delete one workflow. | |
Unsafe | Activate one workflow. | |
Unsafe | Deactivate one workflow. | |
Read-only | Retrieve one retained historical workflow version. | |
Read-only | List tags assigned to a workflow. | |
Write | Replace a workflow's complete tag assignment. | |
Unsafe | Archive one workflow. | |
Unsafe | Restore one archived workflow. | |
Read-only | Compare nodes and connections without returning raw values. |
Executions
Tool | Mode | Purpose |
Read-only | List execution metadata with value-free data-presence summaries. | |
Read-only | Read one execution's metadata without returning workflow payloads. | |
Unsafe | Permanently delete a saved execution. | |
Unsafe | Retry an eligible saved execution. | |
Unsafe | Stop one stoppable execution and bind identity from validated input. |
Credentials
Tool | Mode | Purpose |
Write | Create a credential without returning its values. | |
Unsafe | Permanently delete one credential. | |
Read-only | Read the public schema for a credential type. | |
Read-only | List credential metadata verified on n8n 2.30.5 and 2.30.7. | |
Read-only | Read one credential's public metadata. | |
Write | Update credential metadata or values without echoing secrets. | |
Unsafe | Test a stored credential, potentially contacting its external service. | |
Read-only | Find exact credential-ID references in one bounded workflow page. |
Tags
Tool | Mode | Purpose |
Read-only | List workflow tags. | |
Read-only | Read one tag. | |
Write | Create a tag with the live 1–24 character bound. | |
Write | Rename a tag with the live 1–24 character bound. | |
Unsafe | Permanently delete one tag. |
Users
Tool | Mode | Purpose |
Read-only | List users visible to the API key. | |
Read-only | Read one user by stable ID or exact email. | |
Unsafe | Invite a member or admin. | |
Unsafe | Delete one API-eligible user without unsupported transfer claims. |
Diagnostics and instance metadata
Tool | Mode | Purpose |
Read-only | Perform a bounded same-origin health check. | |
Read-only | Read the official insights summary with optional date filters. | |
Unsafe | Generate n8n's instance security audit. | |
Read-only | Search one workflow page locally by name, node type, or tag. | |
Read-only | Read one of four immutable offline core-node references. | |
Read-only | Inventory node types observed in bounded accessible workflow pages. | |
Read-only | Run deterministic local workflow and execution diagnostics. | |
Read-only | List installed community-package metadata without mutation paths. |
Resources and prompts
The server also exposes five static resources:
n8n://usage-guiden8n://node-docs/webhookn8n://node-docs/coden8n://node-docs/http-requestn8n://node-docs/if
Four prompts guide safe workflow creation, debugging, optimization, and
credential management: create-workflow, debug-workflow,
optimize-workflow, and manage-credentials.
Security model in one minute
The server uses local stdio; it does not expose an inbound HTTP listener.
Connected requests are same-origin and limited to the configured n8n host.
Redirects are rejected; request and response bodies are bounded to 2 MiB.
Generic output is validated, sanitized, bounded to 256 KiB, and wrapped as
{ "data": ..., "redacted": boolean, "untrusted": true }.Raw credential values and generic execution payload values are never returned.
n8n_introspectuses fixed local rules and has no external-model code path.Security controls reduce risk; they do not make untrusted n8n content safe to execute or authorize broader API-key permissions.
Read the complete security model and use SECURITY.md to report a vulnerability privately.
Documentation
Development
npm ci
npm run verify:contributor
npm run sbom > sbom.cdx.jsonnpm run verify:contributor runs the complete keyless contributor gate,
including formatting, dependency licenses/notices, strict TypeScript, all
tests, the compiled runtime, and documentation inventory parity.
See CONTRIBUTING.md before opening a change.
Scope and non-affiliation
This project is not affiliated with, endorsed by, or sponsored by n8n GmbH.
“n8n” is used only to identify compatibility with the n8n product and Public
API. The project does not redistribute the n8n-nodes-base catalog and does not
use browser cookies, interactive session routes, or runtime package downloads to
construct one.
The v0.2.1 candidate surface intentionally excludes arbitrary workflow execution, credential/workflow transfer, folders, data tables, beta evaluation endpoints, and execution annotations. See the roadmap for the annotation proposal retained outside the release target.
License and maintainer
The project is released under the MIT License. Third-party dependencies retain their own licenses.
Created and maintained by Dr. Walter Zamarian Jr..
Maintenance
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server enabling secure interaction with n8n workflows, executions, and settings via the Model Context Protocol, designed for integration with Large Language Models (LLMs).3350119MIT
- AlicenseAqualityAmaintenanceA Model Context Protocol server that provides AI assistants with comprehensive access to n8n node documentation, properties, and operations for effective workflow automation.25160,28422,647MIT
- AlicenseBqualityCmaintenanceSafe MCP server and CLI tool for testing, scoring, and inspecting n8n workflows. Features 19 tools for workflow testing, execution traces, tiered scoring, and a built-in node catalog with 800+ node types. Designed with safety-first approach: no credential management, no secrets lifecycle, no auto-fix loops.191MIT
- AlicenseBqualityDmaintenanceA comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and double-validated workflow creation.431MIT
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Security-first WordPress MCP server. 129 tools for Claude, ChatGPT, Gemini. Free on wp.org.
A paid remote MCP for CLI tool MCP, built to return verdicts, receipts, usage logs, and audit-ready
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/drzamarian/n8n-mcp-community'
If you have feedback or need assistance with the MCP directory API, please join our Discord server