MERAKI_API_KEY="Meraki API Key here"
MERAKI_ORG_ID="Meraki Org ID here"

# Optional: Enable/disable caching (default: true)
# Caches GET/read-only operations to reduce API calls and improve performance
ENABLE_CACHING=true

# Optional: Cache time-to-live in seconds (default: 300 = 5 minutes)
# How long to keep cached responses before fetching fresh data
CACHE_TTL_SECONDS=300

# Optional: Enable read-only mode (default: false)
# When true, blocks all write operations (create/update/delete)
# Useful for safe exploration without risking changes
READ_ONLY_MODE=false

# ===== RESPONSE SIZE MANAGEMENT (NEW) =====
# These settings help prevent context overflow from large API responses

# Optional: Enable file caching for large responses (default: true)
# When enabled, large responses are saved to files and a truncated preview is returned
ENABLE_FILE_CACHING=true

# Optional: Maximum response size in tokens (default: 5000)
# Responses larger than this will be saved to files and truncated
# Adjust based on your context window needs (lower = more aggressive truncation)
MAX_RESPONSE_TOKENS=5000

# Optional: Maximum items per page for paginated endpoints (default: 100)
# Enforces a limit on perPage/pageSize parameters to prevent oversized responses
# If a request exceeds this, it will be automatically reduced
MAX_PER_PAGE=100

# Optional: Directory for cached response files (default: .meraki_cache)
# Large responses are saved here as JSON files for later retrieval
RESPONSE_CACHE_DIR=.meraki_cache

# ===== TRANSPORT CONFIGURATION =====
# Transport mode: "stdio" (default), "http" (StreamableHTTP), or "sse"
#   stdio: For Claude Desktop / Cursor local connections (default)
#   http:  For remote/Docker deployments via StreamableHTTP
#   sse:   For clients that only support Server-Sent Events
MCP_TRANSPORT=stdio

# Host to bind when using http/sse transport (default: 127.0.0.1)
# Use 0.0.0.0 for Docker or to accept remote connections
MCP_HOST=127.0.0.1

# Port to bind when using http/sse transport (default: 8000)
MCP_PORT=8000