You're viewing the Remote Edition. Only need it on one computer? See the simpler Local Edition →
Remote Edition · 242 tools · any device

Your entire Canvas,
one question away.

A self-hosted MCP server that gives your AI assistant full student access to Canvas LMS from your phone, laptop or the web. Always on, password-protected, with automatic failover across your computers.

Example chat: asking what score is needed on the final and what's due this week (sample data)
237tools
15tool groups
OAuth 2.1password-gated
~1 minfailover
Choose your edition

Remote or Local?

Both editions have the same 242 tools. The difference is where you can use them.

You are here

Remote

Best if you want Canvas everywhere.

  • Web, desktop and mobile AI apps
  • Always on, in the background
  • Password-protected ngrok tunnel
  • Automatic failover across several computers
  • Set up in about 15 minutes
Other edition

Local

Best if you only need it on one computer.

  • Claude Desktop, the ChatGPT desktop app and other MCP clients
  • Your AI app starts it automatically
  • Nothing exposed to the internet
  • Needs only Node.js and a Canvas token
  • Set up in about 5 minutes
Go to Local Edition →
Features

Built for how students actually use Canvas

More than a thin API wrapper. Higher-level tools answer the questions you really have.

Grade intelligence

What-if scores, “what do I need on the final”, weighted breakdowns and which assignments move your grade most.

Smart planning

Week-ahead view, semester snapshot, study priority ranking and every missing assignment across all courses in one call.

Safe submissions

Submit text, links and files. Every write shows a dry-run preview first and only sends when confirmed.

Discussions & inbox

Pull entire threads in one request, reply, and message instructors with recipient lookup.

Content & archives

Files, pages, modules, lecture captions and a full .imscc course export before access ends.

Always on

Runs in the background with optional failover between computers, over an ngrok or Cloudflare tunnel, or in Docker. One command sets it to start with your computer.

Status page

Open /status on your address to see if the server is online, which computer is serving, and which apps are signed in, with a sign-out button for each.

Phone alerts

New grades, announcements, work due soon, new assignments and teacher comments, by ntfy, Discord, Telegram, Slack, Teams or Pushover, instantly or as a daily digest.

Architecture

How it fits together

The server only listens on your own computer. A private tunnel with a password-protected login is the only way in.

Your AI appdesktop · web · mobile
→
ngrok tunnelHTTPS + OAuth
→
supervisor.jskeeps it alive · failover
→
index.js127.0.0.1:3939/mcp
→
Canvas APIyour school
Setup

Up and running in about 10 minutes

You need Node.js 18+ (22+ to read PDFs), a Canvas account and a free ngrok account (or a Cloudflare account with your own domain). Prefer containers? The repo has a Docker setup.

Install

npm install -g canvas-lms-mcp-remote
mkdir canvas-mcp
cd canvas-mcp
canvas-lms-mcp-remote init

That folder holds your settings. Prefer git? git clone the repo and run npm install instead.

Create a Canvas token

In Canvas, go to Account → Settings → Approved Integrations → + New Access Token. Copy it right away, because Canvas only shows it once.

Set up ngrok

Install ngrok, add your authtoken, and claim a free static domain in the ngrok dashboard.

winget install --id Ngrok.Ngrok -e
ngrok update
ngrok config add-authtoken <your-ngrok-token>

Don't skip ngrok update: the winget version is often too old for ngrok's free plan (ERR_NGROK_121).

Configure .env

Copy .env.example to .env and fill in your values.

CANVAS_API_TOKEN=your_canvas_token
CANVAS_BASE_URL=https://yourschool.instructure.com
CANVAS_MCP_PUBLIC_URL=https://your-domain.ngrok-free.dev
CANVAS_MCP_PASSWORD=a_long_random_password
CANVAS_MCP_CLUSTER_SECRET=another_long_random_secret

Start it

canvas-lms-mcp-remote doctor
canvas-lms-mcp-remote install-service

doctor checks your settings, token and tunnel and says how to fix anything wrong. install-service starts the server now and every time you sign in, on Windows, Linux or macOS. From source, use node cli.js doctor and node cli.js install-service.

Then open https://<your-domain>/status and enter your password to check it's online.

Connect your AI app, on every device

In your AI app's settings, add a custom connector (also called a remote MCP server) with the URL https://<your-domain>/mcp and log in with your password. Apps that sync connectors to your account will show it on your phone and desktop too. Then ask your assistant to run test_connection.

ChatGPT desktop app: open Settings → Plugins, go to the MCPs tab and click Add → Add MCP server. Choose Streamable HTTP, paste the same URL, add the header ngrok-skip-browser-warning with the value 1, and click Save. Then click Authenticate and log in with your password.

Command-line and editor clients: add an HTTP MCP server named canvas with the same URL.

The app

Rather click than type?

The free Canvas MCP Installer Assistant walks you through every step above with pictures and a check after each one. For a one-time $5 it does the whole Remote setup for you: ngrok, your settings, a test run and start at logon, and it can add Remote to the ChatGPT desktop app in one click. Card payments aren't open yet: to buy a key, email fireiscoolsolo@gmail.com. See screenshots and FAQ →

