.env.n8n.exampleβ’917 B
# n8n-mcp Docker Environment Configuration
# Copy this file to .env and customize for your deployment
# === n8n Configuration ===
# n8n basic auth (change these in production!)
N8N_BASIC_AUTH_ACTIVE=true
N8N_BASIC_AUTH_USER=admin
N8N_BASIC_AUTH_PASSWORD=changeme
# n8n host configuration
N8N_HOST=localhost
N8N_PORT=5678
N8N_PROTOCOL=http
N8N_WEBHOOK_URL=http://localhost:5678/
# n8n encryption key (generate with: openssl rand -hex 32)
N8N_ENCRYPTION_KEY=
# === n8n-mcp Configuration ===
# MCP server port
MCP_PORT=3000
# MCP authentication token (generate with: openssl rand -hex 32)
MCP_AUTH_TOKEN=
# n8n API key for MCP to access n8n
# Get this from n8n UI: Settings > n8n API > Create API Key
N8N_API_KEY=
# Logging level (debug, info, warn, error)
LOG_LEVEL=info
# === GitHub Container Registry (for CI/CD) ===
# Only needed if building custom images
GITHUB_REPOSITORY=czlonkowski/n8n-mcp
VERSION=latest