.env.example•3.04 kB
# MCP Builder CLI Environment Configuration
# Copy this file to .env and fill in your actual values
# =============================================================================
# OpenAI Configuration
# =============================================================================
# OpenAI API Key for AI-powered parsing and optimization
# Get your API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=sk-your-openai-api-key-here
# OpenAI model to use for parsing (default: gpt-4)
# Supported models: gpt-3.5-turbo, gpt-4, gpt-4-turbo
OPENAI_MODEL=gpt-4
# OpenAI request timeout in milliseconds (default: 30000)
OPENAI_TIMEOUT=30000
# Maximum tokens for OpenAI responses (default: 4000)
OPENAI_MAX_TOKENS=4000
# Temperature for OpenAI responses (0.0-2.0, default: 0.1)
# Lower values = more focused, higher values = more creative
OPENAI_TEMPERATURE=0.1
# =============================================================================
# MCP Server Configuration (for generated servers)
# =============================================================================
# Enable debug logging (true/false, default: false)
DEBUG=false
# API request timeout in milliseconds (default: 30000)
API_TIMEOUT=30000
# Maximum response length in characters (default: 50000)
MAX_RESPONSE_LENGTH=50000
# Allow requests to localhost (true/false, default: false)
ALLOW_LOCALHOST=false
# Allow requests to private IP addresses (true/false, default: false)
ALLOW_PRIVATE_IPS=false
# User agent string for HTTP requests
USER_AGENT=MCP-Builder-Generated-Server/1.0.0
# =============================================================================
# CLI Configuration
# =============================================================================
# Default output directory for generated code
DEFAULT_OUTPUT_DIR=./output
# Default template directory (optional)
DEFAULT_TEMPLATE_DIR=
# Suppress non-error output (true/false, default: false)
QUIET=false
# Disable AI-powered features (true/false, default: false)
NO_AI=false
# =============================================================================
# Development Configuration
# =============================================================================
# Node.js environment (development/production/test)
NODE_ENV=development
# Enable verbose logging for development
VERBOSE=false
# Test output directory
TEST_OUTPUT_DIR=./test-output
# =============================================================================
# Docker Configuration
# =============================================================================
# Docker registry for publishing images
DOCKER_REGISTRY=
# Docker image tag
DOCKER_TAG=latest
# =============================================================================
# CI/CD Configuration
# =============================================================================
# NPM registry token for publishing
NPM_TOKEN=
# Docker Hub username
DOCKER_USERNAME=
# Docker Hub password/token
DOCKER_PASSWORD=
# GitHub token for releases
GITHUB_TOKEN=