mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-04-04 00:23:08 +00:00
fix: use stdio-wrapper as bin entry and preserve credentials on workflow update (v2.45.1) (#695)
Switch the npm bin entry from index.js to stdio-wrapper.js to prevent INFO-level logs from corrupting the JSON-RPC stdio transport. Also update both publish scripts so the fix persists across releases. Fixes #693. Preserve node credentials during full workflow updates. AI-generated node updates typically omit credential references, causing the n8n API to reject the PUT. The update handler now merges credentials from the current server-side workflow when user-provided nodes lack them. Fixes #689. Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
8888c63e7a
commit
ca20586eda
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "n8n-mcp",
|
||||
"version": "2.45.0",
|
||||
"version": "2.45.1",
|
||||
"description": "Integration between n8n workflow automation and Model Context Protocol (MCP)",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
@@ -12,7 +12,7 @@
|
||||
}
|
||||
},
|
||||
"bin": {
|
||||
"n8n-mcp": "./dist/mcp/index.js"
|
||||
"n8n-mcp": "./dist/mcp/stdio-wrapper.js"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.build.json",
|
||||
|
||||
Reference in New Issue
Block a user