.env.example•1.99 kB
# Attio MCP Server Environment Configuration
# Required: Attio API credentials
ATTIO_API_KEY=your_api_key_here
# Optional: Server configuration
PORT=3000
LOG_LEVEL=info # debug, info, warn, error
NODE_ENV=production
# E2E Test Configuration (recommended)
# Use a real, routable email domain for generated test users
# Many tenants validate email domains and reject non‑routable TLDs
E2E_TEST_EMAIL_DOMAIN=example.com
# Optional test data prefix for easier cleanup
E2E_TEST_PREFIX=E2E_TEST_
# Automatically clean up test data after E2E runs
E2E_CLEANUP_AFTER_TESTS=true
# API Contract Modes (Optional - these are the defaults)
# Default: true (fail on violations)
E2E_API_CONTRACT_STRICT=true
# Default: false (strict mode), for debugging API issues temporarily set to true
E2E_API_CONTRACT_DEBUG=false
# Optional: Auto-Discovery Configuration
# Automatically discover and update attribute mappings
ATTIO_AUTO_DISCOVERY=true # Enable/disable auto-discovery (default: true)
ATTIO_DISCOVERY_ON_STARTUP=true # Run discovery on server startup (default: true)
ATTIO_DISCOVERY_INTERVAL=60 # Minutes between discovery runs, 0 to disable (default: 60)
# Optional: Integration Test Targets
# Set a stable list identifier used by integration tests.
# You can use either the list slug (api_slug) like `sales_17` or the canonical ID `list_<uuid>`.
# Example (slug recommended):
# TEST_LIST_ID=sales_17
# Example (canonical ID):
# TEST_LIST_ID=list_88709359-01f6-478b-ba66-c07347891b6f
# Optional: Workspace context (useful for scripts and test setup)
# Set these if you plan to programmatically create lists or assign member access.
# WORKSPACE_ID=<your_workspace_uuid>
# WORKSPACE_MEMBER_ID=<a_workspace_member_uuid>
# WORKSPACE_API_UUID=<your_api_key_uuid_for_cleanup_safety>
# Attio workspace slug for constructing URLs (e.g., "ACME")
# Find this in your Attio dashboard URL: https://app.attio.com/YOUR_WORKSPACE_SLUG/
# ATTIO_WORKSPACE_SLUG=<your_workspace_slug>