.env.exampleโข1.64 kB
# CTS MCP Server Environment Configuration
# Copy this file to .env for local development
# ========================================
# Logging Configuration
# ========================================
# Log level: ERROR, WARN, INFO, DEBUG
LOG_LEVEL=INFO
# Node environment: production, development
NODE_ENV=production
# Debug namespaces (comma-separated)
# Examples:
# cts:* - All CTS logs
# mcp:* - All MCP protocol logs
# * - Everything
DEBUG=
# ========================================
# Server Configuration
# ========================================
# Cache directory for artifacts (signal maps, dependency graphs)
CTS_CACHE_DIR=/tmp/cts-cache
# Maximum file size to parse (bytes)
# Default: 5242880 (5MB)
CTS_MAX_FILE_SIZE=5242880
# Maximum files to scan in a single operation
CTS_MAX_FILES=10000
# ========================================
# Performance Tuning
# ========================================
# Enable parallel parsing with Worker threads
# WARNING: Currently disabled due to ES module compatibility issues
CTS_ENABLE_PARALLEL=false
# Number of Worker threads for parallel parsing
CTS_WORKER_COUNT=4
# ========================================
# Development Features
# ========================================
# Enable performance profiling
CTS_PROFILE=false
# Enable artifact caching
CTS_ENABLE_CACHE=true
# Cache TTL in milliseconds (default: 5 minutes)
CTS_CACHE_TTL=300000
# ========================================
# VS Code Integration
# ========================================
# Auto-restart on file changes (requires nodemon)
# Set in VS Code settings.json instead of here
# CTS_WATCH_MODE=false