# canvas-lms-student-mcp [Health: Active]

**Category:** 🎓 Education  
**Repository:** https://github.com/AnonymousOnyx22/canvas-lms-student-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 2093  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/canvas-lms-student-mcp

## Description
Canvas LMS MCP server for students. Read only access to Canvas LMS courses, assignments, due dates, missing work, grades, announcements and calendar events, plus an .ics calendar export you can import into Google Calendar or Apple Calendar.

## Tools
Capabilities this server exposes over MCP:

- **get_my_courses** — List your active Canvas courses with their Canvas course IDs. Use a course ID or a course name in the other tools. Example: "What are my Canvas courses this term?"
- **get_todo** — Your Canvas to-do list: assignments and discussions Canvas says still need attention, with due dates. Example: "What does Canvas say I still need to do?"
- **get_upcoming_due_dates** — Upcoming assignments and events across every Canvas course, soonest first. Pass days_ahead to look only that many days ahead, for example 3. Leave it out and every upcoming due date Canvas returns is included. Example: "What is due in the next 3 days?"
- **get_missing_assignments** — Past-due Canvas assignments you have not submitted, with the course and the day each was due. Example: "What am I missing in Canvas?"
- **get_assignments** — Assignments for one Canvas course. Pass course_id as the Canvas course ID or as the course name, for example "Networking 1", and get due dates, points and submission status: not submitted, submitted, graded, missing or excused. Set bucket to filter, for example overdue. Example: "Which Canvas assignments in Networking 1 are overdue?"
- **get_my_grades** — Your current grade in each active Canvas course from the Canvas gradebook, with the assignments behind each grade: your score, the points possible and the submission status. Pass course_id as the Canvas course ID or as the course name to limit the grades and the breakdown to one course. Example: "What is my grade in each Canvas course and which assignments make it up?"
- **get_course_content** — Modules and module items for one Canvas course. Pass course_id as the Canvas course ID or as the course name. Example: "Show me the Week 3 module in my Canvas Networking course."
- **get_syllabus** — The syllabus text for one Canvas course, with HTML removed. Pass course_id as the Canvas course ID or as the course name. Example: "What does the Canvas syllabus say about grading in Scripting?"
- **get_announcements** — Recent Canvas announcements, either for the course_ids you pass or for all your active courses. Each course id can be the Canvas course ID or the course name. Pass limit to show fewer or more than 20 announcements, and page to see the next ones. Example: "What did my instructors announce in Canvas lately?"
- **get_whats_new** — One catch up across your Canvas courses: announcements posted in the last few days, assignments graded in that window and discussions that still have unread replies. Pass since_days to change the window, 7 by default, or course_id as the Canvas course ID or as the course name to check one course. Pass limit and page to step through long lists, 20 items per section by default. Example: "What's new in Canvas since last week?"
- **get_discussions** — Discussion topics for one Canvas course, with unread counts. Pass course_id as the Canvas course ID or as the course name. Example: "What discussions are open in my Canvas Networking course?"
- **get_calendar_events** — Canvas calendar events and assignment due dates. Pass start_date and end_date as YYYY-MM-DD to limit the range. Example: "What is on my Canvas calendar between 2026-10-01 and 2026-10-31?"
- **get_target_grade** — Work out what score is needed on the remaining Canvas work in one course to reach a target percent. Pass course_id as the Canvas course ID or as the course name and target_percent as a number from 0 to 100. If Canvas reports a current percent for that course, pass current_percent to use it instead of computing from graded points alone. Example: "What do I need on the rest of my work in Networking 1 to get an 85 percent?"
- **get_assignment_files** — List the files linked in one Canvas assignment's instructions, such as a handout or a rubric, with the file name, type, size and a link. Pass course_id as the Canvas course ID or as the course name and assignment as the assignment ID or its name. It does not download or open the files. Example: "What files come with the Lab 4 assignment in Networking 1?"
- **get_submission_feedback** — The instructor's comments on your graded submission for one Canvas assignment, with the score and grade. Pass course_id as the Canvas course ID or as the course name and assignment as the assignment ID or its name. Example: "What did the teacher say about my Lab 4 submission in Networking 1?"
- **export_due_dates_calendar** — Build an iCalendar (.ics) file of Canvas due dates and calendar events that opens in Google Calendar, Apple Calendar and Outlook. Give a folder in path and the file is saved there, or leave path out and the calendar text comes back so you can save it yourself. Each event carries the course name, the points, the submission status and a link back to Canvas, plus a reminder the day before. By default only work you still owe is in the file, set include_submitted to add the work you already handed in. Use days_ahead to change how far ahead to look, 30 days by default, or course_id as the Canvas course ID or as the course name for one course. Example: "Put my Canvas due dates in Google Calendar."

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "canvas-lms-student-mcp": {
    "command": "npx",
    "args": ["-y","canvas-lms-student-mcp"],
    "env": {
      "CANVAS_BASE_URL": "",
      "CANVAS_API_TOKEN": ""
    }
  }
}
```

**Requires environment variables:** `CANVAS_BASE_URL`, `CANVAS_API_TOKEN` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What canvas-lms-student-mcp does

canvas-lms-student-mcp gives AI applications read-only access to student data in Canvas LMS. It can identify active courses, inspect assignments and quizzes, report missing work, explain current grades, and retrieve course materials such as modules, syllabus text, discussion topics, announcements, and linked files.

The server also supports broader academic catch-up workflows. It can combine recent announcements, newly graded work, and unread discussion replies; show unread Canvas inbox conversations; calculate the score needed on remaining work to reach a target percentage; and return instructor feedback attached to a graded submission.

Course-specific tools accept either a Canvas course ID or a course name. Names are matched against the active courses returned by `get_my_courses`.

## How it works

The server runs locally through `npx` and communicates with an MCP-compatible AI application. It sends the configured API token to the Canvas address specified for the school, allowing the client to query the student’s account. Canvas data is not sent to another service by the project.

All Canvas operations are read-only: the tools cannot submit assignments, edit course data, or delete content. The calendar export is the exception to the Canvas read-only behavior. When requested, it writes an `.ics` file to a folder on the local computer, or returns calendar text if no folder is supplied.

The export covers the next 30 days by default and includes due dates and Canvas calendar events that are still outstanding. Its options can extend the date range, limit results to a course, and include already submitted work. Calendar entries include course information, points, submission status, a Canvas link, and a one-day reminder.

## Setup and configuration

Create a Canvas access token under **Account > Settings > Approved Integrations > New Access Token**, then configure the MCP client with the following environment variables:

- `CANVAS_BASE_URL`: The school’s Canvas URL, without an extra path.
- `CANVAS_API_TOKEN`: The student’s Canvas access token.

A typical launch command is:

```bash
npx -y canvas-lms-student-mcp
```

For a client configuration, set the command to `npx`, pass `-y` and `canvas-lms-student-mcp` as arguments, and provide both environment variables. Restart the AI client after saving its MCP configuration. The diagnostic command checks the connection:

```bash
npx canvas-lms-student-mcp doctor
```

Some schools disable student-created access tokens. In that case, the server cannot connect using this setup. Tokens can be revoked later from Canvas settings.

## Tools and capabilities

The 21 tools provide access to:

- Active courses, to-do items, upcoming due dates, quizzes, and missing assignments.
- Course assignments, grades, modules, module progress, syllabus text, teachers, and teaching assistants.
- Announcements, recent Canvas changes, unread inbox conversations, and discussion topics.
- Calendar events, target-grade calculations, assignment-linked files, submission feedback, and individual Canvas files.
- `.ics` calendar generation for due dates and Canvas calendar events.

Text, CSV, JSON, and HTML files can be returned as text through `get_file`. Other file types return their name, type, and size.

## Limitations and notes

The server is intended for student access and depends on the permissions granted to the Canvas token. Canvas may deny particular features or accounts, and invalid course names or IDs must be corrected using the active course list. Requests can also encounter expired tokens, incorrect Canvas addresses, unavailable hosts, non-Canvas addresses, or rate limits.

The project is not affiliated with Instructure. Canvas access remains tied to the school’s own Canvas installation and the student’s token.

_Full upstream README: https://allmcps.com/mcp/canvas-lms-student-mcp/readme_

