
n8n MCP Community
io.github.drzamarian由 GitHub 帳號 drzamarian 發布v0.3.1更新於 Oct 24, 2026
A security-focused MCP server for self-hosted n8n Community Edition.
概覽
針對自架 n8n 社群版的安全導向 MCP 伺服器,讓 AI 助理管理工作流程、執行紀錄、憑證、標籤、使用者與診斷資訊。
- 可以做什麼
- 列出、讀取、建立、更新、比對、封存、啟用與刪除工作流程,並可修改單一節點
- 列出並檢視執行紀錄,以及重試、停止或刪除執行
- 建立、讀取、更新、測試與刪除憑證,並找出憑證被引用的位置
- 管理標籤與使用者,包括邀請成員或管理員
- 執行健康檢查、洞察摘要、安全稽核、工作流程搜尋、節點類型清點與離線節點文件查詢
- 適用情境
- 適合自架 n8n 社群版實例、希望助理透過 Public API 檢視、建立或除錯工作流程並管理實例物件,且預設以唯讀方式運作的情況。
- 執行需求
- 透過 npm 以 stdio 在本機執行(需 Node.js 22 或 24),或安裝為 Claude Desktop 的 MCPB 擴充功能。需要以 N8N_API_URL 提供 n8n 基礎網址、以 N8N_API_KEY 提供專用的 n8n Public API 金鑰,並以 N8N_MCP_MODE 選擇唯讀、寫入或不受限模式。需要能連線至 n8n 主機的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 n8n MCP Community,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
n8n MCP Community
[n8n-mcp-community MCP server]
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 with npm] [Download MCPB] [Read the docs]
Install
You need Node.js 22 or 24, your n8n URL, and an n8n API key.
Install
--global installs the command once. Use npx below if you do not want a
global install.
Connect
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:
Want 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.
[Animated demo showing installation, connection, and a useful local Introspect finding]
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.
See verification evidence
Current verification
The current source candidate has been verified with:
- exactly 44 tools, 5 resources, and 4 prompts over real stdio;
- 320 passing tests locally on Node.js 24.21.0; 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 187 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
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
Executions
Credentials
Tags
Users
Diagnostics and instance metadata
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
- Documentation map
- Getting started
- Installation and upgrades
- Configuration
- Complete tool reference
- Tested examples
- FAQ
- Client configuration
- Architecture
- Security model
- Compatibility
- Troubleshooting
- Provenance
- Roadmap
- Changelog
Development
npm 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.3.x 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..
來源:README.md,提交 fd2185e
工具
0版本歷史
2- v0.3.1最新Oct 4, 2026
- v0.3.0Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分