Your Canvas LMS,
wired into your agent.

A read-only MCP server: your agent reads courses, deadlines, files and your inbox. It never writes back.

or set it up yourself

Paste it into Claude Code, Cursor or any AI agent. It sets up canvas-mcp on your computer.

Add it to your client

One setup for every app. Your token stays on your computer.

● canvas-mcpread-only

Set it up yourself

on your computer · four steps
  1. Install Node.js and Git

    Check in a terminal (macOS: Terminal, Windows: PowerShell): node --version must say v22.13 or newer, and git --version must work. Missing? Get the LTS installer from nodejs.org and Git from git-scm.com (on a Mac, typing git offers to install it). Then reopen the terminal.

  2. Download and run setup

    git clone https://github.com/Digilize/canvas-mcp-server.git ~/canvas-mcp-server cd ~/canvas-mcp-server npm run setup

    Setup builds canvas-mcp (about a minute), then asks for your Canvas address: what your browser shows in Canvas, up to the first “/”, like https://school.instructure.com.

  3. Create a Canvas token when setup asks

    In Canvas: Account → Settings → scroll to Approved Integrations → + New Access Token. Purpose: canvas-mcp, leave Expires empty, click Generate Token and copy it (Canvas shows it only once). Paste it into the terminal: it stays hidden. Setup checks it and asks which of your apps to add canvas-mcp to.

    No “+ New Access Token” button? Your school has turned tokens off, so canvas-mcp can't work there yet.

  4. Restart your app and ask

    Quit the app completely, open it again, and ask “What’s due this week?” Nothing else to start: your app runs canvas-mcp when it needs it.

Update: npm run update. Remove: npm run setup -- --remove. PDFs need Poppler (setup tells you). Full guide and troubleshooting: INSTALL.md.

read the setup prompt
Set up canvas-mcp for me: a read-only Canvas LMS server for AI apps that runs on my computer (open source: https://github.com/Digilize/canvas-mcp-server). My Canvas token must stay on this computer. How to work with me: I may not be technical. Go one step at a time. Before each step, say in one plain sentence what you'll do and why, and ask before you run a command or change a file. If something fails, explain it simply and fix it with me. 1. Check git --version and node --version (Node must be 22.13 or newer). If one is missing or too old, tell me exactly how to install it on my system (Node.js: the LTS installer from https://nodejs.org, or brew install node on macOS), wait until I say I'm done, and check again. 2. Download canvas-mcp: git clone https://github.com/Digilize/canvas-mcp-server.git ~/canvas-mcp-server (if that folder already exists, run git pull in it instead). 3. Walk me through getting two things from Canvas, click by click, and wait for me after each: a. My Canvas address: open Canvas in my browser and copy the address bar up to the first "/" after the domain, for example https://school.instructure.com b. An access token: open <my address>/profile/settings (Canvas → Account → Settings), scroll to "Approved Integrations", click "+ New Access Token", Purpose: canvas-mcp, leave Expires empty, click "Generate Token" and copy the token (Canvas shows it only once). If there is no "+ New Access Token" button, my school has turned tokens off: tell me canvas-mcp can't work there yet, and stop. 4. Run the setup. Offer me two ways, safest first: - I run it myself, so the token never enters this chat: tell me to open a terminal and run cd ~/canvas-mcp-server && npm run setup It asks for the address and the token (hidden), checks them with Canvas and asks which apps to add. - Or you run it: ask me to paste the token here, then (after I agree) run cd ~/canvas-mcp-server && CANVAS_TOKEN='<token>' npm run setup -- --url <address> --clients <app> with <app> = the app we're in: claude-code, claude-desktop, cursor, vscode, gemini or copilot. On Windows PowerShell: $env:CANVAS_TOKEN='<token>'; npm run setup -- --url <address> --clients <app> Never repeat the token back to me or write it anywhere else. 5. Tell me to quit and reopen the app, then to ask: "What's due this week?" If reading PDFs fails, offer to install Poppler (macOS: brew install poppler, Windows: winget install oschwartz10612.Poppler, Linux: sudo apt install poppler-utils). Ask first.

How it works

tools · your data · open source

Your agent gets 22 read-only tools (25 locally). Each one returns only the fields it needs, so grades, feedback and classmate lists can't leak.

  • Coursesterm, favorites, groups
  • Contentmodules, pages, announcements
  • Assignmentsdetails, rubrics, search
  • Deadlinesupcoming, missing, what's new
  • FilesPDF and slide text, page images
  • Inboxconversations, never marked read
  • Localruns on your computer. Your token stays in your app's settings; we never see it or anything you read.
  • Hostedcoming per school. Stores your Canvas sign-in, encrypted, and an ID like [email protected], deleted after 90 days unused. Your sign-in IP and browser, for security only, 30 days.
  • Wherethis site and the hosted service: Hetzner, Germany (EU). No analytics, no tracking.
  • Logshosted only: which tool ran, how long it took and whether it failed, so we can fix bugs. Tagged with a code that changes every day, never your name or content. Deleted after 14 days.
  • Tested23 real student questions. On the 19 the tools cover, 97% of runs were correct (83% across all 23).
Read the code on GitHub ↗

Questions

cost · schools · disconnecting
What does it cost?

Nothing. canvas-mcp is free and open source, and the hosted version will be free too.

Which schools work?

Locally: every Canvas, including schools on their own domain. Hosted: the schools we've connected. Ask us to add yours.

Why not hosted right away?

Canvas doesn't allow hosted apps to ask for a pasted token: they have to sign you in through your school, and each school's IT approves that once. Until yours has, the local setup works in Claude Code, Claude Desktop, Cursor, VS Code and the Gemini and Copilot CLIs. It needs Node.js and Git, and adds downloads and course sync.

Is this allowed by my school?

The agent sees exactly what you see in Canvas, nothing more. Some schools restrict personal tokens or third-party tools; check your school's IT policy.

Do I need to keep something running?

No. Your AI app starts canvas-mcp by itself whenever it needs it, and stops it when you quit. To get new features, run npm run update in the canvas-mcp-server folder.

How do I disconnect?

Run npm run setup -- --remove in the canvas-mcp-server folder, or delete the token in Canvas (Account → Settings → Approved Integrations) to cut off every app at once. Data deletion: [email protected].