SkillAgentSearch skills...

canvas-api-mcp

Canvas MCP server for Canvas LMS: 16 curated student tools plus a gateway reaching all 1,116 Canvas API endpoints

Install / Use

claude mcp add JohannsenLum -- npx -y github:JohannsenLum/canvas-api-mcp

If the server publishes to npm under a different name, use that package instead โ€” check the repo README.

About this skill
๐Ÿ”Œ

MCP Server

Model Context Protocol server

Quality Score

80/100

Category

Design

Supported Platforms

Claude Code
Claude Desktop

Our assessment of canvas-api-mcp

canvas-api-mcp scores 80/100 on our quality scale, 223rd of 258 Design skills we index.

Its MCP Server is 14 KB long, well organised into 17 sections with 13 code examples: a thorough specification that gives an agent plenty to work with.

It has 3 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
30/30
Structure
20/20
Description
12/15
Adoption
3/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so canvas-api-mcp is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit โ€” read the skill file before letting an agent act on it.

canvas-api-mcp compared with similar skills

All 4 of these similar skills score higher than canvas-api-mcp; compare them before choosing.

SkillScoreStarsUpdatedFormat
canvas-api-mcp (this skill)by JohannsenLum8032mo agoMCP Server
Agent-Reachby Panniantong100101.9ktodayCLAUDE.md
headroomby headroomlabs-ai10077.7ktodayCLAUDE.md
CowAgentby zhayujie10047.6ktodayCLAUDE.md
Scraplingby D4Vinci10089.6k2d agoMCP Server

Frequently asked questions

How do I install canvas-api-mcp?
Run claude mcp add JohannsenLum -- npx -y github:JohannsenLum/canvas-api-mcp. The install tabs above show the steps for each supported agent.
Which AI agents does canvas-api-mcp work with?
It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
Is canvas-api-mcp safe to use?
It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is canvas-api-mcp still maintained?
The repository was last updated about 2 months ago, so canvas-api-mcp is actively maintained.
<!-- mcp-name: io.github.JohannsenLum/canvas-api-mcp -->

canvas-api-mcp

<h2 align="center">Never miss an assignment deadline again.</h2> <p align="center"> Ask your AI what's due and it reads the answer straight from Canvas:<br> real deadlines, real submission status, no copying anything across. </p>

An MCP server for Canvas LMS. 16 curated tools for everyday student work, plus a gateway that reaches every endpoint your Canvas instance exposes.

<p align="center"> <img src="https://raw.githubusercontent.com/JohannsenLum/canvas-api-mcp/main/assets/header.svg" alt="Terminal. Question one: 'what mods am I taking this sem?' Answered instantly by the curated my_courses tool (CS3230, CS2040S, MA2001, GEA1000). Question two: 'what groups am I in?' No curated tool covers it, so search_canvas_api finds GET /v1/users/self/groups among 1,116 Canvas endpoints and canvas_request executes it. 18 tools ยท 1,116 endpoints reachable ยท 149 tests ยท MIT." width="840"> </p>

๐Ÿ“– Documentation: mcp.johannsenlum.com/canvas-lms ยท install guide ยท tool reference ยท skills ยท compliance

PyPI Python 3.11+ License: MIT MCP Registry GitHub stars

Personal-use software. Canvas's API Policy requires OAuth for applications used by multiple people, and Canvas OAuth cannot be implemented safely by locally installed software (no PKCE, and client_secret cannot be shipped in a package). Use this with your own token on your own account. See Compliance.

What you can ask it

Real prompts, and which tool answers them.

You: What's due this week? Claude: (calls whats_due): You have 3 things due: Problem Set 4 (Thu, CS3230), a discussion reply (Fri, IS4302), and the Milestone 2 report (Sun, EE2211).

You: How am I doing in my databases course, and what's on the syllabus for week 6? Claude: (calls my_grades, then get_syllabus, then course_content for the week 6 module): You're at 87% overall. Week 6 covers normalization and has a reading plus a lab file due Friday.

