UNPKG

n8n-mcp-server

Version:

Model Context Protocol (MCP) server for n8n workflow automation

28 lines (27 loc) 709 B
/** * Environment Configuration * * This module handles loading and validating environment variables * required for connecting to the n8n API. */ export declare const ENV_VARS: { N8N_API_URL: string; N8N_API_KEY: string; DEBUG: string; }; export interface EnvConfig { n8nApiUrl: string; n8nApiKey: string; debug: boolean; } /** * Load environment variables from .env file if present */ export declare function loadEnvironmentVariables(): void; /** * Validate and retrieve required environment variables * * @returns Validated environment configuration * @throws {McpError} If required environment variables are missing */ export declare function getEnvConfig(): EnvConfig;