mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user