# Canvas MCP Server Configuration
# Copy this file to .env and fill in your values
# ===========================================
# REQUIRED: Canvas LMS Configuration
# ===========================================
# Your Canvas instance URL (no trailing slash)
# Examples:
# https://canvas.instructure.com
# https://school.instructure.com
# https://canvas.university.edu
CANVAS_BASE_URL=https://your-school.instructure.com
# Canvas API Token
# Generate at: Canvas > Account > Settings > New Access Token
# This is the PRIMARY authentication method for all API calls
CANVAS_API_TOKEN=your_api_token_here
# ===========================================
# OPTIONAL: Cookie-based Authentication
# ===========================================
# Path to Netscape/JSON format cookies file
# ONLY needed for file downloads (some Canvas instances require browser cookies)
# Export from browser using an extension like "Get cookies.txt"
# CANVAS_COOKIES_FILE=/path/to/cookies.txt
# ===========================================
# OPTIONAL: NotebookLM Integration
# ===========================================
# NotebookLM authentication is handled interactively via Playwright
# Run the notebooklm_auth_setup tool to authenticate with Google
# Session state is saved to: src/python-bridge/state.json
# ===========================================
# OPTIONAL: Advanced Settings
# ===========================================
# Cache TTL in minutes (default: 5)
# CANVAS_CACHE_TTL=5
# Rate limit: requests per second (default: 0.8, ~3000/hour)
# CANVAS_RATE_LIMIT=0.8
# Log level: debug, info, warn, error (default: info)
# LOG_LEVEL=info