You: Summarize the PDF lecture notes for lecture 8 and pull up my submission for the essay so I can see the feedback. Claude: (calls list_files + read_file for the PDF, then my_submission for the essay): ...

You: Reply to the "Project teams" discussion and say I'm free after 3pm for the group meeting. Claude: (calls post_discussion_reply โœ๏ธ): Posted to the thread.

You: Has Canvas ever given me quiz statistics broken down by question, across the whole semester? Claude: (calls search_canvas_api to find the right endpoint, then canvas_request to call it): ...

The last example is the point of the gateway tools: if an endpoint exists on your Canvas instance, search_canvas_api can find it and canvas_request can call it, even though only 16 tools are hand-curated.

Install

Prerequisites

  • Python 3.11+

  • A Canvas personal access token. Your institution must allow students to create them: check Canvas โ†’ Account โ†’ Settings โ†’ Approved Integrations for a "+ New access token" button. Full walkthrough with screenshots: mcp.johannsenlum.com/canvas-lms/install.

    Note that the token expires. Since Instructure's October 2025 security update, accounts holding only student roles must set an expiry no more than 120 days out, and institutions often cap it lower (NUS allows 90). Write the date down: an expired token makes every tool return 401 at once, which looks like a broken install rather than a credential that simply ran out.

Running the server

canvas-api-mcp is published on PyPI. Run it with:

uvx canvas-api-mcp

Install from source (contributors / unreleased main). Not part of the normal install path above, only needed if you want the latest unreleased code instead of the published PyPI release:

uvx --from git+https://github.com/JohannsenLum/canvas-api-mcp canvas-api-mcp

Or run from a local clone:

git clone https://github.com/JohannsenLum/canvas-api-mcp
cd canvas-api-mcp
uv sync

Quick install (one-click)

One-click deeplinks exist for Cursor, VS Code, and LM Studio only. No other client has a documented install-link format. These prefill the config below but still need CANVAS_BASE_URL and CANVAS_TOKEN filled in afterward.

Add to Cursor Add to VS Code Add to LM Studio

All clients (manual config)

Your token stays on your machine, in your own config file. It is never transmitted anywhere except directly to your Canvas instance.

| Client | Deeplink? | |---|---| | Claude Code | no | | Claude Desktop | no | | Cursor | yes, above | | VS Code | yes, above | | LM Studio | yes, above | | Zed | no | | Windsurf | no (Windsurf only resolves servers in its own registry) |

<a id="config-claude-code"></a>

<details> <summary><strong>Claude Code</strong>: <code>~/.claude.json</code></summary>
{
  "mcpServers": {
    "canvas": {
      "command": "uvx",
      "args": ["canvas-api-mcp"],
      "env": {
        "CANVAS_BASE_URL": "https://canvas.yourschool.edu",
        "CANVAS_TOKEN": "your-token-here"
      }
    }
  }
}
</details>

<a id="config-claude-desktop"></a>

<details> <summary><strong>Claude Desktop</strong>: <code>claude_desktop_config.json</code></summary>

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

No one-click install exists for Claude Desktop (it installs .mcpb bundles, not deeplinks). Copy this JSON in via Settings โ†’ Developer โ†’ Edit Config:

{
  "mcpServers": {
    "canvas": {
      "command": "uvx",
      "args": ["canvas-api-mcp"],
      "env": {
        "CANVAS_BASE_URL": "https://canvas.yourschool.edu",
        "CANVAS_TOKEN": "your-token-here"
      }
    }
  }
}
</details>

<a id="config-cursor"></a>

<details> <summary><strong>Cursor</strong>: <code>~/.cursor/mcp.json</code></summary>

Fallback for the button above, or if you'd rather paste it directly:

{
  "mcpServers": {
    "canvas": {
      "command": "uvx",
      "args": ["canvas-api-mcp"],
      "env": {
        "CANVAS_BASE_URL": "https://canvas.yourschool.edu",
        "CANVAS_TOKEN": "your-token-here"
      }
    }
  }
}
</details>

<a id="config-vscode"></a>

