Set it up yourself
on your computer · four steps
-
Install Node.js and Git
Check in a terminal (macOS: Terminal, Windows: PowerShell):
node --versionmust say v22.13 or newer, andgit --versionmust work. Missing? Get the LTS installer from nodejs.org and Git from git-scm.com (on a Mac, typinggitoffers to install it). Then reopen the terminal. -
Download and run setup
git clone https://github.com/Digilize/canvas-mcp-server.git ~/canvas-mcp-server cd ~/canvas-mcp-server npm run setupSetup 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. -
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.
-
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.
-
Coming to your school
Hosted canvas-mcp works in Claude on the web and ChatGPT, with nothing to install. Canvas lets hosted apps sign you in only through your school's own Canvas login, so each school's IT has to approve it once. We're connecting schools one by one.
Ask us to connect your school. Until then, use the local setup: it can do even more, and your token never leaves your computer.
read the setup prompt
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).
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].