# Example environment variables for Agent MCP Gateway
# Brave Search API Key (required for brave-search MCP server)
# Get your API key from: https://brave.com/search/api/
BRAVE_API_KEY=your_brave_api_key_here
# PostgreSQL connection URL (required for postgres MCP server)
# Format: postgresql://user:password@host:port/database
POSTGRES_URL=postgresql://postgres:password@localhost:5432/mydb
# Gateway Configuration Paths (optional - defaults shown)
# GATEWAY_MCP_CONFIG=.mcp.json # Checks cwd first, then falls back to ./config/.mcp.json
# GATEWAY_RULES=./.mcp-gateway-rules.json # Checks cwd first, then falls back to ./config/.mcp-gateway-rules.json
# Security Note: For production deployments or when using rules for access control
# (not just context optimization), store the rules file outside the project directory
# to prevent coding agents from reading or modifying permission configurations:
# GATEWAY_RULES=~/.claude/mcp-gateway-rules.json
# Gateway Settings (optional)
# GATEWAY_DEFAULT_AGENT=developer
# GATEWAY_TRANSPORT=stdio
# GATEWAY_INIT_STRATEGY=eager