BrightspaceBLOCK
MCP server for Brightspace (D2L). Check grades, due dates, assignments, announcements, rosters, syllabus & course content via Claude, ChatGPT, Cursor, Windsurf, or any MCP client. Works with any school. npm: npx brightspace-mcp-server@latest
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://www.npmjs.com/package/brightspace-mcp-server) [](https://www.npmjs.com/package/brightspace-mcp-server) [](https://github.com/RohanMuppa/brightspace-mcp-server/actions/workflows/ci.yml) [](LICENSE) [](package.json)
By [Rohan Muppa](https://github.com/rohanmuppa), ECE @ Purdue
Lets your AI see your Brightspace classes, so you can just ask:
"What's due this week?" · "Am I passing all my classes?" · "Summarize today's announcements" · "Turn my lecture slides into flashcards"
Works with Claude Desktop, Claude Code, Cursor, ChatGPT Desktop, Windsurf, and any other app that supports MCP (the standard way to plug tools into an AI). It only reads your courses — it never submits, edits, or deletes anything.
Get started in 3 steps
- Install [Node.js](https://nodejs.org/) (version 20 or newer) if you don't have it. Download, run the installer, done.
- Open a terminal and run the setup:
npx -y brightspace-mcp-server@latest setup
It asks for your school's Brightspace address, your username and password, and how you normally do two-factor sign-in (phone approval, authenticator code, or a browser window). Your password goes into your computer's own password store (Keychain on Mac, Credential Manager on Windows), never into a file. At the end it connects itself to Claude Des
b799eb29fd8aOBSERVED · 2026-10-08Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add brightspace-mcp-server -- npx -y [email protected]
Exposed tools (26)
26 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
challenged | read | |
download_dropbox_submission_file | read | |
download_file | read | |
get_announcement_files | read | |
get_announcements | read | |
get_assignment_files | read | |
get_assignment_rubric | read | |
get_assignments | read | |
get_calendar_events | read | |
get_classlist_emails | read | |
get_course_content | read | |
get_discussions | read | |
get_dropbox_feedback | read | |
get_dropbox_folders | read | |
get_dropbox_submissions | read | |
get_dropbox_user_submissions | read | |
get_my_courses | read | |
get_my_grades | read | |
get_my_groups | read | |
get_roster | read | |
get_rubrics_for_object | read | |
get_server_info | read | |
get_syllabus | read | |
get_upcoming_due_dates | read | |
get_video_transcript | read | |
search_course | read |
Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | FAIL |
| L2 | Instruction surface (what it tells the agent) | FAIL |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (2 observation(s))
- Network
- declared (5 observation(s))
- Shell
- declared (3 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (18)
const options = await page.$$eval(`${SELECTORS.campusSelect} option`, (nodes) =>There is no authentication step and no tool to check one. Call the tool that answers the user's question; if no valid session exists, the request signs in first and then proceeds. Never tell the user
const normalized = raw.replace(/^/, "").replace(/\r\n?/g, "\n");
.gitleaks.toml
import { D2LApiClient } from "../../src/api/client.js";import { TokenManager, type TokenManagerOptions } from "../../src/auth/token-manager.js";import { TokenRefreshError } from "../../src/api/errors.js";import type { TokenData } from "../../src/types/index.js";import { TTLCache } from "../../src/api/cache.js";const withCrlf = "WEBVTT\r\n\r\n00:00:00.000 --> 00:00:01.000\r\nHi\r\n";
@modelcontextprotocol/sdk, @napi-rs/keyring, dotenv, file-type, playwright, sanitize-filename, trash, turndown
The number can change mid-wait: if the request times out or is denied before approval, the server asks Microsoft (or Duo) for another one and the next tool response carries the new number — always rel
| TU Delft | `--tudelft` | Use your NetID, not your student email. Headless NetID username and password sign-in only, including automatic re-authentication when the saved session expires; it does not
Your password is saved in your operating system's native credential store (macOS Keychain, Windows Credential Manager, or Linux Secret Service) — never in a plaintext file. Session state on disk is en
**Using a client the wizard doesn't configure:** search your client's docs for how to add an MCP server; the command to register is `npx -y brightspace-mcp-server@latest` (on **Windows**, `cmd /c npx
Visible mode applies to the manual `auth` command, whose window remains open for up to five minutes when automatic credential handling is unavailable or the identity provider needs direct interaction.
**On a Mac,** sign-in first reads your saved password from Keychain. If you picked a one-time **Allow** at the Keychain prompt, a later sign-in from your AI app or another terminal can fail or hang wa
- **`Authentication failed: The native credential store is locked or unavailable.`** Your password store is locked or hasn't let this server read the saved password. Unlock it (on a Mac, log in or unl
Gates applied: instruction_override, no_behavioural_pass.
b799eb29fd8afull audit observations/trust-audit/mcp-server/rohanmuppa__brightspace-1.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | b799eb29fd8a | BLOCK | D | 69 | first audit |
Questions
What is the Brightspace MCP server?
MCP server for Brightspace (D2L). Check grades, due dates, assignments, announcements, rosters, syllabus & course content via Claude, ChatGPT, Cursor, Windsurf, or any MCP client. Works with any school. npm: npx brightspace-mcp-server@latest
What tools does Brightspace expose?
26 in total: 26 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Brightspace safe to connect to an agent?
No — not without reading the findings first. The audit graded it D (69/100) and found 2 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What credentials does Brightspace need?
It reads BRIGHTSPACE_TEST_NATIVE_KEYRING, D2L_ACCESS_TOKEN, D2L_DUO_PASSCODE, D2L_PASSWORD, D2L_PASSWORDLESS and D2L_TOKEN_TTL from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Brightspace run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as brightspace-mcp-server at 3.12.2.
How current is this page?
The grade is for one exact copy of the source (b799eb29fd8a), read on 2026-10-08. The repository is watched and re-audited when it changes.