# ── Transport ────────────────────────────────────────────────────────── # MCP_TRANSPORT_TYPE=stdio # stdio | http (default: stdio) # MCP_HTTP_PORT=3010 # HTTP port (default: 3010) # MCP_HTTP_HOST=localhost # HTTP host (default: localhost) # MCP_HTTP_ENDPOINT_PATH=/mcp # HTTP endpoint path (default: /mcp) # MCP_PUBLIC_URL= # Public origin behind a TLS-terminating proxy (e.g. https://mcp.example.com) # MCP_ALLOWED_ORIGINS= # Comma-separated browser Origins for HTTP mode. Unset = loopback-only (localhost/127.0.0.1/[::1]). Use '*' to disable Origin checks (not recommended). # ── Auth ────────────────────────────────────────────────────────────── # MCP_AUTH_MODE=none # none | jwt | oauth (default: none) # MCP_AUTH_SECRET_KEY= # JWT secret (required for jwt mode) # ── Storage ─────────────────────────────────────────────────────────── # STORAGE_PROVIDER_TYPE=in-memory # in-memory | filesystem | supabase | cloudflare-r2 | cloudflare-kv | cloudflare-d1 # ── Session ────────────────────────────────────────────────────────── # MCP_SESSION_MODE=stateful # stateful | stateless (default: stateful) # ── Logging ─────────────────────────────────────────────────────────── # MCP_LOG_LEVEL=info # debug | info | notice | warning | error # ── Telemetry ───────────────────────────────────────────────────────── # OTEL_ENABLED=false # Enable OpenTelemetry (default: false) # OTEL_EXPORTER_OTLP_ENDPOINT= # OTLP endpoint URL (e.g., http://localhost:4318) # ── Mailchimp ───────────────────────────────────────────────────────── # Required. Generate in Mailchimp → Account → Extras → API keys. # The "-dc" suffix (e.g. -us22) identifies your data center — keep it intact. MAILCHIMP_API_KEY=abc123def456ghi789jkl012mno345pq-us22 # Optional overrides # MAILCHIMP_BASE_URL= # Override base URL (default: https://{dc}.api.mailchimp.com/3.0) # MAILCHIMP_TIMEOUT_MS=60000 # Per-request timeout in ms (default: 60000) # MAILCHIMP_MAX_RETRIES=3 # Retry attempts for transient failures (default: 3) # MAILCHIMP_CONCURRENCY_LIMIT=4 # Max parallel requests per workflow tool (default: 4) # Optional: local-assets directory (L1) # When set (Node-only — Workers ignored), the `mailchimp_assets` tool is registered # and any `@assets/` references in campaign HTML are auto-uploaded to Mailchimp # File Manager and rewritten to the public CDN URL at send time. Cache lives at # /.mailchimp-cache.json (sha256-keyed; safe to delete to force re-upload). # MAILCHIMP_ASSETS_DIR=/absolute/path/to/your/email-assets # Optional: local-templates directory (L2) # When set (Node-only), the `mailchimp_local_templates` tool is registered and # campaigns can reference `content.localTemplate: ''`. Templates are `.eta` # files with optional `.meta.yaml` sidecars (subject, previewText). Partials # live alongside and are referenced via Eta's `include()`. This is the canonical # write path for templates on free-tier Mailchimp accounts (where the upstream # templates API is read-only). # MAILCHIMP_TEMPLATES_DIR=/absolute/path/to/your/email-templates