{"_id":"n8n-nodes-mcp-vertex-safe","_rev":"6-bb57cdf30c1eae42740b68f0a57c8f14","name":"n8n-nodes-mcp-vertex-safe","dist-tags":{"latest":"0.3.1"},"versions":{"0.1.0":{"name":"n8n-nodes-mcp-vertex-safe","version":"0.1.0","keywords":["n8n-community-node-package","mcp","vertex-ai","gemini","langchain"],"author":{"name":"YOUR_NAME"},"license":"MIT","_id":"n8n-nodes-mcp-vertex-safe@0.1.0","maintainers":[{"name":"lacanna","email":"gabriellacanna22@gmail.com"}],"homepage":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe","bugs":{"url":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe/issues"},"n8n":{"nodes":["dist/nodes/McpClientToolVertexSafe/McpClientToolVertexSafe.node.js"],"credentials":["dist/credentials/McpClientVertexSafeApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"3d55426fdad83bfc2ec737919f3b26de1cab8836","tarball":"https://registry.npmjs.org/n8n-nodes-mcp-vertex-safe/-/n8n-nodes-mcp-vertex-safe-0.1.0.tgz","fileCount":11,"integrity":"sha512-d0EALyT8etD3gNNNHNQOt19zas2FdRIUu55EJ010NJ2oBCV39L8I+2LlBWeXX85cVQ3WZpQJgmQn0g8tjeDTiA==","signatures":[{"sig":"MEUCIH3QukfEM12J2gMkPEMwTEIH7Ni1zrhJT39iXVv+40v0AiEA5kFFtyKg2cJYMS3zpJnJDOdPoAkbu5O68MDnujVbPLA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28970},"main":"index.js","gitHead":"15e2da861c1cca64e865b5b32636ed9caf293fd1","scripts":{"test":"tsx test/schemaSanitizer.test.ts","build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"lacanna","email":"gabriellacanna22@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe.git","type":"git"},"_npmVersion":"11.6.2","description":"MCP Client Tool for n8n that sanitizes tool schemas so AI Agent + Google Vertex (Gemini/Claude via Model Garden) + MCP works without 400 errors.","directories":{},"_nodeVersion":"25.0.0","dependencies":{"zod":"^3.23.8","@langchain/core":"^0.3.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.16.2","typescript":"^5.5.4","n8n-workflow":"^1.70.0"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-mcp-vertex-safe_0.1.0_1786413354478_0.2703300693538042","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"n8n-nodes-mcp-vertex-safe","version":"0.1.1","keywords":["n8n-community-node-package","mcp","vertex-ai","gemini","langchain"],"author":{"name":"YOUR_NAME"},"license":"MIT","_id":"n8n-nodes-mcp-vertex-safe@0.1.1","maintainers":[{"name":"lacanna","email":"gabriellacanna22@gmail.com"}],"homepage":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe","bugs":{"url":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe/issues"},"n8n":{"nodes":["dist/nodes/McpClientToolVertexSafe/McpClientToolVertexSafe.node.js"],"credentials":["dist/credentials/McpClientVertexSafeApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"0017acef6e512bca45486b79d97d28b16b29f865","tarball":"https://registry.npmjs.org/n8n-nodes-mcp-vertex-safe/-/n8n-nodes-mcp-vertex-safe-0.1.1.tgz","fileCount":11,"integrity":"sha512-AnO+otI8rPaNvYeBxK4fVVlpwUwqrDwxAOjKGdctttQR5VqlllSZjcHz/NmV6aRUk/dbcF0OFtxlXKjHFIdBLQ==","signatures":[{"sig":"MEUCIGxvEISobCrHTFe15/7DHH8TcMj6KuZUq0IoJ01mX61AAiEAwv6UfYQYrrbnWKWUj/wTMJa4UNbb5xnkx2xe3efRwLI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30718},"main":"index.js","gitHead":"912b879901e248786c5a9cd1b7a0429be63b4e36","scripts":{"test":"tsx test/schemaSanitizer.test.ts","build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"lacanna","email":"gabriellacanna22@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe.git","type":"git"},"_npmVersion":"11.6.2","description":"MCP Client Tool for n8n that sanitizes tool schemas so AI Agent + Google Vertex (Gemini/Claude via Model Garden) + MCP works without 400 errors.","directories":{},"_nodeVersion":"25.0.0","dependencies":{"zod":"^3.23.8","@langchain/core":"^0.3.0","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.16.2","typescript":"^5.5.4","n8n-workflow":"^1.70.0"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-mcp-vertex-safe_0.1.1_1786414451962_0.34918832632981056","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"n8n-nodes-mcp-vertex-safe","version":"0.2.0","keywords":["n8n-community-node-package","mcp","vertex-ai","gemini","claude","anthropic","langchain"],"author":{"name":"YOUR_NAME"},"license":"MIT","_id":"n8n-nodes-mcp-vertex-safe@0.2.0","maintainers":[{"name":"lacanna","email":"gabriellacanna22@gmail.com"}],"homepage":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe","bugs":{"url":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe/issues"},"n8n":{"nodes":["dist/nodes/McpClientToolVertexSafe/McpClientToolVertexSafe.node.js","dist/nodes/LmChatAnthropicVertex/LmChatAnthropicVertex.node.js"],"credentials":["dist/credentials/McpClientVertexSafeApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"652231615547c6a711d58b3d8bdbde4841d91995","tarball":"https://registry.npmjs.org/n8n-nodes-mcp-vertex-safe/-/n8n-nodes-mcp-vertex-safe-0.2.0.tgz","fileCount":13,"integrity":"sha512-0qsURLTWh/vy/3wdVObND08IhvbNw7fY5oyFStPUtGlH4nVy91zoXUqPEPcmV8dc7vCRumMQfvfHCucSIO6I0A==","signatures":[{"sig":"MEUCIQD2kymEEgKViX5vlSmTaM+IKF+EKXDZfSeK3FMXw+7/UgIgGaF58SDEC48b1vRc8TmgfFuZCOotjhvjFwOjYbhvEIY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42523},"main":"index.js","gitHead":"fd74506cec67d985dae4cd52f2451a8f37c031b1","scripts":{"test":"tsx test/schemaSanitizer.test.ts","build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"lacanna","email":"gabriellacanna22@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe.git","type":"git"},"_npmVersion":"11.6.2","description":"n8n nodes for Google Vertex AI: an MCP Client Tool that sanitizes tool schemas for Gemini's restricted JSON Schema subset, and a Chat Model node that calls Claude correctly via Vertex Model Garden (n8n's built-in Vertex node only speaks Gemini's wire form","directories":{},"_nodeVersion":"25.0.0","dependencies":{"zod":"^3.25.76","@langchain/core":"^1.2.5","@anthropic-ai/sdk":"^0.116.0","google-auth-library":"^10.2.0","@langchain/anthropic":"^1.5.4","@anthropic-ai/vertex-sdk":"^0.19.1","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.16.2","typescript":"^5.5.4","n8n-workflow":"^1.70.0"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-mcp-vertex-safe_0.2.0_1786415254413_0.5448672643865766","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"n8n-nodes-mcp-vertex-safe","version":"0.2.1","keywords":["n8n-community-node-package","mcp","vertex-ai","gemini","claude","anthropic","langchain"],"author":{"name":"YOUR_NAME"},"license":"MIT","_id":"n8n-nodes-mcp-vertex-safe@0.2.1","maintainers":[{"name":"lacanna","email":"gabriellacanna22@gmail.com"}],"homepage":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe","bugs":{"url":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe/issues"},"n8n":{"nodes":["dist/nodes/McpClientToolVertexSafe/McpClientToolVertexSafe.node.js","dist/nodes/LmChatAnthropicVertex/LmChatAnthropicVertex.node.js"],"credentials":["dist/credentials/McpClientVertexSafeApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"cd53de5e3f39f3f83be4f15d6fdd79cb0d782cf9","tarball":"https://registry.npmjs.org/n8n-nodes-mcp-vertex-safe/-/n8n-nodes-mcp-vertex-safe-0.2.1.tgz","fileCount":13,"integrity":"sha512-lFa4/+6h5LaSnTtKao1E0/H18TkP99WXk0g9Umzk4qlBd1oJPTTVZjlj2O2JQI3BReUmRtfLJuj1W5tSH7g3BA==","signatures":[{"sig":"MEQCIA0071pNgV0PZ12sbW7XJD6P2bILY419pzff5VqrzTXNAiBA4+aeBht+S4Up53sys1bkcC8ot19/TS+ooiy6Mt51BQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42523},"main":"index.js","gitHead":"fd74506cec67d985dae4cd52f2451a8f37c031b1","scripts":{"test":"tsx test/schemaSanitizer.test.ts","build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"lacanna","email":"gabriellacanna22@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe.git","type":"git"},"_npmVersion":"11.6.2","description":"n8n nodes for Google Vertex AI: an MCP Client Tool that sanitizes tool schemas for Gemini's restricted JSON Schema subset, and a Chat Model node that calls Claude correctly via Vertex Model Garden (n8n's built-in Vertex node only speaks Gemini's wire form","directories":{},"_nodeVersion":"25.0.0","dependencies":{"zod":"^3.25.76","@langchain/core":"^1.2.5","@anthropic-ai/sdk":"^0.116.0","google-auth-library":"^10.2.0","@langchain/anthropic":"^1.5.4","@anthropic-ai/vertex-sdk":"^0.19.1","@modelcontextprotocol/sdk":"^1.12.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.16.2","typescript":"^5.5.4","n8n-workflow":"^1.70.0"},"peerDependencies":{"n8n-workflow":"*"},"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-mcp-vertex-safe_0.2.1_1786415600224_0.9888686158342965","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"n8n-nodes-mcp-vertex-safe","version":"0.3.0","keywords":["n8n-community-node-package","mcp","vertex-ai","gemini","claude","anthropic","langchain"],"author":{"name":"YOUR_NAME"},"license":"MIT","_id":"n8n-nodes-mcp-vertex-safe@0.3.0","maintainers":[{"name":"lacanna","email":"gabriellacanna22@gmail.com"}],"homepage":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe","bugs":{"url":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe/issues"},"n8n":{"nodes":["dist/nodes/McpClientToolVertexSafe/McpClientToolVertexSafe.node.js","dist/nodes/LmChatAnthropicVertex/LmChatAnthropicVertex.node.js"],"credentials":["dist/credentials/McpClientVertexSafeApi.credentials.js"],"n8nNodesApiVersion":1},"dist":{"shasum":"7a4e2565c5160b3eab77a1cd1340ef46e4a6eeb3","tarball":"https://registry.npmjs.org/n8n-nodes-mcp-vertex-safe/-/n8n-nodes-mcp-vertex-safe-0.3.0.tgz","fileCount":10647,"integrity":"sha512-HGvoHBQKDn4WNA7tObnm8l52Kmrgs+3oVknqWN8MfDgFXzii0erxWNFcnd3G+3tti0vJJ9hIlIoXYVYLl+3npg==","signatures":[{"sig":"MEUCIGSZtcvQCvr80+gvE9dj80OMQWgrKZMFk5piIO7XxIr3AiEAyvX6EgKf4Cl+V5uFh1S7CuQ+aR+SoHZOMGfjvce83Dw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":75144821},"main":"index.js","gitHead":"820c5df8d6a586a50050457c71fa299d743c4106","scripts":{"test":"tsx test/schemaSanitizer.test.ts","build":"tsc -p tsconfig.json","prepublishOnly":"npm run build"},"_npmUser":{"name":"lacanna","email":"gabriellacanna22@gmail.com"},"repository":{"url":"git+https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe.git","type":"git"},"_npmVersion":"11.6.2","description":"n8n nodes for Google Vertex AI: an MCP Client Tool that sanitizes tool schemas for Gemini's restricted JSON Schema subset, and a Chat Model node that calls Claude correctly via Vertex Model Garden (n8n's built-in Vertex node only speaks Gemini's wire form","directories":{},"_nodeVersion":"25.0.0","dependencies":{"ms":"*","qs":"*","ajv":"*","jwa":"*","jws":"*","zod":"^3.25.76","cors":"*","depd":"*","etag":"*","gopd":"*","hono":"*","jose":"*","once":"*","send":"*","vary":"*","bytes":"*","debug":"*","fresh":"*","isexe":"*","which":"*","cookie":"*","extend":"*","gaxios":"*","hasown":"*","router":"*","unpipe":"*","wrappy":"*","accepts":"*","express":"*","mime-db":"*","p-queue":"*","type-is":"*","ee-first":"*","fast-uri":"*","inherits":"*","mustache":"*","parseurl":"*","path-key":"*","raw-body":"*","statuses":"*","base64-js":"*","encodeurl":"*","es-errors":"*","forwarded":"*","get-proto":"*","ipaddr.js":"*","langsmith":"*","p-finally":"*","p-timeout":"*","agent-base":"*","call-bound":"*","fetch-blob":"*","iconv-lite":"*","ip-address":"*","is-promise":"*","mime-types":"*","negotiator":"*","node-fetch":"*","proxy-addr":"*","ts-algebra":"*","ajv-formats":"*","body-parser":"*","cross-spawn":"*","escape-html":"*","eventsource":"*","fast-sha256":"*","has-symbols":"*","http-errors":"*","js-tiktoken":"*","json-bigint":"*","media-typer":"*","on-finished":"*","safe-buffer":"*","bignumber.js":"*","content-type":"*","dunder-proto":"*","finalhandler":"*","gcp-metadata":"*","range-parser":"*","safer-buffer":"*","serve-static":"*","side-channel":"*","toidentifier":"*","eventemitter3":"*","function-bind":"*","get-intrinsic":"*","object-assign":"*","shebang-regex":"*","@babel/runtime":"*","object-inspect":"*","path-to-regexp":"*","pkce-challenge":"*","setprototypeof":"*","@langchain/core":"^1.2.5","es-object-atoms":"*","fast-deep-equal":"*","math-intrinsics":"*","shebang-command":"*","cookie-signature":"*","side-channel-map":"*","standardwebhooks":"*","@anthropic-ai/sdk":"^0.116.0","@hono/node-server":"*","@stablelib/base64":"*","formdata-polyfill":"*","https-proxy-agent":"*","json-schema-to-ts":"*","json-schema-typed":"*","merge-descriptors":"*","node-domexception":"*","side-channel-list":"*","data-uri-to-buffer":"*","es-define-property":"*","eventsource-parser":"*","express-rate-limit":"*","zod-to-json-schema":"*","content-disposition":"*","ecdsa-sig-formatter":"*","google-auth-library":"^10.2.0","require-from-string":"*","@langchain/anthropic":"^1.5.4","google-logging-utils":"*","json-schema-traverse":"*","side-channel-weakmap":"*","web-streams-polyfill":"*","@cfworker/json-schema":"*","@standard-schema/spec":"*","call-bind-apply-helpers":"*","@anthropic-ai/vertex-sdk":"^0.19.1","@modelcontextprotocol/sdk":"^1.12.0","buffer-equal-constant-time":"*"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.16.2","typescript":"^5.5.4","n8n-workflow":"^1.70.0"},"peerDependencies":{"n8n-workflow":"*"},"bundleDependencies":["@anthropic-ai/sdk","@anthropic-ai/vertex-sdk","@babel/runtime","@cfworker/json-schema","@hono/node-server","@langchain/anthropic","@langchain/core","@modelcontextprotocol/sdk","@stablelib/base64","@standard-schema/spec","accepts","agent-base","ajv","ajv-formats","base64-js","bignumber.js","body-parser","buffer-equal-constant-time","bytes","call-bind-apply-helpers","call-bound","content-disposition","content-type","cookie","cookie-signature","cors","cross-spawn","data-uri-to-buffer","debug","depd","dunder-proto","ecdsa-sig-formatter","ee-first","encodeurl","es-define-property","es-errors","es-object-atoms","escape-html","etag","eventemitter3","eventsource","eventsource-parser","express","express-rate-limit","extend","fast-deep-equal","fast-sha256","fast-uri","fetch-blob","finalhandler","formdata-polyfill","forwarded","fresh","function-bind","gaxios","gcp-metadata","get-intrinsic","get-proto","google-auth-library","google-logging-utils","gopd","has-symbols","hasown","hono","http-errors","https-proxy-agent","iconv-lite","inherits","ip-address","ipaddr.js","is-promise","isexe","jose","js-tiktoken","json-bigint","json-schema-to-ts","json-schema-traverse","json-schema-typed","jwa","jws","langsmith","math-intrinsics","media-typer","merge-descriptors","mime-db","mime-types","ms","mustache","negotiator","node-domexception","node-fetch","object-assign","object-inspect","on-finished","once","p-finally","p-queue","p-timeout","parseurl","path-key","path-to-regexp","pkce-challenge","proxy-addr","qs","range-parser","raw-body","require-from-string","router","safe-buffer","safer-buffer","send","serve-static","setprototypeof","shebang-command","shebang-regex","side-channel","side-channel-list","side-channel-map","side-channel-weakmap","standardwebhooks","statuses","toidentifier","ts-algebra","type-is","unpipe","vary","web-streams-polyfill","which","wrappy","zod","zod-to-json-schema"],"_npmOperationalInternal":{"tmp":"tmp/n8n-nodes-mcp-vertex-safe_0.3.0_1786417563430_0.6433734760070904","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"n8n-nodes-mcp-vertex-safe","version":"0.3.1","description":"n8n nodes for Google Vertex AI: an MCP Client Tool that sanitizes tool schemas for Gemini's restricted JSON Schema subset, and a Chat Model node that calls Claude correctly via Vertex Model Garden (n8n's built-in Vertex node only speaks Gemini's wire form","keywords":["n8n-community-node-package","mcp","vertex-ai","gemini","claude","anthropic","langchain"],"license":"MIT","homepage":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe","author":{"name":"YOUR_NAME"},"repository":{"type":"git","url":"git+https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe.git"},"main":"index.js","scripts":{"build":"tsc -p tsconfig.json","test":"tsx test/schemaSanitizer.test.ts","prepublishOnly":"npm run build"},"n8n":{"n8nNodesApiVersion":1,"credentials":["dist/credentials/McpClientVertexSafeApi.credentials.js"],"nodes":["dist/nodes/McpClientToolVertexSafe/McpClientToolVertexSafe.node.js","dist/nodes/LmChatAnthropicVertex/LmChatAnthropicVertex.node.js"]},"dependencies":{"@anthropic-ai/sdk":"^0.116.0","@anthropic-ai/vertex-sdk":"^0.19.1","@langchain/anthropic":"^1.5.4","@langchain/core":"^1.2.5","@modelcontextprotocol/sdk":"^1.12.0","google-auth-library":"^10.2.0","zod":"^3.25.76","@babel/runtime":"*","@cfworker/json-schema":"*","@hono/node-server":"*","@stablelib/base64":"*","@standard-schema/spec":"*","accepts":"*","agent-base":"*","ajv":"*","ajv-formats":"*","base64-js":"*","bignumber.js":"*","body-parser":"*","buffer-equal-constant-time":"*","bytes":"*","call-bind-apply-helpers":"*","call-bound":"*","content-disposition":"*","content-type":"*","cookie":"*","cookie-signature":"*","cors":"*","cross-spawn":"*","data-uri-to-buffer":"*","debug":"*","depd":"*","dunder-proto":"*","ecdsa-sig-formatter":"*","ee-first":"*","encodeurl":"*","es-define-property":"*","es-errors":"*","es-object-atoms":"*","escape-html":"*","etag":"*","eventemitter3":"*","eventsource":"*","eventsource-parser":"*","express":"*","express-rate-limit":"*","extend":"*","fast-deep-equal":"*","fast-sha256":"*","fast-uri":"*","fetch-blob":"*","finalhandler":"*","formdata-polyfill":"*","forwarded":"*","fresh":"*","function-bind":"*","gaxios":"*","gcp-metadata":"*","get-intrinsic":"*","get-proto":"*","google-logging-utils":"*","gopd":"*","has-symbols":"*","hasown":"*","hono":"*","http-errors":"*","https-proxy-agent":"*","iconv-lite":"*","inherits":"*","ip-address":"*","ipaddr.js":"*","is-promise":"*","isexe":"*","jose":"*","js-tiktoken":"*","json-bigint":"*","json-schema-to-ts":"*","json-schema-traverse":"*","json-schema-typed":"*","jwa":"*","jws":"*","langsmith":"*","math-intrinsics":"*","media-typer":"*","merge-descriptors":"*","mime-db":"*","mime-types":"*","ms":"*","mustache":"*","negotiator":"*","node-domexception":"*","node-fetch":"*","object-assign":"*","object-inspect":"*","on-finished":"*","once":"*","p-finally":"*","p-queue":"*","p-timeout":"*","parseurl":"*","path-key":"*","path-to-regexp":"*","pkce-challenge":"*","proxy-addr":"*","qs":"*","range-parser":"*","raw-body":"*","require-from-string":"*","router":"*","safe-buffer":"*","safer-buffer":"*","send":"*","serve-static":"*","setprototypeof":"*","shebang-command":"*","shebang-regex":"*","side-channel":"*","side-channel-list":"*","side-channel-map":"*","side-channel-weakmap":"*","standardwebhooks":"*","statuses":"*","toidentifier":"*","ts-algebra":"*","type-is":"*","unpipe":"*","vary":"*","web-streams-polyfill":"*","which":"*","wrappy":"*","zod-to-json-schema":"*"},"devDependencies":{"n8n-workflow":"^1.70.0","typescript":"^5.5.4","tsx":"^4.16.2"},"peerDependencies":{"n8n-workflow":"*"},"gitHead":"0c14214e5f7f2eebca2be82e1d90f719220ed079","_id":"n8n-nodes-mcp-vertex-safe@0.3.1","bundleDependencies":["@anthropic-ai/sdk","@anthropic-ai/vertex-sdk","@babel/runtime","@cfworker/json-schema","@hono/node-server","@langchain/anthropic","@langchain/core","@modelcontextprotocol/sdk","@stablelib/base64","@standard-schema/spec","accepts","agent-base","ajv","ajv-formats","base64-js","bignumber.js","body-parser","buffer-equal-constant-time","bytes","call-bind-apply-helpers","call-bound","content-disposition","content-type","cookie","cookie-signature","cors","cross-spawn","data-uri-to-buffer","debug","depd","dunder-proto","ecdsa-sig-formatter","ee-first","encodeurl","es-define-property","es-errors","es-object-atoms","escape-html","etag","eventemitter3","eventsource","eventsource-parser","express","express-rate-limit","extend","fast-deep-equal","fast-sha256","fast-uri","fetch-blob","finalhandler","formdata-polyfill","forwarded","fresh","function-bind","gaxios","gcp-metadata","get-intrinsic","get-proto","google-auth-library","google-logging-utils","gopd","has-symbols","hasown","hono","http-errors","https-proxy-agent","iconv-lite","inherits","ip-address","ipaddr.js","is-promise","isexe","jose","js-tiktoken","json-bigint","json-schema-to-ts","json-schema-traverse","json-schema-typed","jwa","jws","langsmith","math-intrinsics","media-typer","merge-descriptors","mime-db","mime-types","ms","mustache","negotiator","node-domexception","node-fetch","object-assign","object-inspect","on-finished","once","p-finally","p-queue","p-timeout","parseurl","path-key","path-to-regexp","pkce-challenge","proxy-addr","qs","range-parser","raw-body","require-from-string","router","safe-buffer","safer-buffer","send","serve-static","setprototypeof","shebang-command","shebang-regex","side-channel","side-channel-list","side-channel-map","side-channel-weakmap","standardwebhooks","statuses","toidentifier","ts-algebra","type-is","unpipe","vary","web-streams-polyfill","which","wrappy","zod","zod-to-json-schema"],"bugs":{"url":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe/issues"},"_nodeVersion":"25.0.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-roOSkVpVQ0nebOvILaK34TQy2Wf/tqIN/HBBiKbDYxfokLFedYPCgNcD8TSuJCtxzlBb9NcqCFcKLOnPkargXw==","shasum":"81ade3bb690425734245440e2f994b41eb42b7df","tarball":"https://registry.npmjs.org/n8n-nodes-mcp-vertex-safe/-/n8n-nodes-mcp-vertex-safe-0.3.1.tgz","fileCount":10647,"unpackedSize":75145548,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIE+vc7Y8nW/wu7dzPiVhUbInSO8tT2TOPNrESIK/8fsfAiAqsDhKxX8j6uyh3ROrJ4deZYW/Ur2BrOTkfu8TLn64ag=="}]},"_npmUser":{"name":"lacanna","email":"gabriellacanna22@gmail.com"},"directories":{},"maintainers":[{"name":"lacanna","email":"gabriellacanna22@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/n8n-nodes-mcp-vertex-safe_0.3.1_1786418858908_0.7081947268123714"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-11T01:55:54.242Z","modified":"2026-08-11T03:27:39.492Z","0.1.0":"2026-08-11T01:55:54.632Z","0.1.1":"2026-08-11T02:14:12.124Z","0.2.0":"2026-08-11T02:27:34.588Z","0.2.1":"2026-08-11T02:33:20.361Z","0.3.0":"2026-08-11T03:06:03.859Z","0.3.1":"2026-08-11T03:27:39.336Z"},"bugs":{"url":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe/issues"},"author":{"name":"YOUR_NAME"},"license":"MIT","homepage":"https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe","keywords":["n8n-community-node-package","mcp","vertex-ai","gemini","claude","anthropic","langchain"],"repository":{"type":"git","url":"git+https://github.com/YOUR_GITHUB_USER/n8n-nodes-mcp-vertex-safe.git"},"description":"n8n nodes for Google Vertex AI: an MCP Client Tool that sanitizes tool schemas for Gemini's restricted JSON Schema subset, and a Chat Model node that calls Claude correctly via Vertex Model Garden (n8n's built-in Vertex node only speaks Gemini's wire form","maintainers":[{"name":"lacanna","email":"gabriellacanna22@gmail.com"}],"readme":"# n8n-nodes-mcp-vertex-safe\n\nTwo n8n community nodes for Google Vertex AI:\n\n- **MCP Client Tool (Vertex-Safe)** — sanitizes MCP tool schemas so Gemini's\n  restricted JSON Schema subset stops rejecting them with `400 Bad Request`.\n- **Anthropic Chat Model (Vertex)** — calls Claude correctly via Vertex Model\n  Garden. n8n's built-in Google Vertex Chat Model node only speaks Gemini's\n  wire format; pointing it at a Claude model ID sends a Gemini-shaped request\n  Vertex rejects outright, regardless of how clean your tool schemas are.\n\n## MCP Client Tool (Vertex-Safe)\n\nFixes the `400 Bad Request` you get when an **AI Agent** node uses **Google\nVertex Gemini** as its chat model with one or more **MCP Client Tool** nodes\nattached — tracked upstream as\n[n8n#15553](https://github.com/n8n-io/n8n/issues/15553) and\n[n8n#14650](https://github.com/n8n-io/n8n/issues/14650), still open at time\nof writing.\n\n## Root cause\n\nVertex's function-calling schema follows a restricted OpenAPI 3.0 subset,\nnot full JSON Schema. n8n's stock MCP Client Tool node passes each MCP\nserver's raw `inputSchema` straight through. Constructs that are completely\nvalid JSON Schema — type unions (`\"type\": [\"string\", \"null\"]`), `$ref`,\n`oneOf`/`anyOf`/`allOf`, `additionalProperties`, unsupported `format` values —\nget rejected by Vertex's proto-based validator before the model ever sees the\nprompt. The more MCP servers/tools you attach, the more likely at least one\nschema trips this.\n\n## What this node does differently\n\nSame connection surface as the stock MCP Client Tool node (endpoint URL,\ntransport, tool filtering). The difference: every tool's `inputSchema` is run\nthrough `schemaSanitizer.ts` before being handed to the agent:\n\n- type unions → single `type` + `nullable: true`\n- local `$ref` → resolved and inlined\n- `oneOf`/`anyOf` → prefers the non-null branch and sets `nullable: true`\n  (the common Pydantic/Zod-generator idiom `anyOf: [{type: \"x\"}, {type:\n  \"null\"}]`); `allOf` → merged\n- `const` → single-value `enum` (otherwise it falls through the type\n  inference and mangles the property)\n- empty or null-only `enum` → dropped, since Vertex rejects `enum: []`\n  outright and a null-only enum adds nothing once `nullable` is set\n- `additionalProperties`, `patternProperties` → dropped\n- unsupported `format` values → dropped (only `date-time`, `enum`, `float`,\n  `double`, `int32`, `int64` survive)\n- empty `object` schemas → given a placeholder property (Vertex has been\n  observed rejecting `object` types with no properties)\n- `required` entries with no matching property → pruned\n\nThis mirrors n8n's own fix for the same bug class\n([PR #32683](https://github.com/n8n-io/n8n/pull/32683)). See\n`test/schemaSanitizer.test.ts` for the exact failure patterns this\naddresses, taken from the upstream bug reports' error messages.\n\n## Anthropic Chat Model (Vertex)\n\n### Why the built-in Google Vertex Chat Model node can't do this\n\nn8n's `@n8n/n8n-nodes-langchain.lmChatGoogleVertex` node wraps\n`@langchain/google-vertexai`, which only ever calls Vertex's Gemini\n`generateContent` endpoint. Typing a Claude model ID into its Model Name\nfield doesn't fail loudly — it sends a Gemini-shaped request (`contents`,\n`tools[].function_declarations`, `generationConfig`) to a model that doesn't\nunderstand that shape, and Vertex rejects the whole payload with a generic\n`Bad request - please check your parameters` / `400`. This happens on every\ncall regardless of how many MCP tools are attached — the request itself is\nwrong before tools ever enter into it. n8n's Anthropic Chat Model node\ndoesn't help either: it only supports a direct Anthropic API key, no GCP\nservice-account/Vertex auth path.\n\n### How this node calls Claude on Vertex correctly\n\nIt reuses `@langchain/anthropic`'s `ChatAnthropic` — the same class that\nimplements Claude's tool-calling, streaming, and message conversion — and\nswaps only its transport via the `createClient` extension point that package\ndocuments for exactly this purpose:\n\n> \"Optional method that returns an initialized underlying Anthropic client.\n> Useful for accessing Anthropic models hosted on other cloud services such\n> as Google Vertex.\"\n\nThe transport is `@anthropic-ai/vertex-sdk`'s `AnthropicVertex` client\n(Anthropic's own official Vertex SDK), authenticated with a\n`google-auth-library` `GoogleAuth` built from the same credential fields\n(`email`, `privateKey`) as n8n's built-in **Google Service Account API**\ncredential — reuse the credential you already set up for the Gemini Vertex\nnode, no new credential type needed.\n\n### Setup\n\n1. Add the **Anthropic Chat Model (Vertex)** node in place of Google Vertex\n   Chat Model, and connect it to your AI Agent's model input.\n2. Select your existing Google Service Account credential.\n3. Fill in **Project ID**, **Region**, and **Model Name**.\n   - **Region** matters here in a way it doesn't for Gemini: Claude models on\n     Vertex are published to specific regions (e.g. `us-east5`), not\n     `global`. Check the model card in Vertex AI Model Garden.\n   - **Model Name** is the exact Vertex Model Garden ID including the `@`\n     date suffix (e.g. `claude-sonnet-4-5@20250929`) — this differs from the\n     model IDs in Anthropic's own API docs.\n\nClaude's tool-calling accepts standard JSON Schema (no Gemini-style proto\nrestrictions), so MCP Client Tool (Vertex-Safe) isn't required here — the\nstock MCP Client Tool node's raw schemas work fine against this node. Using\nthe Vertex-Safe one anyway is harmless, just slightly lossier on schema\nprecision (see Known limitations below).\n\n## Install\n\nIn n8n: **Settings → Community Nodes → Install → `n8n-nodes-mcp-vertex-safe`**.\n\nFor local dev before publishing:\n\n```bash\nnpm install\nnpm run build\nnpm link\n# in your n8n data dir / wherever N8N_CUSTOM_EXTENSIONS points:\nnpm link n8n-nodes-mcp-vertex-safe\n```\n\nRestart n8n. Search \"MCP Client Tool (Vertex-Safe)\" in the node panel.\n\n## Testing the sanitizer in isolation\n\n```bash\nnpm test\n```\n\nThis runs `test/schemaSanitizer.test.ts` against the exact union-type,\n`$ref`, `oneOf`, `additionalProperties`, and empty-object patterns that\nappear in the upstream GitHub issues, plus an end-to-end check that the\nsanitized output converts to a working Zod schema.\n\n## Why this package bundles its own dependencies\n\nn8n installs every community node into one shared `~/.n8n/nodes/node_modules`\ntree. If you have other community nodes installed alongside this one, npm's\nhoisting has to reconcile all of their dependency graphs together - and\n`@langchain/core` in particular is a common collision point, since many\ncommunity nodes still pin the pre-1.0 `^0.3.x` line while this package needs\n`^1.2.5` for `@langchain/anthropic`. That produced two different failure\nmodes in practice: `@langchain/core` resolving to a version too old to\nsatisfy this package (`Package subpath './errors' is not defined by\n\"exports\"`), and a transitive dependency (`gcp-metadata`, pulled in via\n`google-auth-library`) getting hoisted to a shared location this package's\nloader wouldn't find, rather than nested directly under its own\n`node_modules` (`ENOENT ... gcp-metadata/build/src/index.js`). Both were\nnon-deterministic across reinstalls, since the outcome depended on whatever\nelse happened to be installed in that shared tree at the time.\n\n`bundledDependencies` in `package.json` sidesteps this: the full production\ndependency closure (131 packages, computed via a clean `--omit=dev` install)\nships physically inside this package's own published tarball, nested under\nits own `node_modules`, regardless of what other community nodes or their\nversion pins are present elsewhere in the shared tree. Verified by installing\nthe actual `npm pack` tarball into an isolated directory and loading both\ncompiled nodes from it directly.\n\nIf you add or upgrade a dependency, regenerate this list rather than hand-editing it:\n\n```bash\nrm -rf /tmp/prod-only && mkdir /tmp/prod-only && cd /tmp/prod-only\nnode -e \"require('fs').writeFileSync('package.json', JSON.stringify({name:'p',version:'0.0.0',private:true,dependencies:require('/path/to/n8n-nodes-mcp-vertex-safe/package.json').dependencies}))\"\nnpm install --omit=dev\nnode -e \"\nconst fs=require('fs'), path=require('path');\nconst nm=path.join(process.cwd(),'node_modules');\nconst pkgs=[];\nfor (const e of fs.readdirSync(nm)) {\n  if (e.startsWith('.')) continue;\n  if (e.startsWith('@')) for (const s of fs.readdirSync(path.join(nm,e))) pkgs.push(e+'/'+s);\n  else pkgs.push(e);\n}\nconsole.log(JSON.stringify(pkgs.sort(), null, 2));\n\"\n# paste the result into package.json's bundledDependencies\n```\n\nThen verify before publishing:\n\n```bash\nnpm run build && npm pack\ntar -xzf n8n-nodes-mcp-vertex-safe-*.tgz -C /tmp/tarball-check\nfind /tmp/tarball-check -maxdepth 2   # should show package/node_modules\n```\n\n## Known limitations — please read before relying on this in production\n\n- **Composition collapsing is lossy.** `oneOf`/`anyOf` branches with more\n  than one concrete (non-null) branch collapse to just the first — if a\n  tool's schema meaningfully depends on picking between very different\n  branches, the agent only sees one of them. This trades schema precision\n  for not getting a 400 at all; it's the same trade the Vertex API itself\n  forces since it has no union type support.\n- **Only local `$ref`s resolve.** External `$ref`s (pointing outside the\n  same schema document) fall back to a permissive `string` type.\n- **Auth is a single optional header.** If your MCP servers need OAuth or\n  something more elaborate, extend `McpClientVertexSafeApi.credentials.ts`.\n- **Anthropic Chat Model (Vertex) has no streaming/thinking-budget UI yet.**\n  `ChatAnthropic` supports both; this node currently only exposes\n  `temperature` and `maxTokens`. Extend the `options` collection in\n  `LmChatAnthropicVertex.node.ts` if you need more.\n\n## Publishing a new version\n\nPublished to npm as `n8n-nodes-mcp-vertex-safe`. To release a new version:\n\n```bash\nnpm version patch   # or minor/major — bumps package.json, creates a git tag\nnpm publish --access public --otp=<your-6-digit-code>\n```\n\nnpm requires either a 2FA OTP or a granular access token with \"bypass 2FA for\npublish\" enabled on this account.\n\nn8n's own community-node publishing checklist (naming convention\n`n8n-nodes-*`, required `n8n` field in package.json, no runtime deps that\nconflict with n8n's own) is already satisfied by this scaffold — see\nhttps://docs.n8n.io/integrations/creating-nodes/build/publish/ before your\nfirst publish in case the requirements have changed since this was written.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}