n8n
Version:
n8n Workflow Automation Tool
11 lines (10 loc) • 604 B
TypeScript
import type { AuthenticatedRequest } from '@n8n/db';
import type { Request } from 'express';
import type { INode } from 'n8n-workflow';
import type { McpClientInfo } from './mcp.types';
type McpExecutionMode = 'manual' | 'production';
export declare const getClientInfo: (req: Request | AuthenticatedRequest) => McpClientInfo | undefined;
export declare const getToolName: (body: unknown) => string;
export declare const getToolArguments: (body: unknown) => Record<string, unknown>;
export declare const findMcpSupportedTrigger: (nodes: INode[], mode?: McpExecutionMode) => INode | undefined;
export {};