Canvas Lms
БесплатноНе проверенMCP server for Canvas LMS with automatic OAuth authentication. Enables interaction with courses, assignments, grades, modules, discussions, quizzes, files, cale
Описание
MCP server for Canvas LMS with automatic OAuth authentication. Enables interaction with courses, assignments, grades, modules, discussions, quizzes, files, calendar, messaging, and more without manual API token management.
README
A Model Context Protocol server for Canvas LMS that authenticates automatically using the Canvas mobile app's OAuth flow. No manual API token management required.
Fork of DMontgomery40/mcp-canvas-lms (MIT) with an added authentication layer.
How It Works
Canvas's mobile apps use an OAuth2 flow that issues permanent refresh tokens — tokens that never expire unless manually revoked. This server uses that same flow to authenticate, then silently refreshes access tokens in the background. You log in once and it works indefinitely.
Authentication
- A Chromium browser opens, emulating a Pixel 7 Android device — this registers as a mobile device on your Canvas account.
- You log in through your university's Microsoft SSO and approve the Duo MFA push on your phone.
- The server captures the OAuth tokens and stores them locally. The refresh token is permanent.
- From then on, access tokens are refreshed automatically. No browser or interaction needed.
You should only have to authenticate once. If you have any issues, go to Settings > Access Tokens in Canvas, revoke the Pixel 7 token, and re-authenticate.
Requirements
- Duo Mobile — You must have your phone available during the initial authentication to approve the push notification.
- A display — The browser needs a screen. On headless/SSH environments, it falls back to
xvfb-run. - Python 3 — The browser login runs via a Python Playwright script. The server installs dependencies automatically on first run.
Quick Start
Add to your Claude Code or Claude Desktop MCP config:
{
"mcpServers": {
"canvas-lms": {
"command": "node",
"args": ["/path/to/mcp-canvas-lms/build/index.js"],
"env": {
"CANVAS_DOMAIN": "canvas.youruniversity.ac.uk",
"CANVAS_EMAIL": "[email protected]",
"CANVAS_PASSWORD": "your-password"
}
}
}
}
Then call canvas_authenticate once to log in. After that, all Canvas tools work automatically.
Manual API Token (Alternative)
If you prefer not to use the OAuth flow, set CANVAS_API_TOKEN instead. Generate one at your Canvas instance under Settings > Access Tokens.
Building from Source
git clone https://github.com/Drastixs/mcp-canvas-lms.git
cd mcp-canvas-lms
npm install
npm run build
Available Tools
Over 50 tools covering courses, assignments, grades, modules, discussions, quizzes, files, calendar, messaging, user profiles, rubrics, and account administration. Call canvas_check_auth to verify your authentication status.
Credits
- Original MCP server: DMontgomery40/mcp-canvas-lms (MIT License)
License
MIT
Установка Canvas Lms
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Drastixs/mcp-canvas-lmsFAQ
Canvas Lms MCP бесплатный?
Да, Canvas Lms MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Canvas Lms?
Нет, Canvas Lms работает без API-ключей и переменных окружения.
Canvas Lms — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Canvas Lms в Claude Desktop, Claude Code или Cursor?
Открой Canvas Lms на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
LibreOffice Tools
Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a
автор: passerbyflutterdannote/figma-use
Full Figma control: create shapes, text, components, set styles, auto-layout, variables, export. 80+ tools.
автор: dannoteLogo.dev
Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content
автор: NOVA-3951PIX4Dmatic
Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem
автор: jangjo123Compare Canvas Lms with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории design
