env.example•1.8 kB
# Unified Travel Concierge MCP Server Environment Configuration
# ===========================================
# REQUIRED: API Keys
# ===========================================
# SerpAPI Key (required for flight, hotel, event, and finance services)
# Get your free API key from: https://serpapi.com/
SERPAPI_KEY=your_serpapi_key_here
# ===========================================
# Unified Server Configuration
# ===========================================
# Server host and port for the unified server
HOST=0.0.0.0
PORT=8000
# Transport mode: stdio, sse, or streamable-http
TRANSPORT=streamable-http
# Path for streamable-http endpoint
PATH=/
# ===========================================
# Optional: Individual Server Ports
# (Only needed if running servers separately)
# ===========================================
# FLIGHT_SERVER_PORT=8001
# HOTEL_SERVER_PORT=8002
# EVENT_SERVER_PORT=8003
# GEOCODER_SERVER_PORT=8004
# WEATHER_SERVER_PORT=8005
# FINANCE_SERVER_PORT=8006
# ===========================================
# Production Configuration (optional)
# ===========================================
# Domain Configuration (for production deployment)
# DOMAIN=your-domain.com
# SSL_EMAIL=your-email@domain.com
# Data Persistence
# DATA_DIR=./data
# ===========================================
# Notes for MCP Users
# ===========================================
# When using MCP with streamable-http transport via Cursor or other IDEs,
# you can also provide the SERPAPI_KEY in your mcp.json configuration:
#
# "unified-travel-concierge": {
# "url": "http://localhost:8000/",
# "transport": "streamable-http",
# "env": {
# "SERPAPI_KEY": "your-api-key-here"
# }
# }
#
# The mcp.json env values will override these .env file values when
# connecting through the MCP client.