Canvas API MCP logo

Canvas API MCP

Connects AI assistants to Canvas LMS for course data, deadlines, grades, files, discussions, and broader API access.

Install Canvas API MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "canvas-api-mcp": {
      "command": "uvx",
      "args": [
        "canvas-api-mcp"
      ],
      "env": {
        "CANVAS_BASE_URL": "YOUR_VALUE_HERE",
        "CANVAS_TOKEN": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 19 tools correctly ().

Overview

Canvas API MCP MCP server exposes a Canvas LMS instance through MCP tools for course information, deadlines, grades, assignments, submissions, files, and discussions. It runs locally over stdio with Python 3.11+ and uses a Canvas base URL plus personal access token to call the institution's REST API. Reach for it when an assistant needs current Canvas data or when a less common endpoint must be discovered and requested through the API gateway.

Use cases

  • Check upcoming assignments and deadlines
  • Review grades and submission feedback
  • Read course files and extract document text
  • Search Canvas for less common API endpoints
  • Inspect modules, syllabi, announcements, and discussions

Key features

  • Canvas LMS REST API access
  • Due dates, grades, assignments, and submissions
  • Course files and document text extraction
  • Modules, syllabi, pages, announcements, and discussions
  • Canvas endpoint discovery and gateway requests
  • Private calendar feed URL retrieval

Tools19

What Canvas API MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/19 checks healthy over the last 111d

What it can do

From the 19 tools this server returned when we ran it; 19 declare their own safety hints.

Runs commands · 1Can delete or modify data · 3Handles credentials · 1Makes network requests · 18Read-only tools · 15
Network at startup2 connections
Files written at startup11

Observed 2026-11-19 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · canvas-api-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit3mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed19Callable tools this server registers over MCP.
Directory activity12 viewsConfig copies, upvotes, and views on AllMCPs.

How Canvas API MCP works

What Canvas API MCP MCP server does

Canvas API MCP connects an MCP-compatible assistant to a Canvas LMS account. It provides focused tools for common student workflows: identifying the current user and course roles, listing active courses, checking upcoming work, viewing grades, inspecting assignments and submissions, and reading course announcements or content.

The server also handles course materials and reference content. Assistants can list files, extract text from PDF, DOCX, PPTX, and plain-text files, retrieve wiki pages by slug, read syllabi, and inspect discussion topics or replies. A calendar tool returns the user's private .ics feed only when requested.

How it works

Canvas API MCP MCP server runs as a local stdio process. The standard launch command uses uvx canvas-api-mcp, and the process receives requests from the connected MCP client.

Alongside the curated tools, endpoint discovery supports less common Canvas features. search_canvas_api finds an endpoint by keyword, while the gateway can call the discovered endpoint through canvas_request.

Setup and configuration

Install Python 3.11 or newer and obtain a Canvas personal access token. Token creation depends on institutional policy: the account must expose the “New access token” option under Canvas Account, Settings, and Approved Integrations. Tokens expire, and student accounts may have institution-specific limits on their maximum lifetime.

Set these environment variables in the MCP client configuration:

  • CANVAS_BASE_URL: The URL of the institution's Canvas service.
  • CANVAS_TOKEN: A personal access token for the Canvas account.

The documented configuration works with Claude Code, Claude Desktop, Cursor, VS Code, LM Studio, Zed, and Windsurf. One-click installation links are documented for Cursor, VS Code, and LM Studio; the other listed clients use manual configuration. Source installation is also available through the repository, but the normal published-package path uses PyPI through uvx.

Tools and capabilities

Canvas API MCP MCP server includes tools for:

  • Identity, course enrollment, roles, and active-course details.
  • Due dates, assignment lists, assignment details, submissions, grades, and feedback.
  • Announcements, modules, syllabus content, wiki pages, and discussion replies.
  • Course file listing and text extraction from common document formats.
  • Private calendar-feed URL retrieval on request.
  • Keyword-based Canvas endpoint search and gateway requests for functionality not covered by a focused tool.

These capabilities support questions such as what is due soon, how a submission was graded, which module contains a file, or whether Canvas exposes a particular type of report.

Limitations and notes

The project is intended for personal use with the user's own Canvas token. It should therefore not be treated as a shared institutional application without reviewing the relevant policy and authentication requirements.

An expired or invalid token causes Canvas requests to return authentication errors, so token lifetime should be tracked separately from the MCP installation. Access is also limited by the permissions of the configured Canvas account and by the endpoints enabled or exposed by the institution's Canvas instance.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Canvas API MCP

Canvas API MCP is an MCP server that connects AI assistants to a Canvas LMS instance through its REST API. Its main tools cover identity, courses, deadlines, grades, assignments, submissions, announcements, files, pages, syllabi, discussions, and endpoint discovery, with a gateway for calling additional Canvas endpoints.

Install it with `uvx canvas-api-mcp` after installing Python 3.11 or newer. Add the command to your MCP client configuration, then provide `CANVAS_BASE_URL` and `CANVAS_TOKEN`.

Canvas API MCP needs `CANVAS_BASE_URL` and `CANVAS_TOKEN`. The first identifies your institution's Canvas service, and the second supplies a personal access token. Both values must be added to the MCP client's server configuration.

Yes, Canvas API MCP works with Cursor through a documented one-click installation link or manual MCP configuration. The setup still requires you to replace the example Canvas URL and token with your institution's values.

Yes, it can search for and call additional Canvas endpoints through its gateway tools. Use `search_canvas_api` to find an endpoint by keyword, then use `canvas_request` to make the request. Availability still depends on the endpoints exposed by your Canvas instance and account permissions.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCanvas API MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/canvas-api-mcp?style=directory)](https://allmcps.com/mcp/canvas-api-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/canvas-api-mcp"><img src="https://allmcps.com/api/badge/canvas-api-mcp?style=directory" alt="Canvas API MCP on AllMCPs" /></a>