boyuchengz/canvas-mcp
Read-only MCP server that connects Claude, ChatGPT and other AI assistants to Canvas LMS.
55aa401cd303canvas-mcp1.2.0 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- MEDIUM2 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
@hono/node-server2.1.6 or later,hono4.13.16 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 26 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
None of the tools reaches any of these in the code the scanner could trace.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (26: 26 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
get_announcementstool Recent announcements. Omit course_id for all active courses.
Recent announcements. Omit course_id for all active courses.
get_assignmenttool Full details of one assignment: instructions text, rubric, and teacher comments on the submission.
Full details of one assignment: instructions text, rubric, and teacher comments on the submission.
get_calendar_eventstool Calendar events (lectures, exams, office hours, review sessions) that instructors put on the Canvas calendar. Assignments are covered by get_upcoming instead.
Calendar events (lectures, exams, office hours, review sessions) that instructors put on the Canvas calendar. Assignments are covered by get_upcoming instead.
get_discussiontool One discussion topic: the prompt plus the full thread of replies. Does not mark anything as read. Some topics hide replies until the student has posted.
One discussion topic: the prompt plus the full thread of replies. Does not mark anything as read. Some topics hide replies until the student has posted.
get_filetool Metadata and a temporary download link for one file. For text-based files (txt, md, html, csv, code, json) it also returns the content. PDFs, slides and Office
Metadata and a temporary download link for one file. For text-based files (txt, md, html, csv, code, json) it also returns the content. PDFs, slides and Office files are NOT parsed; give the user the download_url instead.
get_front_pagetool The course home page text, where instructors often put key links, schedule and contact info.
The course home page text, where instructors often put key links, schedule and contact info.
get_grade_breakdowntool How the course grade is built: assignment groups with their weights, every assignment's score, and drop rules. Use for 'what do I need on the final' style quest
How the course grade is built: assignment groups with their weights, every assignment's score, and drop rules. Use for 'what do I need on the final' style questions.
get_gradestool Current overall grade/score in every active course.
Current overall grade/score in every active course.
get_inbox_messagetool Full message thread of one Inbox conversation. Reads WITHOUT marking it as read.
Full message thread of one Inbox conversation. Reads WITHOUT marking it as read.
get_missingtool Past-due assignments across all courses that the student has not submitted.
Past-due assignments across all courses that the student has not submitted.
get_pagetool Read the text of a Canvas wiki page. page_url comes from list_modules (e.g. 'week-3-notes').
Read the text of a Canvas wiki page. page_url comes from list_modules (e.g. 'week-3-notes').
get_quiztool Details of one Classic Quiz: instructions, settings, and the student's own attempts and scores. Quiz questions themselves are not exposed to students by the Can
Details of one Classic Quiz: instructions, settings, and the student's own attempts and scores. Quiz questions themselves are not exposed to students by the Canvas API.
get_recent_activitytool The student's Canvas activity stream: newly posted grades, feedback comments, announcements, discussion replies and messages. Good for 'what's new since yesterd
The student's Canvas activity stream: newly posted grades, feedback comments, announcements, discussion replies and messages. Good for 'what's new since yesterday'.
get_syllabustool The syllabus text of a course (grading policy, schedule, late policy, if the instructor posted it).
The syllabus text of a course (grading policy, schedule, late policy, if the instructor posted it).
get_todotool The student's Canvas To Do list (items that still need submitting).
The student's Canvas To Do list (items that still need submitting).
get_upcomingtool Everything due across all courses in the next N days (assignments, quizzes, discussions), with submission status. Best tool for 'what is due this week'.
Everything due across all courses in the next N days (assignments, quizzes, discussions), with submission status. Best tool for 'what is due this week'.
list_assignmentstool All assignments in one course with due dates and the student's own score for each. Use bucket to filter.
All assignments in one course with due dates and the student's own score for each. Use bucket to filter.
list_course_stafftool Instructors and TAs of a course, with email when Canvas exposes it.
Instructors and TAs of a course, with email when Canvas exposes it.
list_coursestool List the student's active Canvas courses with IDs. Call this first to get course_id values.
List the student's active Canvas courses with IDs. Call this first to get course_id values.
list_discussionstool Discussion topics in a course (not announcements), newest activity first.
Discussion topics in a course (not announcements), newest activity first.
list_filestool Files in a course (lecture slides, handouts, etc.). Optional search term filters by file name. Returns file IDs for get_file.
Files in a course (lecture slides, handouts, etc.). Optional search term filters by file name. Returns file IDs for get_file.
list_groupstool Student groups (project teams, lab sections) the student belongs to.
Student groups (project teams, lab sections) the student belongs to.
list_inboxtool Canvas Inbox conversations (messages from instructors/TAs/classmates). Listing does not mark anything as read.
Canvas Inbox conversations (messages from instructors/TAs/classmates). Listing does not mark anything as read.
list_modulestool Course content outline: modules and the items (pages, files, assignments, links) inside each.
Course content outline: modules and the items (pages, files, assignments, links) inside each.
list_pagestool All wiki pages in a course (some courses keep notes outside Modules). Use get_page to read one.
All wiki pages in a course (some courses keep notes outside Modules). Use get_page to read one.
list_quizzestool Classic Quizzes in a course with dates, time limit and attempts. Note: 'New Quizzes' do not appear here; they show up in list_assignments instead.
Classic Quizzes in a course with dates, time limit and attempts. Note: 'New Quizzes' do not appear here; they show up in list_assignments instead.
Text the model reads (26)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_announcements tool
Recent announcements. Omit course_id for all active courses.
list_discussions tool
Discussion topics in a course (not announcements), newest activity first.
get_discussion tool
One discussion topic: the prompt plus the full thread of replies. Does not mark anything as read. Some topics hide replies until the student has posted.
list_inbox tool
Canvas Inbox conversations (messages from instructors/TAs/classmates). Listing does not mark anything as read.
get_inbox_message tool
Full message thread of one Inbox conversation. Reads WITHOUT marking it as read.
get_recent_activity tool
The student's Canvas activity stream: newly posted grades, feedback comments, announcements, discussion replies and messages. Good for 'what's new since yesterday'.
list_courses tool
List the student's active Canvas courses with IDs. Call this first to get course_id values.
get_syllabus tool
The syllabus text of a course (grading policy, schedule, late policy, if the instructor posted it).
get_front_page tool
The course home page text, where instructors often put key links, schedule and contact info.
list_modules tool
Course content outline: modules and the items (pages, files, assignments, links) inside each.
list_pages tool
All wiki pages in a course (some courses keep notes outside Modules). Use get_page to read one.
get_page tool
Read the text of a Canvas wiki page. page_url comes from list_modules (e.g. 'week-3-notes').
list_course_staff tool
Instructors and TAs of a course, with email when Canvas exposes it.
list_groups tool
Student groups (project teams, lab sections) the student belongs to.
get_upcoming tool
Everything due across all courses in the next N days (assignments, quizzes, discussions), with submission status. Best tool for 'what is due this week'.
get_todo tool
The student's Canvas To Do list (items that still need submitting).
get_missing tool
Past-due assignments across all courses that the student has not submitted.
list_assignments tool
All assignments in one course with due dates and the student's own score for each. Use bucket to filter.
get_assignment tool
Full details of one assignment: instructions text, rubric, and teacher comments on the submission.
list_quizzes tool
Classic Quizzes in a course with dates, time limit and attempts. Note: 'New Quizzes' do not appear here; they show up in list_assignments instead.
get_quiz tool
Details of one Classic Quiz: instructions, settings, and the student's own attempts and scores. Quiz questions themselves are not exposed to students by the Canvas API.
get_calendar_events tool
Calendar events (lectures, exams, office hours, review sessions) that instructors put on the Canvas calendar. Assignments are covered by get_upcoming instead.
list_files tool
Files in a course (lecture slides, handouts, etc.). Optional search term filters by file name. Returns file IDs for get_file.
get_file tool
Metadata and a temporary download link for one file. For text-based files (txt, md, html, csv, code, json) it also returns the content. PDFs, slides and Office files are NOT parsed; give the user the download_url instead.
get_grades tool
Current overall grade/score in every active course.
get_grade_breakdown tool
How the course grade is built: assignment groups with their weights, every assignment's score, and drop rules. Use for 'what do I need on the final' style questions.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 26 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 26 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 26 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 26 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 26 tool handlers traced
- Tools that start processesNot seen in the traced code of 26 capabilities; 26 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 26 capabilities; 26 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 26 capabilities; 26 more call code the scanner could not follow, where it may happen
Where the code is: 26 handlers in 5 files at commit 55aa401cd303
src/tools/communication.jsget_announcements, list_discussions, get_discussion, list_inbox, get_inbox_message, get_recent_activitysrc/tools/courses.jslist_courses, get_syllabus, get_front_page, list_modules, list_pages, get_page, list_course_staff, list_groupssrc/tools/coursework.jsget_upcoming, get_todo, get_missing, list_assignments, get_assignment, list_quizzes, get_quiz, get_calendar_eventssrc/tools/files.jslist_files, get_filesrc/tools/grades.jsget_grades, get_grade_breakdown
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies MEDIUM2 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK version@modelcontextprotocol/sdk ^1.32.2
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 26 capabilities; 26 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (2 in production)
hononpm 4.13.14 MEDIUM 5 advisories 4.13.16
- MEDIUMGHSA-h7mg-cq63-vhpq CVE-2026-126358Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator
- MEDIUMGHSA-4m76-xfj5-7975 CVE-2026-126357Hono: `mount()` and `app.mount()` can forward a path that bypasses middleware scoped inside the mount prefix
- MEDIUMGHSA-4h7h-rv7c-7m2v CVE-2026-126356Hono: `validator('form')` skips validation for `multipart/form-data` requests with extra parameters
- MEDIUMGHSA-46wx-v44x-9hh2 CVE-2026-126355Hono: `csrf()` does not check requests sent by hyperlink auditing (`text/ping`)
- LOWGHSA-3gg2-335m-rxc6 CVE-2026-126359Hono: `css` helper does not escape a closing tag split between the template and an interpolated value, allowing HTML injection
@hono/node-servernpm 2.1.1 MEDIUM 3 advisories 1.19.182.1.32.1.6
- MEDIUMGHSA-jpvv-r467-5p4w CVE-2026-126210@hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy
- MEDIUMGHSA-qv5m-9pm6-hqp3 CVE-2026-126343@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process
- MEDIUMGHSA-rmxm-3fg6-px4f CVE-2026-118663@hono/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.32.2 |
| Servers in the code | 1 (Canvas (read-only)) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-10-27 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | MIT |
| Created | 2026-10-25 |
| Topics | canvas canvas-lms chatgpt claude education instructure mcp mcp-server model-context-protocol nodejs |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.