Canvas Lms MCP
MCP server with 187 tools for reading and managing Canvas LMS courses and grades
Canvas Lms MCP is an open-source MCP server for education and exams. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally
- What it can do
- Can delete data (1 tool)
- Access
- Needs a secret key or token
- Version
- 2.11.1
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add canvas-lms-mcp --env CANVAS_API_TOKEN='<CANVAS_API_TOKEN>' --env CANVAS_BASE_URL='<CANVAS_BASE_URL>' -- npx -y canvas-lms-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"canvas-lms-mcp": {
"command": "npx",
"args": [
"-y",
"canvas-lms-mcp"
],
"env": {
"CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>",
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"canvas-lms-mcp": {
"command": "npx",
"args": [
"-y",
"canvas-lms-mcp"
],
"env": {
"CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>",
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"canvas-lms-mcp": {
"command": "npx",
"args": [
"-y",
"canvas-lms-mcp"
],
"env": {
"CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>",
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"canvas-lms-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"canvas-lms-mcp"
],
"env": {
"CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>",
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add canvas-lms-mcp --env CANVAS_API_TOKEN='<CANVAS_API_TOKEN>' --env CANVAS_BASE_URL='<CANVAS_BASE_URL>' -- npx -y canvas-lms-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.canvas-lms-mcp]
command = "npx"
args = ["-y", "canvas-lms-mcp"]
env = { CANVAS_API_TOKEN = "<CANVAS_API_TOKEN>", CANVAS_BASE_URL = "<CANVAS_BASE_URL>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"canvas-lms-mcp": {
"command": "npx",
"args": [
"-y",
"canvas-lms-mcp"
],
"env": {
"CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>",
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "canvas-lms-mcp": { "command": "npx", "args": [ "-y", "canvas-lms-mcp" ], "env": { "CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>", "CANVAS_BASE_URL": "<CANVAS_BASE_URL>" } } } }Or run: gemini mcp add -s user -e CANVAS_API_TOKEN='<CANVAS_API_TOKEN>' -e CANVAS_BASE_URL='<CANVAS_BASE_URL>' canvas-lms-mcp npx -- -y canvas-lms-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "canvas-lms-mcp": { "command": "npx", "args": [ "-y", "canvas-lms-mcp" ], "env": { "CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>", "CANVAS_BASE_URL": "<CANVAS_BASE_URL>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "canvas-lms-mcp": { "command": "npx", "args": [ "-y", "canvas-lms-mcp" ], "env": { "CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>", "CANVAS_BASE_URL": "<CANVAS_BASE_URL>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "canvas-lms-mcp": { "command": "npx", "args": [ "-y", "canvas-lms-mcp" ], "env": { "CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>", "CANVAS_BASE_URL": "<CANVAS_BASE_URL>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "canvas-lms-mcp": { "command": "npx", "args": [ "-y", "canvas-lms-mcp" ], "env": { "CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>", "CANVAS_BASE_URL": "<CANVAS_BASE_URL>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "canvas-lms-mcp": { "command": "npx", "args": [ "-y", "canvas-lms-mcp" ], "env": { "CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>", "CANVAS_BASE_URL": "<CANVAS_BASE_URL>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "canvas-lms-mcp": { "command": "npx", "args": [ "-y", "canvas-lms-mcp" ], "env": { "CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>", "CANVAS_BASE_URL": "<CANVAS_BASE_URL>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "canvas-lms-mcp": { "command": "npx", "args": [ "-y", "canvas-lms-mcp" ], "env": { "CANVAS_API_TOKEN": "<CANVAS_API_TOKEN>", "CANVAS_BASE_URL": "<CANVAS_BASE_URL>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
CANVAS_API_TOKENCanvas personal access token (Account → Settings → Approved Integrations → New Access Token)RequiredCANVAS_BASE_URLCanvas instance base URL, origin only with no path, e.g. https://school.instructure.comRequired
About Canvas Lms MCP
This TypeScript server covers a wide slice of the Canvas LMS API: courses, assignments and overrides, submissions, gradebook history, rubrics, quizzes and New Quizzes, files, groups, enrollments, discussions, modules, pages, calendar, conversations, peer reviews, outcomes, analytics, content exports and migrations, accessibility and link audits, and quiz accommodations. It authenticates with a Canvas personal access token plus your institution's base URL.
Teachers and staff handling student data can switch on a FERPA mode that pseudonymises students. Seventeen workflow skills ship with it, for example surfacing at-risk students, auditing grade changes, tracking learning-outcome mastery, sweeping a course for accessibility problems and managing office-hour slots. The same workflows are served as MCP prompts for hosts without skill loaders.
Install options include a one-click .mcpb for Claude Desktop, deep links for Cursor and VS Code, a Claude Code plugin, and an npx init wizard. It supports stdio, HTTP and library-import modes under an MIT licence.
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 12 tools deletes data and 3 change data.
From the server's own tool labels and tool names; not verified by us.
- health_checkName suggests: reads
- Checks the server and Canvas connection.
- list_coursesName suggests: reads
- Lists courses.
- get_courseName suggests: reads
- Gets one course.
- get_syllabusName suggests: reads
- Gets a course syllabus.
- list_sectionsName suggests: reads
- Lists course sections.
- create_courseName suggests: changes
- Creates a course.
- update_courseName suggests: changes
- Updates a course.
- list_assignmentsName suggests: reads
- Lists assignments.
- create_assignmentName suggests: changes
- Creates an assignment.
- delete_assignmentName suggests: deletes
- Deletes an assignment.
- list_submissionsName suggests: reads
- Lists submissions.
- get_submissionName suggests: reads
- Gets one submission.
What it does
- Broad Canvas coverage
- 187 tools across courses, grading, quizzes, files and admin.
- Grading and feedback
- Grades submissions and adds comments.
- FERPA pseudonymisation
- Optional mode that hides student identities.
- Agent skills
- 17 reusable workflows such as at-risk student outreach.
- Audits
- Checks accessibility and broken links before launch.
- Flexible install
- One-click bundle, plugin, wizard or library import.
Good for
- Find students with missing work and draft outreach
- Audit who changed which grade and when
- Check a course for accessibility problems before it opens
- Grade a submission with feedback from an AI client
- Track learning outcome mastery for program review
Pricing
Open source
Free, MIT licensed
Canvas Lms MCP FAQ
What do I need to connect?
A Canvas personal access token and your institution's base URL.
Can Canvas Lms MCP protect student identities?
Yes, an optional FERPA mode pseudonymises students.
How many tools does Canvas Lms MCP have?
187 across 42 domains, per the registry description.
How do I install Canvas Lms MCP in Claude Desktop?
Download the .mcpb bundle and paste your token and base URL.
Is Canvas Lms MCP free?
Yes. Canvas Lms MCP is open source, so you can use and self-host it for free.
How do I add Canvas Lms MCP to Claude Code?
Run this command in your terminal: claude mcp add canvas-lms-mcp --env CANVAS_API_TOKEN='<CANVAS_API_TOKEN>' --env CANVAS_BASE_URL='<CANVAS_BASE_URL>' -- npx -y canvas-lms-mcp
What are the best alternatives to Canvas Lms MCP?
The closest alternatives to Canvas Lms MCP are Scholar Sidekick, Helium - Student Planner, StudyQA study abroad catalog, Braineos and ExamStep OET prep.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.