n8n-mcp
Version:
Integration between n8n workflow automation and Model Context Protocol (MCP)
17 lines • 579 B
TypeScript
export declare function getN8nApiConfig(): {
baseUrl: string;
apiKey: string;
timeout: number;
maxRetries: number;
cfClientId: string | undefined;
cfClientSecret: string | undefined;
} | null;
export declare function isN8nApiConfigured(): boolean;
export declare function getN8nApiConfigFromContext(context: {
n8nApiUrl?: string;
n8nApiKey?: string;
n8nApiTimeout?: number;
n8nApiMaxRetries?: number;
}): N8nApiConfig | null;
export type N8nApiConfig = NonNullable<ReturnType<typeof getN8nApiConfig>>;
//# sourceMappingURL=n8n-api.d.ts.map