# SnapBack MCP Server - Environment Configuration Template
#
# Copy to .env.local, .env.staging, or .env.production
# For development: cp .env.example .env.local
#
# The MCP (Model Context Protocol) server provides AI integration
#
# IMPORTANT: Never commit .env.local, .env.staging, .env.production
# Add to .gitignore: .env.local, .env.staging, .env.production
# ================================
# Environment Identification
# ================================
# Options: development | staging | production
NODE_ENV=development
# ================================
# API Configuration
# ================================
# SnapBack API server URL
# Development: http://localhost:3001
# Staging: https://api.staging.snapback.dev
# Production: https://api.snapback.dev
API_URL=http://localhost:3001
# ================================
# Authentication
# ================================
# API Key for MCP server authentication
# Format: sk_live_* (production) or sk_test_* (development)
API_KEY=sk_test_your_mcp_api_key_here
# ================================
# Database Configuration
# ================================
# PostgreSQL connection for direct database access
DATABASE_URL=postgresql://snapback:snapback@localhost:5432/snapback_dev
# ================================
# MCP Server Configuration
# ================================
# Server name and version
MCP_SERVER_NAME=snapback-mcp
MCP_SERVER_VERSION=1.0.0
# ================================
# Logging
# ================================
# Log level: debug, info, warn, error
LOG_LEVEL=info
# ================================
# Feature Flags
# ================================
# Enable specific MCP capabilities
ENABLE_FILE_OPERATIONS=true
ENABLE_SNAPSHOT_OPERATIONS=true
ENABLE_ANALYTICS=true
# ================================
# Development/Testing Only
# ================================
# Mock API responses (for testing without real API)
MOCK_API=false
# Enable debug mode
DEBUG=false