# Siigo API credentials (required for stdio mode)
SIIGO_USERNAME=your_username
SIIGO_ACCESS_KEY=your_access_key
SIIGO_PARTNER_ID=your_partner_id
# Tool mode: controls which tools are available
# - read_only (default): Only list_* and get_* tools (safe)
# - standard: Read + create/update/delete (no DIAN operations)
# - full: All tools including stamp_invoice, annul_invoice (production)
# SIIGO_MODE=read_only
# Lazy tools mode: reduces token usage from ~5600 to ~400 tokens
# Only loads discovery tools (list_siigo_tools, get_tool_schema)
# LLM discovers and loads tool schemas on demand
# Useful for smaller context models or cost optimization
# SIIGO_LAZY_TOOLS=true
# Transport mode: "stdio" (default) or "http"
# - stdio: Local single-tenant mode, uses env vars above for credentials
# - http: Multi-tenant mode, expects credentials via request headers:
# X-Siigo-Username, X-Siigo-Access-Key, X-Siigo-Partner-Id
# MCP_TRANSPORT=stdio
# Port for HTTP mode (Railway sets this automatically)
# PORT=8000
# Dry-run mode: mutations are logged but not executed (for testing)
# DRY_RUN=true
# Optional: Logfire observability
# LOGFIRE_TOKEN=your_logfire_token