bb-mcp

Ask an AI assistant about your Blackboard Learn courses. An MCP server with 40 tools and 4 roles.

For schools and developers who want students, instructors, admins and parents to ask things like “What do I have due this week?” MCP (Model Context Protocol) is the plug-in standard that assistants such as Claude Desktop and Cursor use to call outside tools.

One question, one tool call

Generated from the code with a fictional student and course. No real Blackboard data.

A student asks how they are doing in Intro to Biology; the assistant calls get_my_grades and answers with an average of 88.5 on two graded items.
The assistant calls get_my_grades and answers from the result.
Terminal output of bb-mcp --help and --doctor, listing the runtime modes and an environment readiness report that shows no secret values.
Check a setup from the command line: --help lists the modes, --doctor reports readiness without printing secrets.

Tools by role

Student Tools (9)

Upcoming assignments, grades, announcements, course content, submission status — all in one call.

Instructor Tools (7)

Roster, grade distribution, at-risk students, discussion summaries, AI-assisted announcements.

Grade Write-Back (6)

Create assignments, grade columns, update/delete/exempt grades — FERPA-gated, course-entitled.

Admin and Webhooks (12)

User directory, enrollments, audit logs, plus five webhook subscription tools — all with local access-audit trail.

Parent Tools (5)

Guardian-scoped read-only: children's courses, grades, upcoming work, announcements.

Security First

MCP_API_KEY gate (when configured), per-role rate limits, FERPA gate, email scrubbing on successful tool responses, audit logging.

Plus 1 shared tool, search_course_materials, open to students, instructors and admins. 9 + 7 + 6 + 12 + 5 + 1 = 40 tools.

Quick start

Runs on your machine over stdio. Needs Node.js 20.19 or newer, git, and REST application credentials from developer.blackboard.com.

  1. Clone and build.
    git clone https://github.com/nitsuah/bb-mcp
    cd bb-mcp
    npm ci
    npm run build
  2. Create .env, then set BB_CLIENT_ID, BB_CLIENT_SECRET and BB_BASE_URL in it.
    cp .env.example .env
  3. Check the settings, then the connection. --doctor only checks that values are set; --probe calls your Blackboard instance, and a working setup shows ok for both the token exchange and the API request.
    node dist/index.js --doctor
    node dist/index.js --probe
  4. Add the server to your MCP client (for Claude Desktop, claude_desktop_config.json). The client does not read your .env, so repeat the three values here.
    {
      "mcpServers": {
        "blackboard-learn": {
          "command": "node",
          "args": ["/path/to/bb-mcp/dist/index.js", "--stdio"],
          "env": {
            "BB_CLIENT_ID": "your-client-id",
            "BB_CLIENT_SECRET": "your-client-secret",
            "BB_BASE_URL": "https://your-instance.blackboard.com"
          }
        }
      }
    }
  5. Restart the client and ask: “What do I have due this week? My Blackboard user ID is bbuser123 and my role is student.”

Serving it over a network, including from the Docker image, needs OIDC and TLS first. See the README.

bb-mcp is an independent open-source project. It is not affiliated with, endorsed by, or sponsored by Anthology Inc. or Blackboard Inc. All trademarks are the property of their respective owners. Blackboard® and Blackboard Learn® are registered trademarks of Anthology Inc.