env.production.example•2.38 kB
# ============================================
# Tableau MCP Server - PRODUCTION Environment
# ============================================
# Copy this file to .env.production and fill in your values
# DO NOT commit .env.production to version control
# ============================================
# Environment
# ============================================
NODE_ENV=production
PORT=8080
# ============================================
# Tableau Configuration
# ============================================
# Your Tableau Cloud or Server URL
# Cloud: https://prod-apnortheast-a.online.tableau.com
# Server: https://your-server.company.com
TABLEAU_SERVER_URL=https://YOUR_TABLEAU_SERVER.tableau.com
# Site ID (leave empty for default site, or specify site name)
TABLEAU_SITE_ID=
# Tableau Personal Access Token (PAT)
TABLEAU_TOKEN_NAME=your-token-name-here
TABLEAU_TOKEN_VALUE=your-token-value-here
# Tableau REST API Version (default: 3.23)
TABLEAU_API_VERSION=3.23
# ============================================
# MCP Server Authentication
# ============================================
# Generate a secure random API key for MCP authentication
# Example: openssl rand -base64 32
# IMPORTANT: Use a DIFFERENT key than staging
MCP_API_KEY=your-secure-api-key-here
# ============================================
# Cloud Run Specific (set by Cloud Run)
# ============================================
# These are automatically set by Cloud Run, included for local testing
# K_SERVICE=tableau-mcp-production
# K_REVISION=tableau-mcp-production-00001
# K_CONFIGURATION=tableau-mcp-production
# ============================================
# Logging & Monitoring
# ============================================
# Log level: debug, info, warn, error
LOG_LEVEL=info
# ============================================
# CORS Configuration
# ============================================
# Allowed origins for CORS (comma-separated)
# For Cursor: https://cursor.sh,https://api.cursor.sh
CORS_ORIGINS=https://cursor.sh,https://api.cursor.sh
# ============================================
# Notes for Production
# ============================================
# - Use production Tableau credentials
# - Higher resource limits for performance
# - Keep minimum 1 instance running for availability
# - Monitor logs and metrics closely
# - Rotate API keys and PATs regularly (every 90 days)