Brightspace logo

Brightspace

Connects AI clients to D2L Brightspace for course data, submissions, discussions, authentication, and selected write operations.

Install Brightspace

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "brightspace": {
      "command": "npx",
      "args": [
        "-y",
        "brightspace-mcp@latest"
      ],
      "env": {
        "BRIGHTSPACE_API_TOKEN": "YOUR_VALUE_HERE",
        "BRIGHTSPACE_USERNAME": "YOUR_VALUE_HERE",
        "BRIGHTSPACE_PASSWORD": "YOUR_VALUE_HERE",
        "BRIGHTSPACE_TOTP_SECRET": "YOUR_VALUE_HERE",
        "BRIGHTSPACE_COOKIE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

The brightspace MCP server connects MCP-compatible AI clients to D2L Brightspace accounts and exposes course, assignment, grade, content, calendar, discussion, quiz, and notification data. It supports API tokens, headless login, Playwright-based browser authentication, session cookies, and MFA options including TOTP and Duo Push. Alongside read operations, agents can submit assignments, reply to discussions, and mark announcements as read when writes are enabled. Reach for brightspace when an assistant needs to retrieve or act on a learner's Brightspace coursework through MCP.

Use cases

  • Review grades, feedback, and rubric results across enrolled courses
  • Find upcoming assignment deadlines and course announcements
  • Search course content, discussions, and announcements
  • Download Brightspace files and submitted assignments
  • Submit coursework or reply to discussions through an MCP client

Key features

  • 26+ Brightspace data and action tools
  • API token, headless, browser, and session-cookie authentication
  • TOTP, Duo Push, and manual MFA support
  • Course search, MCP Resources, and Prompts
  • Optional assignment, discussion, and announcement write operations
  • Memory, file, or Redis session caching

Tools29

What Brightspace lets your agent do. Expand a tool for its parameters.

Self-reported~469 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/20 checks healthy over the last 111d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · brightspace-mcp@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars17Stargazers on the source repository.
npm downloads945Package downloads in the last 30 days.
Last commit6d agoMost recent push to the default branch.
Tools exposed29Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Brightspace works

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:

Terminal
npx brightspace-mcp@latest setup

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

Terminal
npx brightspace-mcp@latest serve

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

Terminal
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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Brightspace

brightspace is an MCP server that connects AI clients to D2L Brightspace. Its main tools retrieve courses, grades, assignments, feedback, content, announcements, discussions, calendars, quizzes, and notifications, while selected tools submit assignments, post discussion replies, and mark announcements as read.

Install it with `npx brightspace-mcp@latest setup`, which launches an interactive configuration wizard and can register the server with supported clients. You can also install the npm package globally or clone the repository and build it from source.

brightspace supports API tokens, headless username-and-password login, Playwright browser login, session cookies, and OAuth as a configured strategy. MFA options include TOTP, Duo Push, manual prompts, and no MFA.

Yes. The setup wizard can register brightspace with Cursor. The server is also intended for Claude Desktop, Windsurf, and other MCP-compatible clients.

Set `writes.enabled` to `true` in the Brightspace configuration. The available write tools can upload an assignment file, post a discussion reply, and mark an announcement as read; `writes.dry_run` is available for testing.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBrightspace AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/brightspace?style=directory)](https://allmcps.com/mcp/brightspace)
HTML Embed
<a href="https://allmcps.com/mcp/brightspace"><img src="https://allmcps.com/api/badge/brightspace?style=directory" alt="Brightspace on AllMCPs" /></a>