Skip to content
MCP server

Canvas LMS (read-only)

Read-only Canvas LMS server for students: what changed and search inside course files

Runs locally

Canvas LMS (read-only) is an MCP server for education and exams. It runs locally on your machine and is started by your AI client.

Platforms
CLI, Self-hosted
Runs
Locally
What it can do
Can change data (1 tool)
Access
Needs a secret key or token
Version
2.2.1

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add canvas-readonly-mcp --env CANVAS_BASE_URL='<CANVAS_BASE_URL>' --env CANVAS_TOKEN='<CANVAS_TOKEN>' -- npx -y canvas-readonly-mcp

Add --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-readonly-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "canvas-readonly-mcp"
      ],
      "env": {
        "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
        "CANVAS_TOKEN": "<CANVAS_TOKEN>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "canvas-readonly-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "canvas-readonly-mcp"
      ],
      "env": {
        "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
        "CANVAS_TOKEN": "<CANVAS_TOKEN>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "canvas-readonly-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "canvas-readonly-mcp"
      ],
      "env": {
        "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
        "CANVAS_TOKEN": "<CANVAS_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "canvas-readonly-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "canvas-readonly-mcp"
      ],
      "env": {
        "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
        "CANVAS_TOKEN": "<CANVAS_TOKEN>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add canvas-readonly-mcp --env CANVAS_BASE_URL='<CANVAS_BASE_URL>' --env CANVAS_TOKEN='<CANVAS_TOKEN>' -- npx -y canvas-readonly-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.canvas-readonly-mcp]
command = "npx"
args = ["-y", "canvas-readonly-mcp"]
env = { CANVAS_BASE_URL = "<CANVAS_BASE_URL>", CANVAS_TOKEN = "<CANVAS_TOKEN>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "canvas-readonly-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "canvas-readonly-mcp"
      ],
      "env": {
        "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
        "CANVAS_TOKEN": "<CANVAS_TOKEN>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "canvas-readonly-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "canvas-readonly-mcp"
          ],
          "env": {
            "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
            "CANVAS_TOKEN": "<CANVAS_TOKEN>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e CANVAS_BASE_URL='<CANVAS_BASE_URL>' -e CANVAS_TOKEN='<CANVAS_TOKEN>' canvas-readonly-mcp npx -- -y canvas-readonly-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "canvas-readonly-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "canvas-readonly-mcp"
          ],
          "env": {
            "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
            "CANVAS_TOKEN": "<CANVAS_TOKEN>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "canvas-readonly-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "canvas-readonly-mcp"
          ],
          "env": {
            "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
            "CANVAS_TOKEN": "<CANVAS_TOKEN>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "canvas-readonly-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "canvas-readonly-mcp"
          ],
          "env": {
            "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
            "CANVAS_TOKEN": "<CANVAS_TOKEN>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "canvas-readonly-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "canvas-readonly-mcp"
          ],
          "env": {
            "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
            "CANVAS_TOKEN": "<CANVAS_TOKEN>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "canvas-readonly-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "canvas-readonly-mcp"
          ],
          "env": {
            "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
            "CANVAS_TOKEN": "<CANVAS_TOKEN>"
          }
        }
      }
    }

    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-readonly-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "canvas-readonly-mcp"
          ],
          "env": {
            "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
            "CANVAS_TOKEN": "<CANVAS_TOKEN>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "canvas-readonly-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "canvas-readonly-mcp"
          ],
          "env": {
            "CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
            "CANVAS_TOKEN": "<CANVAS_TOKEN>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • CANVAS_BASE_URLYour Canvas address, e.g. https://canvas.yourschool.eduRequired
  • CANVAS_TOKENCanvas personal access token (Account → Settings → New access token)Required
  • CANVAS_HOST_ALIASESOther hostnames of the same Canvas, comma-separated (optional)

About Canvas LMS (read-only)

The server keeps daily snapshots of your Canvas courses so a question like what changed since yesterday is a single call. It reports new announcements, moved deadlines, new grades, edited pages and even which slides in a lecture PDF changed.

Search runs over pages, assignments, announcements, discussions, the syllabus and the text of linked PDFs, slide decks and documents, returning page or slide numbers. It finds files linked from pages and modules even when the Files tab is hidden. It only sends GET requests, so it cannot submit, post or grade, and it does not mark discussions as read.

You create a personal access token in Canvas settings and supply your Canvas address; the token stays with you, in a system keychain for the Claude Desktop extension. The README notes some schools disable student tokens, and that it does not support Canvas OAuth. It states it is not affiliated with Instructure.

Tools this server provides (26)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 26 tools changes data; 4 names don't say.

From the server's own tool labels and tool names; not verified by us.

canvas_changes_since
What changed since a time across pages, assignments, announcements, quizzes and files.
canvas_searchName suggests: reads
Full-text search across courses and linked file contents.
canvas_course_snapshot
Stored state of a course without calling Canvas.
canvas_snapshot_statusName suggests: reads
Snapshot health, last run and next run.
canvas_run_snapshotName suggests: changes
Take a snapshot now and return what changed.
canvas_whoami
The Canvas user the token belongs to.
canvas_list_coursesName suggests: reads
Your courses with ids and your role.
canvas_whats_new
Canvas's own activity stream since a time.
canvas_list_planner_itemsName suggests: reads
Dated items in a window with submission status.
canvas_list_assignmentsName suggests: reads
Assignments and due dates.
canvas_get_assignmentName suggests: reads
One assignment with rubric and your submission.
canvas_list_quizzesName suggests: reads
Classic and New Quizzes.
canvas_get_quizName suggests: reads
Quiz details including time limit and attempts.
canvas_list_announcementsName suggests: reads
Announcements across courses.
canvas_list_discussionsName suggests: reads
Discussion topics.
canvas_get_discussionName suggests: reads
A whole thread with replies, without marking it read.
canvas_get_syllabusName suggests: reads
The syllabus page.
canvas_list_modulesName suggests: reads
Module structure with items.
canvas_list_pagesName suggests: reads
Course pages.
canvas_get_pageName suggests: reads
A course page as text with file links.
canvas_list_linked_filesName suggests: reads
Every file linked from the course.
canvas_list_filesName suggests: reads
The full Files area.
canvas_read_fileName suggests: reads
Text of a PDF, PPTX, DOCX, text file or ZIP listing.
canvas_list_calendar_eventsName suggests: reads
Calendar events.
canvas_get_gradesName suggests: reads
Your own scores, grades and comments.
canvas_api_getName suggests: reads
Escape hatch for any GET /api/v1 endpoint.

What it does

Change tracking
Daily snapshots show new, edited or moved items since a chosen time.
File text search
Searches the text of linked PDFs, slides and documents with page numbers.
Strictly read-only
Only GET requests; nothing is submitted or marked read.
Grades and rubrics
Shows your submissions, teacher comments and rubric scores as a student.
Planner view
Lists everything dated in a window with submission status.
Flexible install
Claude Desktop extension, local stdio, or your own server.

Good for

  • Ask what changed in my courses since yesterday
  • Find which lecture covered dynamic programming
  • See which slides in lecture 5 changed
  • Check what is due in the next two weeks and what is unsubmitted

Canvas LMS (read-only) FAQ

Can Canvas LMS (read-only) change anything in Canvas?

No. It only sends GET requests.

What do I need to use Canvas LMS (read-only)?

Your Canvas address and a personal access token.

What if my school disables tokens?

Ask Canvas or IT support to enable one, since the server needs it and does not support Canvas OAuth.

Is Canvas LMS (read-only) official?

No, the README says it is not affiliated with or endorsed by Instructure.

How do I add Canvas LMS (read-only) to Claude Code?

Run this command in your terminal: claude mcp add canvas-readonly-mcp --env CANVAS_BASE_URL='<CANVAS_BASE_URL>' --env CANVAS_TOKEN='<CANVAS_TOKEN>' -- npx -y canvas-readonly-mcp

What are the best alternatives to Canvas LMS (read-only)?

The closest alternatives to Canvas LMS (read-only) are Scholar Sidekick, VEOSKILL, SynapseLingo Tutor, EngMock and intern.lk.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers