UNPKG

n8n

Version:

n8n Workflow Automation Tool

12 lines (11 loc) 706 B
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 getProtocolVersion: (req: Request | AuthenticatedRequest) => string | 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 {};