brightspace-mcp-server 3.9.8 → 3.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +90 -224
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,38 +8,31 @@
|
|
|
8
8
|
|
|
9
9
|
**Official repo:** github.com/RohanMuppa/brightspace-mcp-server · [npm](https://www.npmjs.com/package/brightspace-mcp-server) — forks of this README are not maintained.
|
|
10
10
|
|
|
11
|
-
**Contents:** [Try It](#try-it) · [Install](#install) · [Supported schools](#supported-schools) ·
|
|
12
|
-
[Session Expired?](#session-expired) · [No browser?](#no-browser-paste-a-session-cookie-or-token) ·
|
|
13
|
-
[Troubleshooting](#troubleshooting) ·
|
|
14
|
-
[Does it work with ChatGPT, Cursor, Windsurf or Claude Code?](#does-it-work-with-chatgpt-cursor-windsurf-or-claude-code) ·
|
|
15
|
-
[Is my password safe?](#is-my-password-safe) · [Does my school work?](#does-my-school-work) ·
|
|
16
|
-
[Why do I have to approve MFA sometimes?](#why-do-i-have-to-approve-mfa-sometimes) ·
|
|
17
|
-
[What You Can Ask About](#what-you-can-ask-about)
|
|
18
|
-
|
|
19
11
|
> **By [Rohan Muppa](https://github.com/rohanmuppa), ECE @ Purdue**
|
|
20
12
|
|
|
21
|
-
|
|
13
|
+
Lets your AI see your Brightspace classes, so you can just ask:
|
|
22
14
|
|
|
23
|
-
|
|
15
|
+
> "What's due this week?" · "Am I passing all my classes?" · "Summarize today's announcements" · "Turn my lecture slides into flashcards"
|
|
24
16
|
|
|
25
|
-
|
|
17
|
+
Works with Claude Desktop, Claude Code, Cursor, ChatGPT Desktop, Windsurf, and any other app that supports [MCP](https://modelcontextprotocol.io) (the standard way to plug tools into an AI). It only **reads** your courses — it never submits, edits, or deletes anything.
|
|
26
18
|
|
|
27
19
|
<p align="center">
|
|
28
20
|
<img src="https://raw.githubusercontent.com/RohanMuppa/brightspace-mcp-server/main/docs/how-it-works.svg" alt="Architecture diagram" width="100%">
|
|
29
21
|
</p>
|
|
30
22
|
|
|
31
|
-
##
|
|
32
|
-
|
|
33
|
-
> "Download my lecture slides and turn them into interactive flashcards"
|
|
34
|
-
> "Grab every assignment rubric and build me a visual dashboard of what I need to hit for an A"
|
|
35
|
-
|
|
36
|
-
## Install
|
|
23
|
+
## Get started in 3 steps
|
|
37
24
|
|
|
38
|
-
**
|
|
25
|
+
1. **Install [Node.js](https://nodejs.org/)** (version 20 or newer) if you don't have it. Download, run the installer, done.
|
|
26
|
+
2. **Open a terminal and run the setup:**
|
|
27
|
+
```bash
|
|
28
|
+
npx -y brightspace-mcp-server@latest setup
|
|
29
|
+
```
|
|
30
|
+
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 Desktop, Cursor, Codex, or Claude Code if you have them.
|
|
31
|
+
3. **Restart your AI app and ask it something** — the first question signs you in. If your phone asks you to approve a sign-in, approve it and ask again.
|
|
39
32
|
|
|
40
|
-
|
|
33
|
+
At one of these schools, add the flag and skip typing the address: `--purdue`, `--suny`, `--western`, `--tudelft`, `--cuny`, `--leiden`.
|
|
41
34
|
|
|
42
|
-
Paste this into Claude Code, Cursor, Windsurf, Copilot,
|
|
35
|
+
**Rather have the AI install it for you?** Paste this into Claude Code, Cursor, Windsurf, Copilot, or Codex:
|
|
43
36
|
|
|
44
37
|
```
|
|
45
38
|
Install brightspace-mcp-server for me by following
|
|
@@ -47,220 +40,93 @@ https://github.com/RohanMuppa/brightspace-mcp-server/blob/main/LLMs.md
|
|
|
47
40
|
(use --purdue at Purdue, --suny at SUNY, --tudelft at TU Delft, --cuny at CUNY, or --leiden at Leiden).
|
|
48
41
|
```
|
|
49
42
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
npx -y brightspace-mcp-server@latest setup
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
Purdue students can add `--purdue` to skip entering the school URL:
|
|
57
|
-
|
|
58
|
-
```bash
|
|
59
|
-
npx -y brightspace-mcp-server@latest setup --purdue
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
SUNY campuses share one Brightspace site, so `--suny` also asks which campus
|
|
63
|
-
you're at and skips SUNY's campus picker when you sign in:
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
npx -y brightspace-mcp-server@latest setup --suny
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
TU Delft students can use `--tudelft` to select the Brightspace URL and NetID login:
|
|
70
|
-
|
|
71
|
-
```bash
|
|
72
|
-
npx -y brightspace-mcp-server@latest setup --tudelft
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
Use your NetID rather than your student email address. The TU Delft flow is headless NetID username and password sign-in only, including automatic re-authentication when the saved session expires; it does not support MFA or any other interactive step. If your account requires one, [open an issue](https://github.com/RohanMuppa/brightspace-mcp-server/issues) — that tenant isn't supported yet.
|
|
76
|
-
|
|
77
|
-
CUNY students can add `--cuny`. Sign in with your full CUNY Login address
|
|
78
|
-
(`firstname.lastname01@login.cuny.edu`); authentication asks in the terminal
|
|
79
|
-
for the 6-digit code from your authenticator app. CUNY asks for that code on
|
|
80
|
-
every full sign-in, so when your Brightspace session ends, run
|
|
81
|
-
`npx -y brightspace-mcp-server@latest auth` in a terminal again:
|
|
43
|
+
Using a different AI app? Add the command `npx -y brightspace-mcp-server@latest` to its MCP settings (on Windows: `cmd /c npx -y brightspace-mcp-server@latest`). Exact steps for each app: [docs/troubleshooting.md](docs/troubleshooting.md).
|
|
82
44
|
|
|
83
|
-
|
|
84
|
-
npx -y brightspace-mcp-server@latest setup --cuny
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
Leiden University students can use `--leiden`:
|
|
88
|
-
|
|
89
|
-
```bash
|
|
90
|
-
npx -y brightspace-mcp-server@latest setup --leiden
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
Sign in with your full Microsoft address (for example `s1234567@vuw.leidenuniv.nl`). The flow picks Leiden University (Entra) on SURFconext's account page, then uses the same Microsoft sign-in as Purdue. Leiden normally asks for a code from your authenticator app, which `auth` prompts for in the terminal.
|
|
94
|
-
|
|
95
|
-
The wizard saves your password in the native credential store and asks how you'll complete MFA: wait for approval or number matching, enter a terminal code from Google Authenticator or another app, or use a visible browser for other interactive methods. It can also configure Claude Desktop, Cursor, Codex Desktop and CLI, and Claude Code when installed — restart your AI client when it finishes.
|
|
96
|
-
|
|
97
|
-
Any other D2L school: run `setup` without a flag and paste your Brightspace URL (for example `https://yourschool.brightspace.com`).
|
|
98
|
-
|
|
99
|
-
<details>
|
|
100
|
-
<summary>Using a different client? Configure it manually.</summary>
|
|
101
|
-
|
|
102
|
-
Search your client's docs for how to add an MCP server. The server command to register is:
|
|
103
|
-
|
|
104
|
-
```
|
|
105
|
-
npx -y brightspace-mcp-server@latest
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
On **Windows**, npx must be wrapped: `cmd /c npx -y brightspace-mcp-server@latest`
|
|
109
|
-
|
|
110
|
-
You still need to run `npx -y brightspace-mcp-server@latest setup` first to save your credentials.
|
|
111
|
-
|
|
112
|
-
For Codex Desktop and Codex CLI, run:
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
codex mcp add brightspace -- npx -y brightspace-mcp-server@latest
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
Codex Desktop and CLI use the same user configuration on a computer. Restart the desktop app or start a new CLI session after registration.
|
|
119
|
-
|
|
120
|
-
For Claude Code, run:
|
|
121
|
-
|
|
122
|
-
```bash
|
|
123
|
-
claude mcp add --scope user brightspace -- npx -y brightspace-mcp-server@latest
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
Claude Desktop uses a separate configuration, which the setup wizard can update automatically.
|
|
127
|
-
|
|
128
|
-
</details>
|
|
129
|
-
|
|
130
|
-
Building against this server or opening a PR? See [STABILITY.md](STABILITY.md) for what's safe to rely on and what counts as a breaking change.
|
|
131
|
-
|
|
132
|
-
**Running from a source checkout or fork?** When a newer release is published, the server tells a source checkout to `git pull` and `npm run build` rather than to install the npm package. For a fork you maintain, set `D2L_NO_UPDATE_CHECK=1` in the server's environment to turn off upstream update notices.
|
|
133
|
-
|
|
134
|
-
## Supported schools
|
|
135
|
-
|
|
136
|
-
| School | Login flow | Setup preset |
|
|
137
|
-
|--------|-----------|--------------|
|
|
138
|
-
| Purdue | Microsoft Entra (number matching, authenticator code, or visible browser) | `--purdue` |
|
|
139
|
-
| SUNY | Shared tenant with a campus picker | `--suny` |
|
|
140
|
-
| Western University | Microsoft Entra | `--western` |
|
|
141
|
-
| TU Delft | NetID via SURFconext (headless, no MFA) | `--tudelft` |
|
|
142
|
-
| CUNY | CUNY Login, with an authenticator code on every full sign-in | `--cuny` |
|
|
143
|
-
| Leiden University | SURFconext → Microsoft Entra | `--leiden` |
|
|
144
|
-
| Any other D2L school | Paste your Brightspace URL; unsupported login pages fall back to the visible browser | run `setup` with no flag |
|
|
145
|
-
|
|
146
|
-
## Session Expired?
|
|
147
|
-
|
|
148
|
-
There's no login step — asking a question signs you in.
|
|
149
|
-
|
|
150
|
-
**Normal days:** tokens renew over HTTPS, and a background browser silently replays your saved Microsoft session (silent SSO) if it lapses.
|
|
151
|
-
|
|
152
|
-
**When MFA is asked:** the number to approve shows up right in the tool's response, and sign-in finishes in the background — approve it, call the tool again, and use the newest number if one goes stale. TOTP apps (Google Authenticator, etc.) get prompted via the terminal; visible-browser mode opens a window instead, though automatic recovery during a tool call still runs headless unless you set `D2L_HEADLESS=false`. On Duo, sign-in auto-answers "Is this your device?" with **yes**, since a headless run has nobody to click it — this also makes Duo remember the device, so skip it on shared machines. Set `D2L_DUO_PASSCODE` to swap the push for a typed passcode. On Microsoft's MFA page, setting `D2L_REMEMBER_MFA=true` makes the server tick "Don't ask again" when your school offers it, so later sign-ins can skip the second factor; how long that lasts is the school's setting, not the server's. It is off by default — leave it off on a shared machine — and `get_server_info` shows whether the box was ticked, offered, or left alone.
|
|
45
|
+
## Does my school work?
|
|
153
46
|
|
|
154
|
-
|
|
47
|
+
If your school uses D2L Brightspace, yes. These have automatic sign-in built in:
|
|
48
|
+
|
|
49
|
+
| School | Sign-in | Flag |
|
|
50
|
+
|--------|---------|------|
|
|
51
|
+
| Purdue | Microsoft (phone approval, authenticator code, or browser) | `--purdue` |
|
|
52
|
+
| SUNY | Shared site with a campus picker | `--suny` |
|
|
53
|
+
| Western University | Microsoft | `--western` |
|
|
54
|
+
| TU Delft | NetID (no two-factor) | `--tudelft` |
|
|
55
|
+
| CUNY | CUNY Login, authenticator code each time | `--cuny` |
|
|
56
|
+
| Leiden University | SURFconext → Microsoft | `--leiden` |
|
|
57
|
+
| Any other D2L school | Paste your Brightspace address; if the login page isn't recognized, a browser window opens so you can sign in by hand | none |
|
|
58
|
+
|
|
59
|
+
School-specific quirks: [docs/sign-in.md](docs/sign-in.md#per-school-notes).
|
|
60
|
+
|
|
61
|
+
## Things to ask
|
|
62
|
+
|
|
63
|
+
| About | Try |
|
|
64
|
+
|-------|-----|
|
|
65
|
+
| Grades | "Am I passing all my classes?" · "Compare my grades across courses" |
|
|
66
|
+
| Due dates | "What's due in the next 48 hours?" · "Build me a study schedule for the week" |
|
|
67
|
+
| Assignments and rubrics | "What does the lab 4 spec actually ask for?" · "Why did I lose points on the analysis criterion?" |
|
|
68
|
+
| Quizzes and exams | "Which quizzes close this week?" · "Is there a midterm in the gradebook that isn't on my assignments list?" |
|
|
69
|
+
| Announcements | "Did any professor post something important today?" · "Read the file attached to today's announcement" |
|
|
70
|
+
| Course content | "Find the midterm review slides" · "Download every PDF from Module 5" · "Search this course for office hours" |
|
|
71
|
+
| People | "Who are the TAs for ECE 264?" · "Who is in my project group?" |
|
|
72
|
+
| Discussions | "Summarize the latest posts in the final project thread" |
|
|
73
|
+
| Lecture videos | "What did the professor say about pinch-off in Tuesday's recording?" (Kaltura and YouTube) |
|
|
74
|
+
| Calendar | "When is my midterm?" · "Is lab cancelled on Thursday?" |
|
|
75
|
+
|
|
76
|
+
Apps with a prompt picker (like Claude Desktop) also offer four ready-made prompts: `weekly_briefing`, `grade_audit`, `study_planner`, and `course_summary`.
|
|
77
|
+
|
|
78
|
+
## What it can do
|
|
79
|
+
|
|
80
|
+
Nineteen read-only tools behind those questions. The ones worth knowing about:
|
|
81
|
+
|
|
82
|
+
- **Grades** — every course's gradebook with instructor comments, and the hidden "exam" items that only appear in the gradebook.
|
|
83
|
+
- **Assignments** — due dates with a plain-words `dueIn` ("in 3 days"), your submissions and the feedback on them, rubric names, and quizzes with attempt counts. While sign-in is still pending it says so instead of returning an empty list.
|
|
84
|
+
- **Rubrics** — the full criteria, levels, and points for an assignment, plus your own graded outcome per criterion when your school exposes it.
|
|
85
|
+
- **Due dates and calendar** — upcoming deadlines from assignments, quizzes, graded discussions, and the course calendar (exams, labs, review sessions).
|
|
86
|
+
- **Announcements** — with attachments you can read or save.
|
|
87
|
+
- **Course content** — modules and topics as markdown, file download (PDF, Office, and more), and release windows: it tells you when something opens, has ended, or is hidden instead of a bare error.
|
|
88
|
+
- **Search** — content, announcements, and discussions by keyword in one call.
|
|
89
|
+
- **Lecture videos** — transcripts for Kaltura and YouTube embeds.
|
|
90
|
+
- **People** — roster, instructor and TA emails, and your project or lab groups.
|
|
91
|
+
- **Discussions** — forums and topics.
|
|
92
|
+
- **Diagnostics** — `get_server_info`: version, timezone, who you're signed in as, whether Microsoft remembered your device, and request counters, all without touching Brightspace.
|
|
93
|
+
|
|
94
|
+
Sign-in is automatic: silent renewal most days, the MFA number shown in-chat when needed, Duo and authenticator-code support, a visible-browser mode for anything else, an opt-in "remember this device" for Microsoft, and a browser-free mode (paste a session cookie or token) for Docker, WSL, and hardware-key accounts. Links in course content have D2L's session tokens stripped before they reach the AI.
|
|
95
|
+
|
|
96
|
+
## Settings you might want
|
|
97
|
+
|
|
98
|
+
All optional, set in your AI app's MCP `env` config or your shell. The full list is in [LLMs.md](LLMs.md).
|
|
99
|
+
|
|
100
|
+
| Setting | What it does |
|
|
101
|
+
|---------|--------------|
|
|
102
|
+
| `D2L_REMEMBER_MFA=true` | Tick Microsoft's "Don't ask again" box so later sign-ins skip the second factor (off by default; not for shared computers) |
|
|
103
|
+
| `D2L_HEADLESS=false` | Show the browser window during sign-in, for MFA methods that need a click |
|
|
104
|
+
| `D2L_DUO_PASSCODE=1` | On Duo, type a passcode instead of waiting for a push |
|
|
105
|
+
| `D2L_SESSION_COOKIE` / `D2L_ACCESS_TOKEN` | Skip the browser entirely with a pasted cookie or token ([how](docs/sign-in.md#no-browser-paste-a-session-cookie-or-token)) |
|
|
106
|
+
| `D2L_INCLUDE_COURSES` / `D2L_EXCLUDE_COURSES` | Limit which courses the AI sees, by course id |
|
|
107
|
+
| `D2L_ACTIVE_ONLY=false` | Include courses whose enrollment has ended |
|
|
108
|
+
| `D2L_NO_UPDATE_CHECK=1` | Turn off the new-version notice |
|
|
109
|
+
|
|
110
|
+
## When it asks you to sign in
|
|
111
|
+
|
|
112
|
+
There's no separate login — asking a question signs you in, and it stays signed in on its own most days. When your school wants two-factor again, the number to approve shows up right in the answer; approve it on your phone and ask again. If it ever gets stuck, run this in a terminal:
|
|
155
113
|
|
|
156
114
|
```bash
|
|
157
115
|
npx -y brightspace-mcp-server@latest auth
|
|
158
116
|
```
|
|
159
117
|
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
## No browser? Paste a session cookie or token
|
|
163
|
-
|
|
164
|
-
The normal setup drives a real (usually hidden) browser through sign-in, which doesn't work in Docker, headless Linux, WSL without a display, or on a tenant whose MFA requires a hardware security key. Two environment variables skip the browser entirely; set one and leave the normal setup untouched:
|
|
165
|
-
|
|
166
|
-
- **`D2L_SESSION_COOKIE`** — the `d2lSessionVal` and `d2lSecureSessionVal` cookies from a browser tab where you're already signed in to Brightspace. In Chrome DevTools: open your Brightspace site, **F12 → Application → Cookies**, find `d2lSessionVal` and `d2lSecureSessionVal`, and set the variable to either form:
|
|
167
|
-
```bash
|
|
168
|
-
export D2L_SESSION_COOKIE="d2lSessionVal=<value>; d2lSecureSessionVal=<value>"
|
|
169
|
-
# or just the two values, in that order:
|
|
170
|
-
export D2L_SESSION_COOKIE="<d2lSessionVal>;<d2lSecureSessionVal>"
|
|
171
|
-
```
|
|
172
|
-
- **`D2L_ACCESS_TOKEN`** — a pre-issued Bearer token (an admin-issued Valence token, or one minted by a TA script):
|
|
173
|
-
```bash
|
|
174
|
-
export D2L_ACCESS_TOKEN="<token>"
|
|
175
|
-
```
|
|
118
|
+
How often you're asked is up to your school, not this tool. Everything else about sign-in — Duo, authenticator codes, visible-browser mode, and running without a browser at all (Docker, WSL, hardware keys) — is in [docs/sign-in.md](docs/sign-in.md).
|
|
176
119
|
|
|
177
|
-
|
|
120
|
+
## Something not working?
|
|
178
121
|
|
|
179
|
-
|
|
122
|
+
- **It works in the terminal but not in the app:** the app starts it separately and may not see your password store yet — see [docs/troubleshooting.md](docs/troubleshooting.md).
|
|
123
|
+
- **Which version do I have?** Ask your AI "which version of the Brightspace server am I running?"
|
|
124
|
+
- **Still stuck?** [Open an issue](https://github.com/RohanMuppa/brightspace-mcp-server/issues) and paste what the terminal printed.
|
|
180
125
|
|
|
181
|
-
|
|
126
|
+
## Is it safe?
|
|
182
127
|
|
|
183
|
-
|
|
128
|
+
Your password is kept in your operating system's password store, never in a plain file. Saved sign-in state is encrypted. Your second factor (the phone tap or code) stays on your phone — this tool never sees or stores it. And it can only read your courses, never change them.
|
|
184
129
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
**Works in a terminal but not in the client:** the client launches the server as its own subprocess, which doesn't inherit your shell's environment. Common causes: the native credential store is locked (a GUI app started before you unlocked your keyring or logged into macOS won't get a Keychain prompt the way a terminal does), `HOME` or `PATH` differ for GUI-launched processes versus your shell, or `npx` resolves a different cached version than the one on your `PATH`. To check, run the exact registered command (`npx -y brightspace-mcp-server@latest`, or `cmd /c npx -y brightspace-mcp-server@latest` on Windows) from a fresh terminal with no extra environment set, and compare.
|
|
188
|
-
|
|
189
|
-
**Which version am I running:** ask the assistant anything that calls `get_server_info` — it reports the running version, Node runtime, and config/session paths with no network call. If you're on a source checkout instead of the published npm package, that version comes from the local `build/` output, so it only reflects your latest `npm run build`, not what's on npm.
|
|
190
|
-
|
|
191
|
-
## Does it work with ChatGPT, Cursor, Windsurf or Claude Code?
|
|
192
|
-
|
|
193
|
-
Yes — it's a standard MCP server, so it works with Claude Desktop, Claude Code, Cursor, ChatGPT Desktop,
|
|
194
|
-
Windsurf, Codex, and any other MCP client. The setup wizard auto-configures Claude Desktop, Cursor, and
|
|
195
|
-
Codex Desktop/CLI, and uses `claude mcp add` for Claude Code, when it detects them on your machine. Any
|
|
196
|
-
other client just needs the same `npx -y brightspace-mcp-server@latest` command added to its MCP config
|
|
197
|
-
(see "Using a different client?" above for exact steps).
|
|
198
|
-
|
|
199
|
-
## Is my password safe?
|
|
200
|
-
|
|
201
|
-
Your password is saved in your operating system's native credential store (macOS Keychain, Windows
|
|
202
|
-
Credential Manager, or Linux Secret Service) — never in a plaintext file. Session state on disk is
|
|
203
|
-
encrypted with AES-256-GCM. None of the server's tools submit, edit, or delete anything in your
|
|
204
|
-
courses; they only read grades, assignments, and course content. The second factor itself (an
|
|
205
|
-
approval tap, a number match, or a TOTP code) stays on your phone or authenticator app — the server
|
|
206
|
-
never sees or stores it.
|
|
207
|
-
|
|
208
|
-
## Does my school work?
|
|
130
|
+
## For developers
|
|
209
131
|
|
|
210
|
-
|
|
211
|
-
have dedicated setup presets with automated sign-in; see [Supported schools](#supported-schools) above
|
|
212
|
-
for which flag to use. Any other Brightspace school works too — run `setup` without a flag and paste
|
|
213
|
-
your school's Brightspace URL, and an unsupported login page falls back to a visible browser window
|
|
214
|
-
you complete by hand.
|
|
215
|
-
|
|
216
|
-
## Why do I have to approve MFA sometimes?
|
|
217
|
-
|
|
218
|
-
How often you're asked is your school's sign-in frequency setting, not something this server controls —
|
|
219
|
-
the same approval you'd see signing in through a regular browser. Set `D2L_REMEMBER_MFA=true` to have
|
|
220
|
-
the server tick Microsoft's "Don't ask again" box during sign-in so later logins can skip the second
|
|
221
|
-
factor for as long as your school's tenant allows; it's opt-in and off by default, so leave it off on a
|
|
222
|
-
shared machine.
|
|
223
|
-
|
|
224
|
-
## What You Can Ask About
|
|
225
|
-
|
|
226
|
-
| Topic | Examples |
|
|
227
|
-
|-------|---------|
|
|
228
|
-
| Grades | "Am I passing all my classes?" · "Compare my grades across all courses" |
|
|
229
|
-
| Assignments | "What's due in the next 48 hours?" · "Summarize every assignment I haven't turned in yet" · "Give me the link to submit HW 4" |
|
|
230
|
-
| Quizzes | "Which quizzes close this week?" · "Is Quiz 3 timed, and does it have a grace period?" |
|
|
231
|
-
| Assignment files | "What does the lab 4 spec actually ask for?" · "Summarize the rubric attached to the project" |
|
|
232
|
-
| Rubrics | "What does the rubric for Lab 4 actually want?" · "Why did I lose points on the analysis criterion?" — `get_assignment_rubric` returns the full criteria groups, levels, and point values for a dropbox assignment, plus your own graded outcome per criterion when the tenant exposes it |
|
|
233
|
-
| Exams | "Is there a midterm in the gradebook that isn't on my assignments list?" |
|
|
234
|
-
| Announcements | "Did any professor post something important today?" · "What did my CS prof announce this week?" · "Any announcements since last Monday?" · "Read the file attached to today's announcement" · "Save the rubric my prof attached to that announcement" |
|
|
235
|
-
| Course content | "Find the midterm review slides" · "Download every PDF from Module 5" · "What's new in this course since I last checked?" |
|
|
236
|
-
| Roster | "Who are the TAs for ECE 264?" · "Get me my instructor's email" |
|
|
237
|
-
| Groups | "Who is in my project group?" · "List my lab group members for this course" |
|
|
238
|
-
| Discussions | "What are people saying in the final project thread?" · "Summarize the latest discussion posts" |
|
|
239
|
-
| Search | "Search this course for the midterm review slides" · "Has anyone posted about office hours?" — searches content, announcements, and discussions by keyword in one call instead of reading the whole content tree |
|
|
240
|
-
| Video transcripts | "What did the professor say about pinch-off in Tuesday's lecture recording?" · "Summarize last week's BoilerCast video" — works for Kaltura and YouTube embeds; other platforms report that they aren't supported yet |
|
|
241
|
-
| Troubleshooting | "Which version of the Brightspace server am I running?" · "Where is my Brightspace config file?" · "What timezone are my due dates being computed in?" — `get_server_info` reports the version, Node runtime, platform, config and session paths, school URL, whether a credential is stored, the server's local timezone and UTC offset (`localTimezone`, `utcOffsetMinutes`), who the session is signed in as when known (`signedInAs: { uniqueName, displayName }`), what Microsoft remembered (`microsoftSession`: stay-signed-in and its expiry, plus whether "Don't ask again" was ticked, already on, not offered, or left off because `D2L_REMEMBER_MFA` isn't set), and `requests` (lightweight counters: responses by status class, network errors, cache hits/misses, coalesced in-flight joins, and token refreshes), without contacting Brightspace or revealing secrets |
|
|
242
|
-
| Calendar | "When is my midterm?" · "What's on my calendar this week?" · "Is lab cancelled on Thursday?" — reads exams, labs, review sessions, and deadlines instructors put only on the course calendar |
|
|
243
|
-
| Planning | "Build me a study schedule based on my upcoming due dates" · "Which class needs the most attention right now?" — pulls from assignments, quizzes, graded discussion topics (any topic with a due date), and course calendar events such as exams and labs |
|
|
244
|
-
|
|
245
|
-
### Prompts
|
|
246
|
-
|
|
247
|
-
Clients that show server-provided prompts (e.g. Claude Desktop's prompt picker) can also start from one of
|
|
248
|
-
four canned prompts instead of typing a question from scratch:
|
|
249
|
-
|
|
250
|
-
| Prompt | Arguments | What it asks for |
|
|
251
|
-
|--------|-----------|-------------------|
|
|
252
|
-
| `weekly_briefing` | — | A 7-day rollup of what's due, what's new, and what's changed in grades, across every course |
|
|
253
|
-
| `grade_audit` | `courseId` (optional) | Analyzes grades for one course, or all of them, and flags missing or low-scoring items |
|
|
254
|
-
| `study_planner` | `daysAhead` (optional, default 7) | Plans study time from upcoming due dates and calendar events |
|
|
255
|
-
| `course_summary` | `courseId` (required) | Syllabus, content outline, assignments, and grades for one course |
|
|
256
|
-
|
|
257
|
-
Each prompt is a single starter message built from the tools above — it doesn't add any new capability on
|
|
258
|
-
its own, just a one-click way to ask for a common combination of them.
|
|
259
|
-
|
|
260
|
-
`get_course_content` reports `isAvailable`, `availabilityStatus` (`available`, `not_yet_open`, `ended`, `hidden`, or `locked`), `availabilityMessage`, `startDate`, and `endDate` for modules and topics. The effective release window includes restrictions inherited from enclosing modules.
|
|
261
|
-
|
|
262
|
-
When a content-file download returns 403 or 404, `download_file` checks topic metadata and the course table of contents. Confirmed restrictions return `{ success: false, available: false, reason, message, startDate, endDate }` so the assistant can explain when content opens or why it has closed. Unexplained 404s and server/network failures retain their original errors.
|
|
263
|
-
|
|
264
|
-
When course content or announcements are converted to markdown, `javascript:`/`data:` links are rendered as plain text (the link itself is dropped, not followed) and D2L's per-session query parameters (`d2lSessionVal`, `d2lSecureSessionVal`, and the cache-busting `_`) are stripped from any remaining links and images before they reach the assistant.
|
|
265
|
-
|
|
266
|
-
Licensed under the MIT License.
|
|
132
|
+
Tool reference, response fields, and environment variables: [LLMs.md](LLMs.md). What's safe to build against: [STABILITY.md](STABILITY.md). Licensed under the MIT License.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brightspace-mcp-server",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.10",
|
|
4
4
|
"mcpName": "io.github.rohanmuppa/brightspace",
|
|
5
5
|
"description": "MCP server for Brightspace (D2L). Check grades, due dates, assignments, announcements, syllabus, rosters and more via Claude, ChatGPT, Cursor, Windsurf, or any MCP client.",
|
|
6
6
|
"type": "module",
|