MCP Server Studio

Brightspace MCP server

D2L Brightspace MCP server: grades, due dates, assignments, announcements and files. Any school.

Registry name: io.github.RohanMuppa/brightspace

Publisher
RohanMuppa
Runs
Runs locally
Package
npm
Version
5.10.0
Category
Developer tools
Updated
2026-12-01

Source code on GitHub

Set up Brightspace (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "brightspace": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "D2L_BASE_URL": "<D2L_BASE_URL>",
        "D2L_SESSION_DIR": "<D2L_SESSION_DIR>",
        "D2L_HEADLESS": "<D2L_HEADLESS>",
        "D2L_TOKEN_TTL": "<D2L_TOKEN_TTL>",
        "D2L_INCLUDE_COURSES": "<D2L_INCLUDE_COURSES>",
        "D2L_EXCLUDE_COURSES": "<D2L_EXCLUDE_COURSES>",
        "D2L_ACTIVE_ONLY": "<D2L_ACTIVE_ONLY>",
        "D2L_CURRENT_ONLY": "<D2L_CURRENT_ONLY>",
        "D2L_DEV_MODE": "<D2L_DEV_MODE>",
        "D2L_NO_UPDATE_CHECK": "<D2L_NO_UPDATE_CHECK>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add brightspace -e D2L_BASE_URL='<D2L_BASE_URL>' -e D2L_SESSION_DIR='<D2L_SESSION_DIR>' -e D2L_HEADLESS='<D2L_HEADLESS>' -e D2L_TOKEN_TTL='<D2L_TOKEN_TTL>' -e D2L_INCLUDE_COURSES='<D2L_INCLUDE_COURSES>' -e D2L_EXCLUDE_COURSES='<D2L_EXCLUDE_COURSES>' -e D2L_ACTIVE_ONLY='<D2L_ACTIVE_ONLY>' -e D2L_CURRENT_ONLY='<D2L_CURRENT_ONLY>' -e D2L_DEV_MODE='<D2L_DEV_MODE>' -e D2L_NO_UPDATE_CHECK='<D2L_NO_UPDATE_CHECK>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "brightspace": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "D2L_BASE_URL": "<D2L_BASE_URL>",
        "D2L_SESSION_DIR": "<D2L_SESSION_DIR>",
        "D2L_HEADLESS": "<D2L_HEADLESS>",
        "D2L_TOKEN_TTL": "<D2L_TOKEN_TTL>",
        "D2L_INCLUDE_COURSES": "<D2L_INCLUDE_COURSES>",
        "D2L_EXCLUDE_COURSES": "<D2L_EXCLUDE_COURSES>",
        "D2L_ACTIVE_ONLY": "<D2L_ACTIVE_ONLY>",
        "D2L_CURRENT_ONLY": "<D2L_CURRENT_ONLY>",
        "D2L_DEV_MODE": "<D2L_DEV_MODE>",
        "D2L_NO_UPDATE_CHECK": "<D2L_NO_UPDATE_CHECK>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "brightspace": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "D2L_BASE_URL": "<D2L_BASE_URL>",
        "D2L_SESSION_DIR": "<D2L_SESSION_DIR>",
        "D2L_HEADLESS": "<D2L_HEADLESS>",
        "D2L_TOKEN_TTL": "<D2L_TOKEN_TTL>",
        "D2L_INCLUDE_COURSES": "<D2L_INCLUDE_COURSES>",
        "D2L_EXCLUDE_COURSES": "<D2L_EXCLUDE_COURSES>",
        "D2L_ACTIVE_ONLY": "<D2L_ACTIVE_ONLY>",
        "D2L_CURRENT_ONLY": "<D2L_CURRENT_ONLY>",
        "D2L_DEV_MODE": "<D2L_DEV_MODE>",
        "D2L_NO_UPDATE_CHECK": "<D2L_NO_UPDATE_CHECK>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "brightspace": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "D2L_BASE_URL": "<D2L_BASE_URL>",
        "D2L_SESSION_DIR": "<D2L_SESSION_DIR>",
        "D2L_HEADLESS": "<D2L_HEADLESS>",
        "D2L_TOKEN_TTL": "<D2L_TOKEN_TTL>",
        "D2L_INCLUDE_COURSES": "<D2L_INCLUDE_COURSES>",
        "D2L_EXCLUDE_COURSES": "<D2L_EXCLUDE_COURSES>",
        "D2L_ACTIVE_ONLY": "<D2L_ACTIVE_ONLY>",
        "D2L_CURRENT_ONLY": "<D2L_CURRENT_ONLY>",
        "D2L_DEV_MODE": "<D2L_DEV_MODE>",
        "D2L_NO_UPDATE_CHECK": "<D2L_NO_UPDATE_CHECK>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
D2L_BASE_URLNoYour school's Brightspace URL. Default: https://purdue.brightspace.com. Normally set by the setup wizard in ~/.brightspace-mcp/config.json instead.
D2L_SESSION_DIRNoLocal root for separate per-school/account directories containing encrypted tokens and browser storage. Encryption keys are kept in the native credential store. Default: ~/.d2l-session
D2L_HEADLESSNoRun browser authentication without a visible window. Set false only for MFA methods that require browser interaction. Default: true
D2L_TOKEN_TTLNoSeconds an access token is used before it is re-minted from the session cookie. Default: 3600
D2L_INCLUDE_COURSESNoComma separated course (org unit) ids to include. Default: all enrolled courses.
D2L_EXCLUDE_COURSESNoComma separated course (org unit) ids to exclude.
D2L_ACTIVE_ONLYNoOnly return courses whose enrollment is active. Default: true
D2L_CURRENT_ONLYNoOnly return courses whose Access.StartDate to Access.EndDate window contains now, matching Brightspace's "Current Courses" widget. Default: false
D2L_DEV_MODENoSet to true to record local tool timestamps and safe authentication outcomes in the account session directory. No arguments, results or credentials are logged. Default: false.
D2L_NO_UPDATE_CHECKNoSet to any value to disable the startup check against the npm registry for a newer version.

More developer tools MCP servers