Home
Features¶
- 80% API Coverage - 876 of Canvas's 1086 documented endpoints, spec-verified in CI against the official Canvas API spec
- Multiple Output Formats - Table, JSON, YAML, and CSV output
- Bulk Operations - Grade submissions in bulk from CSV files
- Course Synchronization - Sync content between Canvas instances
- Intelligent Caching - Fast responses with automatic cache invalidation
- Secure Authentication - OAuth 2.0 with PKCE flow (confidential or secret-less public clients), tokens stored in your system keyring
- MCP Integration - Use Canvas CLI as an MCP server for AI coding assistants
- AI Agent Skill - Bundled skill that teaches Claude Code, Cursor, and other agents how to drive the CLI
- Agent Safety -
canvas agent guardgenerates safety config so AI agents can read freely but need approval to write - Docker Image - Distroless image on GHCR for containerized and CI usage
- Signed Releases - cosign-signed checksums and SBOMs on every release
Quick Start¶
Download the latest release from GitHub Releases. Checksums are signed with cosign — see Installation for verification steps.
Then authenticate with Canvas:
Example Usage¶
# List your courses
canvas courses list
# List assignments for a course
canvas assignments list --course-id 123
# Grade a submission
canvas submissions grade --course-id 123 --assignment-id 456 --user-id 789 --score 95
# Bulk grade from CSV
canvas submissions bulk-grade --course-id 123 --csv-file grades.csv
# Export data as JSON
canvas users list --course-id 123 --output json
Documentation¶
-
Getting Started
Install Canvas CLI and authenticate with your Canvas instance
-
User Guide
Learn how to configure and use Canvas CLI effectively
-
Command Reference
Complete reference for all available commands
-
Tutorials
Step-by-step guides for common workflows
-
AI Agent Skill
Teach Claude Code, Cursor, and other AI agents to drive Canvas CLI
-
Agent Safety
Generate guardrails so AI agents can read Canvas freely but need approval to write
Support¶
- Issues: GitHub Issues
- Discussions: GitHub Discussions
License¶
Canvas CLI is released under the MIT License.