D2L Brightspace MCP Server for Pydantic AIGive Pydantic AI instant access to 33 tools to Copy Course, Create Course, Create Enrollment, and more
Pydantic AI brings type-safe agent development to Python with first-class MCP support. Connect D2L Brightspace through Vinkius and every tool is automatically validated against Pydantic schemas. catch errors at build time, not in production.
Ask AI about this MCP Server for Pydantic AI
The D2L Brightspace MCP Server for Pydantic AI is a standout in the Productivity category — giving your AI agent 33 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from pydantic_ai import Agent
from pydantic_ai.mcp import MCPServerHTTP
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
server = MCPServerHTTP(url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp")
agent = Agent(
model="openai:gpt-4o",
mcp_servers=[server],
system_prompt=(
"You are an assistant with access to D2L Brightspace "
"(33 tools)."
),
)
result = await agent.run(
"What tools are available in D2L Brightspace?"
)
print(result.data)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About D2L Brightspace MCP Server
Connect your D2L Brightspace environment to any AI agent to streamline learning management and administrative workflows.
Pydantic AI validates every D2L Brightspace tool response against typed schemas, catching data inconsistencies at build time. Connect 33 tools through Vinkius and switch between OpenAI, Anthropic, or Gemini without changing your integration code. full type safety, structured output guarantees, and dependency injection for testable agents.
What you can do
- Course Management — Retrieve course details, create new offerings, and copy course content between org units using
get_courseandcopy_course. - User Administration — List system users, create new accounts, and manage roles and permissions with
list_usersandcreate_user. - Grade Tracking — Access grade lists and update individual student grades for specific assignments using
get_user_gradeandupdate_user_grade. - Content & Communication — Explore course modules, manage discussion forums, and create new topics or posts via
list_root_modulesandcreate_post. - Assessments — Monitor quizzes, surveys, and assignment submissions, and provide direct feedback using
list_submissionsandprovide_feedback.
The D2L Brightspace MCP Server exposes 33 tools through the Vinkius. Connect it to Pydantic AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 33 D2L Brightspace tools available for Pydantic AI
When Pydantic AI connects to D2L Brightspace through Vinkius, your AI agent gets direct access to every tool listed below — spanning course-management, student-records, lms-integration, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Copy course on D2L Brightspace
Initiate a course copy job
Create course on D2L Brightspace
Create a course offering
Create enrollment on D2L Brightspace
Enroll a user in an org unit
Create lti deployment on D2L Brightspace
Create an LTI Advantage tool deployment
Create org unit on D2L Brightspace
Create custom org units
Create post on D2L Brightspace
Create a post in a discussion topic
Create topic on D2L Brightspace
Create a discussion topic in a forum
Create user on D2L Brightspace
Create a new user
Delete enrollment on D2L Brightspace
Unenroll a user from an org unit
Get course on D2L Brightspace
Retrieve course details
Get course template on D2L Brightspace
Retrieve course template info
Get org unit on D2L Brightspace
Retrieve org unit properties
Get user grade on D2L Brightspace
Retrieve user grades for a specific grade object
Get whoami on D2L Brightspace
Retrieve current user context
List assignment folders on D2L Brightspace
List assignment folders (dropboxes)
List forums on D2L Brightspace
List discussion forums in a course
List grades on D2L Brightspace
List grade objects for a course
List legacy lti links on D2L Brightspace
List legacy LTI 1.1 links
List lti registrations on D2L Brightspace
List LTI Advantage tool registrations
List my enrollments on D2L Brightspace
List current user enrollments
List my eportfolio objects on D2L Brightspace
List current user ePortfolio objects
List org unit children on D2L Brightspace
List child units of an org unit
List quiz attempts on D2L Brightspace
List attempts for a specific quiz
List quizzes on D2L Brightspace
List quizzes in a course
List roles on D2L Brightspace
Retrieve system roles
List root modules on D2L Brightspace
List root modules of course materials
List submissions on D2L Brightspace
List submissions for an assignment folder
List surveys on D2L Brightspace
List surveys in a course
List users on D2L Brightspace
Search or page through users
Provide feedback on D2L Brightspace
Provide feedback for an assignment submission
Update user on D2L Brightspace
Update user data
Update user grade on D2L Brightspace
Update a user grade
Upload eportfolio artifact on D2L Brightspace
Upload a file artifact to ePortfolio
Connect D2L Brightspace to Pydantic AI via MCP
Follow these steps to wire D2L Brightspace into Pydantic AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install Pydantic AI
pip install pydantic-aiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
agent.py and run: python agent.pyExplore tools
Why Use Pydantic AI with the D2L Brightspace MCP Server
Pydantic AI provides unique advantages when paired with D2L Brightspace through the Model Context Protocol.
Full type safety: every MCP tool response is validated against Pydantic models, catching data inconsistencies before they reach your application
Model-agnostic architecture. switch between OpenAI, Anthropic, or Gemini without changing your D2L Brightspace integration code
Structured output guarantee: Pydantic AI ensures tool results conform to defined schemas, eliminating runtime type errors
Dependency injection system cleanly separates your D2L Brightspace connection logic from agent behavior for testable, maintainable code
D2L Brightspace + Pydantic AI Use Cases
Practical scenarios where Pydantic AI combined with the D2L Brightspace MCP Server delivers measurable value.
Type-safe data pipelines: query D2L Brightspace with guaranteed response schemas, feeding validated data into downstream processing
API orchestration: chain multiple D2L Brightspace tool calls with Pydantic validation at each step to ensure data integrity end-to-end
Production monitoring: build validated alert agents that query D2L Brightspace and output structured, schema-compliant notifications
Testing and QA: use Pydantic AI's dependency injection to mock D2L Brightspace responses and write comprehensive agent tests
Example Prompts for D2L Brightspace in Pydantic AI
Ready-to-use prompts you can give your Pydantic AI agent to start working with D2L Brightspace immediately.
"List all users in my Brightspace instance."
"Show me the details for course org unit 8821."
"Get the grade for user 554 in course 8821."
Troubleshooting D2L Brightspace MCP Server with Pydantic AI
Common issues when connecting D2L Brightspace to Pydantic AI through Vinkius, and how to resolve them.
MCPServerHTTP not found
pip install --upgrade pydantic-aiD2L Brightspace + Pydantic AI FAQ
Common questions about integrating D2L Brightspace MCP Server with Pydantic AI.
How does Pydantic AI discover MCP tools?
MCPServerHTTP instance with the server URL. Pydantic AI connects, discovers all tools, and generates typed Python interfaces automatically.Does Pydantic AI validate MCP tool responses?
Can I switch LLM providers without changing MCP code?
Explore More MCP Servers
View all →
Deterministic Readability Scorer
3 toolsEquip your AI with strict linguistic math. Calculate Flesch-Kincaid, Gunning Fog indexes, and exact reading times deterministically.

Airship
10 toolsMobile engagement orchestration — manage push notifications, segments, and channels via AI.

Medusa (Headless E-commerce Engine)
10 toolsManage headless commerce via MedusaJS — search products, track orders, and audit customer data.

ChatBot.com
8 toolsManage conversational AI and bot workflows via ChatBot — track stories, interactions, and user data directly from any AI agent.