Windows may say "Windows protected your PC" because the app isn't code-signed yet. Click More info, then Run anyway. The Mac version is a beta and isn't signed by Apple yet: the first time you open it, click Done, then Open Anyway in System Settings → Privacy & Security.

Multiple computers

Run it on every computer you own

Install it on your desktop and your laptop, or more. One computer serves, the others stand by, and if the active one sleeps or shuts down, another takes over in about a minute. Nobody gets logged out.

ACTIVEComputer Aserver + ngrok tunnel
STANDBYComputer Btakes over after 2 missed checks

Install on the new computer

git clone https://github.com/Fireiscoolsolo/canvas-lms-mcp-server.git
cd canvas-lms-mcp-server
npm install

Use the same shared settings

Create .env with the same CANVAS_MCP_PUBLIC_URL, CANVAS_MCP_PASSWORD and CANVAS_MCP_CLUSTER_SECRET as your first computer. Give each computer its own Canvas token so you can revoke one without breaking the others. Move secrets with a password manager or USB drive, never by email or cloud storage.

Use the same ngrok account

winget install --id Ngrok.Ngrok -e
ngrok update
ngrok config add-authtoken <same authtoken as computer A>

Start it at logon and verify

Register the same CanvasSupervisor scheduled task, then check supervisor.log. You should see either active and serving or already active and healthy — … starting in standby. Both mean it's working.

Test failover

Fully stop the active computer. Within about a minute, the other one logs active instance appears to be gone — taking over, and your assistant keeps working.

Must match everywherePublic URL, password, cluster secret, ngrok account
Can differCanvas API token (recommended: one per computer)
Sleep is handledA computer that wakes up after a takeover steps back to standby on its own
Configuration

Environment variables

Everything lives in .env. The first five are required. The shared ones must match on every computer.

VariableDefaultDescription
CANVAS_API_TOKEN required—Your Canvas personal access token
CANVAS_BASE_URL required—Your school's Canvas address
CANVAS_MCP_PUBLIC_URL remote—Your ngrok static domain
CANVAS_MCP_PASSWORD remote—Password for the login page
CANVAS_MCP_CLUSTER_SECRET remote—Protects the supervisor's internal endpoints
CANVAS_ALLOW_WRITEStruefalse = read-only mode
CANVAS_PROFILEfullWhich tools to turn on, by name or number (see below)
CANVAS_CACHE_TTL60Response cache time in seconds
CANVAS_TIMEZONEsystemTime zone for due-date math
CANVAS_DOWNLOAD_DIR./canvas-downloadsWhere downloads are saved
CANVAS_MCP_PORT3939Local port

Tool profiles

Fewer tools can help an AI app pick the right one. Set CANVAS_PROFILE in .env to a name or number, such as CANVAS_PROFILE=study or 3, then run canvas-lms-mcp-remote restart. Not set means full. Use the same profile on every computer. Names other than full and core need version 1.5.0 or newer.

NumberNameWhat it's forTools
1essentialsThe daily basics: what's due, your grades, announcements and reading an assignment. Nothing here changes Canvas. Best for small local models.24
2coreA bit of everything, including turning in work and sending messages.49
3studyPlanning your week and studying: planner, calendar, study plans, course files and pages.38
4gradesGrades and feedback: scores, what-if, what you need on the final, rubrics and comments.31
5readonlyEverything that only looks. Nothing in Canvas can change.177
6fullEvery tool. The default.242
Tools

242 tools in 16 groups

Covers everything a student account can reach, plus raw_canvas_request for anything else.

Content37

Files, pages, modules, captions, reading PDFs and slides, ePortfolios, exports

Identity28

Profile, token expiry, notification settings

Discussions21

Full threads, replies, school-wide announcements

Courses17

Teachers and office hours, permissions, nicknames

Submissions18

Submit, comment, rubric results

Grades15

Final-grade scenarios, what-if, impact, GPA

Inbox14

Messages and recipients

Assignments13

Assignment brief, missing work, late policy

Planning14

Week ahead, priorities, semester wrap-up

Planner12

Daily briefing, to-do notes, study plans, calendar export

Quizzes12

Read-only: dates, attempts

Calendar11

Events, office-hours booking

Groups11

Group workspaces

Rubrics11

Rubrics and peer reviews

Meta5

Raw requests, diagnostics

Search3

Smart and keyword search

Security

Safe by design

Your Canvas token never leaves your computer, and your assistant can't act without asking first.

Confirmation gate

Anything that sends, submits, posts or deletes shows a preview first and needs a one-time token, for that exact request.

Injection fencing

Text other people wrote is wrapped in CANVAS_CONTENT markers and labelled as untrusted.

No quiz-taking

Quiz attempt endpoints are deliberately left out and blocked.

OAuth 2.1

Login is rate limited, access tokens last 1 hour and refresh tokens are replaced every time they're used.

Keep private: .env, oauth-store.json and supervisor.log. All three are already listed in .gitignore.