Skip to main content
Glama
.env.example1.16 kB
# N8N MCP Server Configuration # Copy this file to .env and fill in your values # =========================================== # Option 1: JSON Configuration (recommended for multiple instances) # =========================================== # N8N_INSTANCES='[{"name":"prod","url":"https://n8n.example.com","apiKey":"your-api-key"},{"name":"dev","url":"https://n8n-dev.example.com","apiKey":"your-api-key"}]' # =========================================== # Option 2: Individual Instance Configuration # =========================================== # Instance 1 N8N_INSTANCE_1_NAME=prod N8N_INSTANCE_1_URL=https://n8n.example.com N8N_INSTANCE_1_API_KEY=your-api-key-here # Instance 2 N8N_INSTANCE_2_NAME=dev N8N_INSTANCE_2_URL=https://n8n-dev.example.com N8N_INSTANCE_2_API_KEY=your-api-key-here # Instance 3 # N8N_INSTANCE_3_NAME=staging # N8N_INSTANCE_3_URL=https://n8n-staging.example.com # N8N_INSTANCE_3_API_KEY=your-api-key-here # =========================================== # Option 3: Single Instance (fallback) # =========================================== # N8N_URL=https://n8n.example.com # N8N_API_KEY=your-api-key-here # N8N_INSTANCE_NAME=default

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/businessarchi/n8n-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server