/**
 * MCP Server Trigger Node - Version 1.1
 * Expose n8n tools as an MCP Server endpoint
 */


export interface LcMcpTriggerV11Params {
/**
 * The way to authenticate
 * @builderHint Default to 'none'. n8n exposes inbound trigger URLs publicly by design. Only select an authentication method when the user explicitly asks to authenticate inbound traffic.
 * @default none
 */
    authentication?: 'none' | 'bearerAuth' | 'headerAuth' | Expression<string>;
/**
 * The base path for this MCP server
 */
    path: string | Expression<string>;
}

export interface LcMcpTriggerV11SubnodeConfig {
  tools?: ToolInstance[];
}

export interface LcMcpTriggerV11Credentials {
  httpBearerAuth: CredentialReference;
  httpHeaderAuth: CredentialReference;
}

interface LcMcpTriggerV11NodeBase {
  type: '@n8n/n8n-nodes-langchain.mcpTrigger';
  version: 1.1;
  credentials?: LcMcpTriggerV11Credentials;
}

export type LcMcpTriggerV11ParamsNode = LcMcpTriggerV11NodeBase & {
  config: NodeConfig<LcMcpTriggerV11Params> & { subnodes?: LcMcpTriggerV11SubnodeConfig };
};

export type LcMcpTriggerV11Node = LcMcpTriggerV11ParamsNode;