.env.templateā¢3.78 kB
# =============================================================================
# VIBE CODER MCP SERVER CONFIGURATION TEMPLATE
# =============================================================================
# Copy this template to .env and configure the values according to your setup.
# Generated by Vibe Coder MCP Setup Wizard
# =============================================================================
# REQUIRED CONFIGURATION
# =============================================================================
# OpenRouter API Configuration (REQUIRED)
OPENROUTER_API_KEY=YOUR_OPENROUTER_API_KEY_HERE
# Get your API key from: https://openrouter.ai/
# =============================================================================
# š UNIFIED PROJECT ROOT CONFIGURATION (v0.2.4+) - RECOMMENDED
# =============================================================================
# Single variable for all project operations (replaces separate tool configurations)
# Set this to your project's root directory for unified configuration across all tools
VIBE_PROJECT_ROOT="/path/to/your/project"
# Enable automatic project root detection for CLI users
# Set to "true" for CLI usage (zero configuration), "false" for MCP client usage
VIBE_USE_PROJECT_ROOT_AUTO_DETECTION="true"
# =============================================================================
# DIRECTORY CONFIGURATION
# =============================================================================
# Base output directory for all tools (default: ./VibeCoderOutput)
VIBE_CODER_OUTPUT_DIR="/path/to/your/output/directory"
# =============================================================================
# LEGACY DIRECTORY CONFIGURATION (Still Supported for Backward Compatibility)
# =============================================================================
# These variables are used as fallbacks if VIBE_PROJECT_ROOT is not set
# Task Manager Read Directory (for file operations)
# VIBE_TASK_MANAGER_READ_DIR="/path/to/your/project/directory"
# Code Map Allowed Directory (for code analysis)
# CODE_MAP_ALLOWED_DIR="/path/to/your/codebase/directory"
# Security Mode: strict (recommended) or permissive
VIBE_TASK_MANAGER_SECURITY_MODE="strict"
# =============================================================================
# OPTIONAL LLM MODEL CONFIGURATION
# =============================================================================
# OpenRouter Base URL (default: https://openrouter.ai/api/v1)
OPENROUTER_BASE_URL="https://openrouter.ai/api/v1"
# Preferred models for different tasks
GEMINI_MODEL="google/gemini-2.5-flash-preview-05-20"
PERPLEXITY_MODEL="perplexity/sonar"
# =============================================================================
# OPTIONAL: LOGGING AND ENVIRONMENT
# =============================================================================
# Application Environment (development, production, test)
NODE_ENV="production"
# Logging Configuration
LOG_LEVEL="info"
# =============================================================================
# CONFIGURATION NOTES
# =============================================================================
#
# š UNIFIED CONFIGURATION BENEFITS (v0.2.4+):
# - One variable (VIBE_PROJECT_ROOT) replaces multiple tool-specific variables
# - Zero configuration for CLI users with auto-detection enabled
# - Context-aware behavior for different usage modes (CLI vs MCP client)
# - Backward compatible with existing legacy configurations
#
# DIRECTORY RESOLUTION PRIORITY:
# 1. Auto-detection (CLI only, if enabled)
# 2. VIBE_PROJECT_ROOT environment variable
# 3. MCP client configuration
# 4. Legacy environment variables
# 5. Current working directory (fallback)
#
# For more information, see README.md and documentation in docs/