# brightspace-d2l-mcp [Health: Active]

**Category:** 🎓 Education  
**Repository:** https://github.com/AnonymousOnyx22/brightspace-d2l-mcp  
**GitHub Stars:** 10  
**npm Downloads (last month):** 1480  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/brightspace-d2l-mcp

## Description
D2L Brightspace for AI agents: due dates with submission status, grades and course content.

## Tools
Capabilities this server exposes over MCP:

- **get_todo** — Prioritized to-do list across all courses: unfinished work due soon, recently overdue work, work not open yet, items to double-check (quizzes), and work already submitted. Use this first when the user asks what to work on, what's left, or what they should do now. For a plain chronological list of deadlines or a custom date range, use get_upcoming_due_dates instead.
- **get_my_courses** — Fetch your enrolled Brightspace courses with names, codes, and IDs. Use this when the user asks about their courses, enrolled classes, what they're taking this semester, or needs a course ID for other queries.
- **get_upcoming_due_dates** — Upcoming due dates across all courses, with whether each assignment is already submitted (submissionStatus: submitted, graded, draft, not_submitted, not_open_yet, closed, past_due, restricted, unknown). Dates are UTC ISO strings; convert to the user's local time. Use for deadlines, what's due and date ranges, in date order. For advice on what to do first, use get_todo instead.
- **get_my_grades** — Fetch your grade breakdown for a specific course or all enrolled courses. Shows grade items with points, percentages, and comments. Use this when the user asks about grades, scores, marks, GPA, academic performance, or how they're doing in a class.
- **get_announcements** — Fetch recent announcements from your courses. Can filter to a specific course or get announcements across all courses. Use this when the user asks about announcements, news, updates from instructors, recent posts, or what professors said.
- **get_assignments** — Fetch assignments and quizzes for a specific course or all enrolled courses. Shows dropbox submissions and quizzes with due dates, status, and rubric info. Use this when the user asks about assignments, homework, what to submit, quizzes, or assignment details and rubrics.
- **get_assignment_files** — Read the files an instructor attached to an assignment: the spec or instructions PDF, a starter workbook, a rubric document. Call it with just courseId to see which assignments have attachments, then with folderId and fileId to read one. Use this when the user asks what an assignment requires, what the instructions say, or to summarize a handout. Returns the text itself. Use download_file instead when the user wants the file saved to disk.
- **get_course_content** — Fetch the content tree for a course showing modules, topics, files, and links. Use this when the user asks about course materials, lecture slides, uploaded files, content structure, or what's in a course module. Use moduleTitle to filter to a specific module (e.g. 'Labs', 'Staff', 'Homeworks') instead of fetching the entire tree. Use maxDepth to limit recursion depth for a table-of-contents view.
- **download_file** — Download a file from course content or assignment submissions to a local directory. Use this when the user wants to download, save, or get a file from Brightspace course content or dropbox submissions. IMPORTANT: You MUST ask the user where they want to save the file before calling this tool. Never guess or assume a download directory. After identifying the file to download, suggest a clean readable filename to the user (e.g., 'Lecture 7 - Memory Management.pdf' instead of 'L07_CS251_2026SP_v2.pdf') and ask if they'd like to rename it. Pass their preferred name as customFilename, or omit it to keep the original.
- **get_classlist_emails** — Fetch all email addresses for everyone in a course: instructors, TAs, and students. Use this when the user wants a list of emails for a class, needs to email the whole class, or wants contact info for everyone enrolled. Returns emails only, with no names or roles. For names, roles or finding a specific instructor or TA, use get_roster instead.
- **get_roster** — Fetch the roster for a course including instructors, TAs, and optionally students with their names, emails, and roles. Use this when the user asks about classmates, instructor contact info, TA emails, professor names, or who's in a class. By default returns only instructors and TAs for privacy. Use includeStudents to get full class list. For just a plain list of email addresses to copy or email everyone, use get_classlist_emails instead.
- **get_syllabus** — Fetch the syllabus/overview text and optional attachment for a course. Returns the course overview description as markdown. If downloadPath is provided, also downloads the syllabus attachment (e.g. PDF). IMPORTANT: You MUST ask the user where they want to save the file before calling this tool with a downloadPath.
- **get_discussions** — Fetch discussion board content for a course including forums, topics, and posts. Use this when the user asks about discussion boards, forum posts, class discussions, or wants to see what's been posted. Provide just courseId to list all forums and their topics. Add forumId to get topics and posts for a specific forum. Add both forumId and topicId to get all posts in a specific discussion topic.
- **get_grade_outlook** — Works out where the user stands in one course and what they need on the remaining work to reach a target grade. Returns the current percentage, the best and worst possible final grade, and the average they must score on everything left to hit targetPercent. Use for "what do I need on the final to get 80?", "can I still pass?" or "am I on track?". For the raw grade items, use get_my_grades instead.
- **export_due_dates_calendar** — Builds an iCalendar (.ics) file of upcoming assignments and quizzes that opens in Google Calendar, Apple Calendar and Outlook. Each event has a link back to Brightspace and a one day reminder. By default only unfinished work is included. Pass downloadPath (an absolute folder) to save the file, otherwise the calendar text is returned.
- **get_calendar_events** — Events from the Brightspace course calendar: exams, tests, labs, classes, office hours and other dated events that instructors post, plus due-date events. Use this when the user asks when an exam or test is, what is on their schedule, or what is happening on a day. For what work is left to hand in, use get_todo instead.
- **get_whats_new** — One catch-up summary across all courses: new announcements, unread assignment feedback (newly marked work), unread discussion posts and quizzes not attempted yet. Use this when the user asks what's new, what they missed, whether anything was graded or posted, or for a daily or weekly catch-up.

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

