
n8n MCP Server
io.github.RPGMais由 GitHub 帳號 RPGMais 發布v2.0.2更新於 Oct 24, 2026
The most complete MCP server for n8n — 43 tools for workflows, data tables, and more.
概覽
本機 MCP 伺服器,將助理連接到 n8n 實例,提供 43 個工具來管理工作流程、執行紀錄、資料表、標籤、憑證、使用者等。
- 可以做什麼
- 列出、檢視、建立、更新、刪除、啟用、停用並執行工作流程,讀取或取代其標籤。列出、檢視和刪除執行紀錄。建立和查詢資料表,插入、更新、upsert 或刪除列,更新和刪除支援試執行。管理標籤、憑證(建立、刪除、查詢 schema)、使用者、變數和企業版專案。透過 webhook 網址觸發工作流程,產生安全稽核,並執行健康檢查。
- 適用情境
- 適合已執行 n8n、希望助理在對話中建立、修改、執行或清理工作流程及其執行紀錄,或操作 n8n 資料表和實例管理而不必開啟 n8n 介面的情境。
- 執行需求
- 透過 npx 在本機執行,需要 Node.js。需要可連線的 n8n 實例網址,設定於 N8N_BASE_URL(預設 n8n API 金鑰,設定於 N8N_API_KEY,可在設定的 n8n API 頁面建立。選用 N8N_MAX_RETRIES 和 N8N_TIMEOUT。資料表需 n8n v1.64 以上;列出使用者需實例擁有者角色;專案僅限企業版。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 n8n MCP Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
mcp-n8n
The most complete MCP server for n8n
43 tools · Workflows · Data Tables · Tags · Credentials · Users · Webhooks · Audit
Why mcp-n8n?
Other n8n MCPs cover workflows and executions. mcp-n8n covers everything — including Data Tables, the only MCP to do so.
Data Tables — full CRUD with filters, search, upsert and dry-run. No other MCP has this.
🚀 Quick Start
Claude Code
Cursor
Add to ~/.cursor/mcp.json:
Claude Desktop
Add to claude_desktop_config.json:
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Windsurf
Add to your Windsurf MCP config:
VS Code (Copilot)
Add to your VS Code settings.json:
Getting your API key
- Open your n8n instance
- Go to Settings → n8n API
- Create a new API key
- Copy it into the
N8N_API_KEYenvironment variable
🛠 Tools
Workflows (10)
Executions (3)
Data Tables (8)
Only available in n8n v1.64+. This is the only MCP server with Data Tables support.
Tags (5)
Credentials (4)
Users (3)
Variables (3)
Projects (4) — Enterprise
Audit (1)
System (1)
Webhooks (1)
⚙️ Configuration
✨ Features
- 43 tools — the most comprehensive n8n MCP available
- Data Tables — full CRUD, the only MCP with this support
- Automatic retry — exponential backoff on rate limits (429) and server errors (5xx)
- Configurable timeout — prevent hung requests (default 30s)
- Zero external dependencies — only MCP SDK + Zod
- TypeScript strict mode — fully typed, safe, and maintainable
- Node 16+ compatible — native fetch with http/https fallback
🔒 Security
- API keys are never hardcoded — loaded exclusively from environment variables
- Credential data is redacted in list responses (n8n API behavior)
- All IDs are sanitized with
encodeURIComponentto prevent path traversal - No sensitive data is logged or exposed in error messages
🏗 Development
Project structure
🤝 Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feat/my-feature) - Commit your changes
- Push and open a Pull Request
📄 License
MIT — free for personal and commercial use.
Built by NexTool Solutions
If this project helps you, consider giving it a ⭐
來源:README.md,提交 f443f4e
工具
0版本歷史
1- v2.0.2最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分