Skip to main content
Glama

Canvas MCP Server

# Canvas MCP Server Environment Configuration # Copy this file to .env and fill in your values # Canvas API Configuration (Required) # =================================== # Your Canvas API token - get this from your Canvas profile settings # Go to: Canvas → Account → Settings → New Access Token CANVAS_API_TOKEN=your_canvas_api_token_here # Your Canvas API base URL (include /api/v1 at the end) # Examples: # - https://canvas.instructure.com/api/v1 # - https://your-school.instructure.com/api/v1 # - https://canvas.university.edu/api/v1 CANVAS_API_URL=https://your-canvas-instance.edu/api/v1 # Server Configuration (Optional) # =============================== # Server name for MCP registration (default: canvas-api) # MCP_SERVER_NAME=canvas-api # Privacy and Security Configuration (IMPORTANT for FERPA compliance) # Enable automatic anonymization of student data before sending to AI (default: true) ENABLE_DATA_ANONYMIZATION=true # Debug anonymization process - shows which data gets anonymized (default: false) # ANONYMIZATION_DEBUG=false # Enable debug logging (default: false) # DEBUG=false # API request timeout in seconds (default: 30) # API_TIMEOUT=30 # Cache TTL in seconds (default: 300 = 5 minutes) # CACHE_TTL=300 # Maximum concurrent API requests (default: 10) # MAX_CONCURRENT_REQUESTS=10 # Development Configuration (Optional) # =================================== # Log level for development (DEBUG, INFO, WARNING, ERROR) # LOG_LEVEL=INFO # Enable API request logging for debugging # LOG_API_REQUESTS=false # Canvas Instance Information (Optional but Recommended) # ===================================================== # Your institution name (for logging and identification) # INSTITUTION_NAME=Your University # Canvas instance region/timezone (for date handling) # TIMEZONE=America/Chicago # Setup Instructions # ================= # 1. Copy this file: cp env.template .env # 2. Edit .env with your Canvas API credentials # 3. Test connection: canvas-mcp-server --test # 4. Start server: canvas-mcp-server # Security Notes # ============== # - Never commit your .env file to version control # - Keep your API token secure and rotate it regularly # - Use minimal permissions for your Canvas API token # - The server runs locally and doesn't send data externally

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vishalsachdev/canvas-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server