```json
"mcpServers": {
  "brightspace-d2l-mcp": {
    "command": "npx",
    "args": ["-y","brightspace-d2l-mcp"],
    "env": {
      "D2L_INCLUDE_COURSES": "",
      "D2L_EXCLUDE_COURSES": "",
      "D2L_ACTIVE_ONLY": ""
    }
  }
}
```

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

## Documentation

## What brightspace-d2l-mcp does

brightspace-d2l-mcp gives AI assistants read access to a student’s D2L Brightspace account through MCP. It can inspect enrolled courses, assignment and quiz status, grades and comments, course modules, attached files, announcements, discussions, rosters, syllabi, and calendar events. Its deadline tools include submission-state information, allowing an assistant to separate unfinished work from items that were already submitted.

A combined catch-up workflow is available through `get_whats_new`, which gathers new announcements, unread assignment feedback, unread discussion posts, and quizzes that have not been attempted. `get_grade_outlook` calculates the current percentage, possible final-grade range, and required average on remaining work for a target percentage.

## How it works

The server is launched locally through an MCP configuration using `npx`. Its setup command asks for the school, opens Google Chrome or Microsoft Edge, and lets the user sign in through the school’s normal browser flow. This supports Brightspace deployments using Microsoft, Duo, Okta, or Shibboleth single sign-on. The server keeps a browser session rather than storing the account password.

Most tools accept a course ID, while several can query all enrolled courses. `get_my_courses` provides course names, codes, and IDs for follow-up calls. Deadline timestamps are returned as UTC ISO strings and should be converted to the user’s local time when presented.

## Setup and configuration

Node.js 20 or newer and Google Chrome or Microsoft Edge are required. Run:

```bash
npx brightspace-d2l-mcp setup
```

The setup flow can find and configure supported AI applications. An MCP entry can also launch the package with `npx -y brightspace-d2l-mcp@latest`; on Windows, the command can be wrapped with `cmd /c`. `npx brightspace-d2l-mcp config` prints configuration JSON for an application.

Optional environment variables include `D2L_INCLUDE_COURSES`, `D2L_EXCLUDE_COURSES`, and `D2L_ACTIVE_ONLY`. The package stores its own settings and session under `~/.brightspace-d2l-mcp/`.

## Tools and capabilities

- `get_todo` prioritizes unfinished, overdue, not-yet-open, submitted, and quiz-related work.
- `get_upcoming_due_dates` lists deadlines with states such as submitted, graded, draft, not submitted, closed, past due, and restricted.
- `get_assignments`, `get_assignment_files`, and `get_course_content` inspect assignments, rubrics, attached documents, modules, files, and links.
- `get_my_grades` and `get_grade_outlook` provide grade details, comments, target-grade calculations, and possible outcomes.
- `get_announcements`, `get_discussions`, `get_syllabus`, and `get_whats_new` summarize course communications and updates.
- `download_file` saves course or submission files locally, while `export_due_dates_calendar` creates an iCalendar file with Brightspace links and one-day reminders.

Additional tools retrieve course rosters, email addresses, enrolled courses, and Brightspace calendar events.

## Limitations and notes

The server is designed for read access. `download_file` requires an absolute destination directory, and the user should choose that location before the tool is called. `get_syllabus` follows the same requirement when downloading a syllabus attachment. Roster queries return instructors and teaching assistants by default; student records require explicitly enabling student inclusion. `get_classlist_emails` returns email addresses without names or roles.

Use `get_todo` for prioritization, `get_upcoming_due_dates` for chronological deadlines or date ranges, and `get_calendar_events` for exams, classes, office hours, and other calendar entries. Course filters can limit the account view with the supported environment variables.

_Full upstream README: https://allmcps.com/mcp/brightspace-d2l-mcp/readme_

