# Gremlin MCP Server Environment Variables
# Required: Gremlin server endpoint
# Format: host:port or host:port/traversal_source
GREMLIN_ENDPOINT=localhost:8182/g
# Optional: Use SSL for connection (default: false)
GREMLIN_USE_SSL=false
# Optional: Authentication credentials (if required by your Gremlin server)
# GREMLIN_USERNAME=your_username
# GREMLIN_PASSWORD=your_password
# Optional: Connection idle timeout in seconds (default: 300)
GREMLIN_IDLE_TIMEOUT=300
# --- Smart Schema Discovery ---
# Optional: Enable or disable automatic enum discovery for low-cardinality properties
GREMLIN_ENUM_DISCOVERY_ENABLED="true"
# Optional: The maximum number of unique values a property can have to be considered an enum
GREMLIN_ENUM_CARDINALITY_THRESHOLD="50"
# Optional: A comma-separated list of property names to exclude from enum discovery
GREMLIN_ENUM_PROPERTY_BLACKLIST="id,pk,name,description,startDate,endDate,arrival,departure,timestamp,createdAt,updatedAt"
# Optional: Log level (default: info)
# Options: error, warn, info, debug
LOG_LEVEL=info
# Optional: Debug tests (set to any value to enable debug logging during tests)
# DEBUG_TESTS=true