env.staging.example•2.25 kB
# ============================================
# Tableau MCP Server - STAGING Environment
# ============================================
# Copy this file to .env.staging and fill in your values
# DO NOT commit .env.staging to version control
# ============================================
# Environment
# ============================================
NODE_ENV=staging
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
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-staging
# K_REVISION=tableau-mcp-staging-00001
# K_CONFIGURATION=tableau-mcp-staging
# ============================================
# 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 Staging
# ============================================
# - Use test Tableau credentials if available
# - Lower resource limits to reduce costs
# - Scale to zero when not in use
# - Use for testing before production deployment