.env.example•1.57 kB
# MCP Firebird Environment Variables
# Copy this file to .env in your project root and customize the values
# === Database Connection ===
FIREBIRD_DATABASE=/path/to/your/database.fdb
FIREBIRD_HOST=localhost
FIREBIRD_PORT=3050
FIREBIRD_USER=SYSDBA
FIREBIRD_PASSWORD=masterkey
FIREBIRD_ROLE=
# === Wire Encryption (Firebird 3.0+) ===
# Requires node-firebird-driver-native
# Options: Disabled, Enabled, Required
FIREBIRD_WIRECRYPT=Disabled
# === Transport Configuration ===
# Options: stdio, sse, http, unified
TRANSPORT_TYPE=stdio
# For HTTP/SSE transports:
HTTP_PORT=3012
SSE_PORT=3003
# Legacy ports (deprecated)
PORT=3001
WS_PORT=3002
# === HTTP Streamable Mode ===
# Default: stateless (true)
# Set to false for stateful mode (requires session management)
STREAMABLE_STATELESS_MODE=true
# Session timeout for stateful mode (milliseconds)
STREAMABLE_SESSION_TIMEOUT_MS=1800000
# === Security ===
# Path to security configuration file (optional)
SECURITY_CONFIG_PATH=
# === Logging ===
# Options: error, warn, info, debug
LOG_LEVEL=info
# === Advanced Options ===
# Use native driver (supports wire encryption)
# Set via command line: --use-native-driver
USE_NATIVE_DRIVER=false
# Page size for query results
PAGE_SIZE=100
# Query timeout (milliseconds)
QUERY_TIMEOUT=30000
# Maximum database connections
MAX_CONNECTIONS=50
# === Node Environment ===
NODE_ENV=development
# === Deprecated Variables (use FIREBIRD_* instead) ===
# FB_HOST=localhost
# FB_PORT=3050
# FB_DATABASE=/path/to/your/database.fdb
# FB_USER=SYSDBA
# FB_PASSWORD=masterkey
# FB_ROLE=