# brightspace [Health: Active]

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

## Description
MCP server for D2L Brightspace. Multi-auth, 26+ tools, MCP Resources, Prompts, and web dashboard.

## Tools
Capabilities this server exposes over MCP:

- **check_auth** — Verify authentication and show the active user identity
- **list_my_courses** — List all enrolled courses
- **get_my_grades** — Get grades for a course
- **get_assignments** — List assignments and dropbox folders
- **get_assignment_files** — Download and read instructor-posted assignment files
- **get_upcoming_due_dates** — List assignments due in the next N days
- **get_feedback** — Read the grade, instructor comments and per-criterion rubric results for an assignment
- **get_assignment_rubric** — Show an assignment's grading rubric (criteria, levels, points, descriptions)
- **get_my_submissions** — List and download the files you (or your group) submitted, even after the folder closes
- **get_syllabus** — Fetch the course syllabus
- **get_course_content** — Browse modules and topics (includes topic IDs)
- **get_topic_file** — Download and read a content topic file (DOCX, PDF, HTML, plain text)
- **get_announcements** — List course announcements (excerpt, author, attachments)
- **get_announcement** — Read one announcement in full, or one of its attachments
- **get_discussions** — Browse discussion forums and threads
- **get_calendar_events** — List calendar events in a date range
- **get_roster** — Get the full course roster
- **get_classlist_emails** — Get classmate email addresses
- **get_my_groups** — List group enrollments per course with member rosters
- **list_quizzes** — List quizzes with attempt counts, time limits, due dates
- **get_quiz_attempts** — Your attempts on a quiz with scores and timestamps
- **list_notifications** — User activity feed (announcements, due-date reminders, grade releases)
- **search_course** — Full-text search across content, announcements, and discussions
- **get_audit_log** — Local history of write operations (correlation IDs, redacted args)
- **get_diagnostics** — Show cache stats, circuit breaker state, and version info
- **clear_cache** — Clear memory and persistent cache backends
- **submit_assignment** — Upload a file to a Brightspace Dropbox folder
- **post_discussion_reply** — Reply to a discussion thread
- **mark_announcement_read** — Mark an announcement as read

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

```json
"mcpServers": {
  "brightspace": {
    "command": "npx",
    "args": ["-y","brightspace-mcp@latest"],
    "env": {
      "BRIGHTSPACE_API_TOKEN": "",
      "BRIGHTSPACE_USERNAME": "",
      "BRIGHTSPACE_PASSWORD": "",
      "BRIGHTSPACE_TOTP_SECRET": "",
      "BRIGHTSPACE_COOKIE": ""
    }
  }
}
```

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

## Documentation

## What brightspace does

brightspace connects an MCP client to a D2L Brightspace instance and makes personal course information available to an AI assistant. Read-oriented tools cover enrolled courses, grades, assignments, due dates, feedback, rubrics, submissions, syllabi, course modules, topic files, announcements, discussions, calendar events, quizzes, notifications, rosters, classmate email addresses, and group memberships.

The server also includes full-text search across course content, announcements, and discussions. Diagnostic tools expose cache and circuit-breaker state, while the audit log records local write-operation history with correlation IDs and redacted arguments. MCP Resources and Prompts are included, along with a dashboard interface.

## How it works

Authentication is selected per Brightspace profile. API-token authentication uses a Valence token, while headless authentication automates the HTTP login flow. Browser authentication runs a headless Chromium session through Playwright and is intended for login pages involving JavaScript-heavy SSO flows such as Microsoft Azure AD or SAML. A session-cookie strategy accepts D2L cookies copied from browser developer tools.

MFA can be configured as none, TOTP, Duo Push, or a manual code prompt. Duo Push is handled by polling for approval. Session data can use memory, file, or Redis caching, and responses can be formatted as Markdown or plain text with a selected timezone and locale.

Write actions are controlled separately from read access. The available writes upload a file to a Dropbox assignment folder, post a discussion reply, and mark an announcement as read. The configuration supports both enabling writes and running them in dry-run mode.

## Setup and configuration

Node.js 20 or newer is required. The recommended first step is the interactive setup command:

```bash
npx brightspace-mcp@latest setup
```

The wizard configures the Brightspace base URL, authentication method, MFA, credential references, and client registration. Start the server with:

```bash
npx brightspace-mcp@latest serve
```

For non-interactive environments, initialize a profile with a base URL, strategy, and token reference:

```bash
npx brightspace-mcp@latest init \
  --base-url https://yourschool.brightspace.com \
  --strategy api_token \
  --token-ref env:BRIGHTSPACE_API_TOKEN
```

Configuration is stored in `~/.brightspace-mcp/config.yaml`. Credentials can reference environment variables, supported operating-system keychains, or encrypted files rather than embedding secret values directly. Redis is available as an optional session-cache backend. Browser authentication additionally requires Playwright and its Chromium installation.

The setup command can register the server with Claude Desktop, Cursor, and Windsurf. Installation is also available through a global npm package or from a source checkout.

## Tools and capabilities

The main tool groups include:

- Verify the active identity and list enrolled courses.
- Retrieve grades, assignment details, feedback, rubrics, submissions, and upcoming due dates.
- Download instructor files, submitted files, and content topics in formats such as DOCX, PDF, HTML, and plain text.
- Browse syllabi, modules, announcements, discussions, calendars, rosters, groups, quizzes, and notifications.
- Search course materials and communication areas with full-text search.
- Submit assignment files, reply to discussion threads, and mark announcements as read.
- Inspect authentication, diagnostics, cache state, and local write history.

## Limitations and notes

Brightspace access depends on the authentication method and policies of the institution's D2L deployment. Browser login requires Playwright and Chromium, while API-token access requires a token issued through the Brightspace administration flow. Session cookies expire according to the configured session lifetime.

Write operations are disabled by default and should be enabled deliberately. Cache data may be kept in memory, files, or Redis depending on the selected profile. The server can check npm for updates; that check can be disabled with `BRIGHTSPACE_NO_UPDATE_CHECK=1`.

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

