# Tulip MCP Server Configuration
# Copy this file to .env and fill in your values
# Required: Tulip API credentials
TULIP_API_KEY=your_api_key_here
TULIP_API_SECRET=your_api_secret_here
# Required: Your Tulip instance base URL
TULIP_BASE_URL=https://your-instance.tulip.co
# Optional: Workspace ID (only required for Account API keys, not Workspace API keys)
# If you're using a Workspace API key (Enterprise feature), leave this empty
# If you're using an Account API key, set this to your workspace ID (Usually DEFAULT)
TULIP_WORKSPACE_ID=your_workspace_id_here_if_using_account_api_key
# Optional: Rate limiting configuration
# Maximum number of retries for failed requests (default: 3)
MCP_MAX_RETRIES=3
# Base delay between retries in milliseconds (default: 1000)
MCP_BASE_DELAY=1000
# Maximum delay between retries in milliseconds (default: 30000)
MCP_MAX_DELAY=30000
# Optional: Tool selection configuration
# Control which tools are available using the ENABLED_TOOLS environment variable
# You can mix and match individual tools, categories, and types in a single comma-separated list
# Examples:
# Enable specific tools: ENABLED_TOOLS=listTables,getTable,createTableRecord
# Enable by categories: ENABLED_TOOLS=read-only,write
# Enable by types: ENABLED_TOOLS=table,machine,utility
# Mixed approach: ENABLED_TOOLS=table,read-only,listMachineTypes
ENABLED_TOOLS=table,read-only
# Available categories: read-only, write, admin
# Available types: table, machine, user, app, interface, station, station-group, utility
# Default (if not specified): read-only
# Optional: MCP Server configuration
MCP_SERVER_NAME=tulip-mcp
MCP_SERVER_VERSION=1.0.0
# Optional: Debug logging
# Simple debug toggle (default: false)
MCP_DEBUG=false