<details> <summary><strong>VS Code</strong>: <code>.vscode/mcp.json</code></summary>

Fallback for the button above, or if you'd rather paste it directly. Note VS Code uses a servers key, not mcpServers:

{
  "servers": {
    "canvas": {
      "type": "stdio",
      "command": "uvx",
      "args": ["canvas-api-mcp"],
      "env": {
        "CANVAS_BASE_URL": "https://canvas.yourschool.edu",
        "CANVAS_TOKEN": "your-token-here"
      }
    }
  }
}
</details>

<a id="config-lmstudio"></a>

<details> <summary><strong>LM Studio</strong>: <code>mcp.json</code> (Program โ†’ Install โ†’ Edit mcp.json)</summary>

Fallback for the button above, or if you'd rather paste it directly:

{
  "mcpServers": {
    "canvas": {
      "command": "uvx",
      "args": ["canvas-api-mcp"],
      "env": {
        "CANVAS_BASE_URL": "https://canvas.yourschool.edu",
        "CANVAS_TOKEN": "your-token-here"
      }
    }
  }
}
</details>

<a id="config-zed"></a>

<details> <summary><strong>Zed</strong>: <code>settings.json</code></summary>

No deeplink exists for Zed. Add this under context_servers in your Zed settings:

{
  "context_servers": {
    "canvas": {
      "source": "custom",
      "command": "uvx",
      "args": ["canvas-api-mcp"],
      "env": {
        "CANVAS_BASE_URL": "https://canvas.yourschool.edu",
        "CANVAS_TOKEN": "your-token-here"
      }
    }
  }
}
</details>

<a id="config-windsurf"></a>

<details> <summary><strong>Windsurf</strong>: <code>~/.codeium/windsurf/mcp_config.json</code></summary>

No deeplink exists for Windsurf. It only resolves servers from its own registry, so this has to be pasted in manually via Windsurf Settings โ†’ MCP Servers โ†’ Edit raw config:

{
  "mcpServers": {
    "canvas": {
      "command": "uvx",
      "args": ["canvas-api-mcp"],
      "env": {
        "CANVAS_BASE_URL": "https://canvas.yourschool.edu",
        "CANVAS_TOKEN": "your-token-here"
      }
    }
  }
}
</details>

Tools

| Tool | What it does | |---|---| | whoami | Identity and your role in each course | | get_calendar_feed_url | Your private calendar .ics link (only when you ask for it) | | my_courses | Active courses with code, term, role | | whats_due | Everything due, soonest first | | my_grades | Current score per course | | list_assignments | A course's assignments and submission state | | get_assignment | One assignment in full, with rubric | | my_submission | Your submission, score, and feedback | | submit_assignment โœ๏ธ | Submit work | | course_announcements | Recent announcements | | course_content | Modules and their contents | | list_files | Files in a course | | read_file | Extract text from PDF/DOCX/PPTX/text | | get_page | A Canvas wiki page by slug | | get_syllabus | A course's syllabus | | read_discussion | Topics, or one topic's replies | | post_discussion_reply โœ๏ธ | Post to a discussion | | search_canvas_api | Find any endpoint by keyword (gateway) | | canvas_request โœ๏ธ | Execute any endpoint (gateway) |

โœ๏ธ writes to Canvas. That's 3 write tools total: submit_assignment, post_discussion_reply, and canvas_request when called with a non-GET method (GET calls through canvas_request are read-only).

search_canvas_api + canvas_request reach all ~1,116 endpoints your instance exposes. What they may do is decided by Canvas from your token's permissions: a teacher token unlocks educator endpoints with no change to this server.

Prompts

week_ahead, study_pack, grade_check.

Resources

canvas://me, `c

Truncated for display โ€” read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars3
CategoryDesign
Updated2mo ago
Forks12

Languages

Python

Trust signals

92/100

From repository metadata: license, adoption, age and documentation. Not a code audit โ€” see the Safety scan above for what the skill file itself contains.

1 low
canvas-api-mcp โ€” MCP Server: Install & Safety Check | SkillAgent