feat(MCP Client Tool Node): Add MCP Client Tool Node to connect to MCP servers over SSE (#14464)

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Co-authored-by: JP van Oosten <jp@n8n.io>
This commit is contained in:
Elias Meire
2025-04-09 17:31:53 +02:00
committed by GitHub
parent b52f9f0f6c
commit 34252f53f9
24 changed files with 926 additions and 35 deletions

View File

@@ -1,4 +1,5 @@
import {
AI_MCP_TOOL_NODE_TYPE,
LIST_LIKE_NODE_OPERATIONS,
MAIN_HEADER_TABS,
NODE_POSITION_CONFLICT_ALLOWLIST,
@@ -281,7 +282,11 @@ export function getGenericHints({
const nodeHints: NodeHint[] = [];
// tools hints
if (node?.type.toLocaleLowerCase().includes('tool') && hasNodeRun) {
if (
node?.type.toLocaleLowerCase().includes('tool') &&
node?.type !== AI_MCP_TOOL_NODE_TYPE &&
hasNodeRun
) {
const stringifiedParameters = JSON.stringify(workflowNode.parameters);
if (!stringifiedParameters.includes('$fromAI')) {
nodeHints.push({