D2L Brightspace MCP Server for LangChainGive LangChain instant access to 33 tools to Copy Course, Create Course, Create Enrollment, and more
LangChain is the leading Python framework for composable LLM applications. Connect D2L Brightspace through Vinkius and LangChain agents can call every tool natively. combine them with retrievers, memory, and output parsers for sophisticated AI pipelines.
Ask AI about this MCP Server for LangChain
The D2L Brightspace MCP Server for LangChain 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 langchain_mcp_adapters.client import MultiServerMCPClient
from langchain_openai import ChatOpenAI
from langgraph.prebuilt import create_react_agent
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with MultiServerMCPClient({
"d2l-brightspace": {
"transport": "streamable_http",
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
}
}) as client:
tools = client.get_tools()
agent = create_react_agent(
ChatOpenAI(model="gpt-4o"),
tools,
)
response = await agent.ainvoke({
"messages": [{
"role": "user",
"content": "Using D2L Brightspace, show me what tools are available.",
}]
})
print(response["messages"][-1].content)
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.
LangChain's ecosystem of 500+ components combines seamlessly with D2L Brightspace through native MCP adapters. Connect 33 tools via Vinkius and use ReAct agents, Plan-and-Execute strategies, or custom agent architectures. with LangSmith tracing giving full visibility into every tool call, latency, and token cost.
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 LangChain 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 LangChain
When LangChain 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 LangChain via MCP
Follow these steps to wire D2L Brightspace into LangChain. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install dependencies
pip install langchain langchain-mcp-adapters langgraph langchain-openaiReplace the token
[YOUR_TOKEN_HERE] with your Vinkius tokenRun the agent
python agent.pyExplore tools
Why Use LangChain with the D2L Brightspace MCP Server
LangChain provides unique advantages when paired with D2L Brightspace through the Model Context Protocol.
The largest ecosystem of integrations, chains, and agents. combine D2L Brightspace MCP tools with 500+ LangChain components
Agent architecture supports ReAct, Plan-and-Execute, and custom strategies with full MCP tool access at every step
LangSmith tracing gives you complete visibility into tool calls, latencies, and token usage for production debugging
Memory and conversation persistence let agents maintain context across D2L Brightspace queries for multi-turn workflows
D2L Brightspace + LangChain Use Cases
Practical scenarios where LangChain combined with the D2L Brightspace MCP Server delivers measurable value.
RAG with live data: combine D2L Brightspace tool results with vector store retrievals for answers grounded in both real-time and historical data
Autonomous research agents: LangChain agents query D2L Brightspace, synthesize findings, and generate comprehensive research reports
Multi-tool orchestration: chain D2L Brightspace tools with web scrapers, databases, and calculators in a single agent run
Production monitoring: use LangSmith to trace every D2L Brightspace tool call, measure latency, and optimize your agent's performance
Example Prompts for D2L Brightspace in LangChain
Ready-to-use prompts you can give your LangChain 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 LangChain
Common issues when connecting D2L Brightspace to LangChain through Vinkius, and how to resolve them.
MultiServerMCPClient not found
pip install langchain-mcp-adaptersD2L Brightspace + LangChain FAQ
Common questions about integrating D2L Brightspace MCP Server with LangChain.
How does LangChain connect to MCP servers?
langchain-mcp-adapters to create an MCP client. LangChain discovers all tools and wraps them as native LangChain tools compatible with any agent type.Which LangChain agent types work with MCP?
Can I trace MCP tool calls in LangSmith?
Explore More MCP Servers
View all →
FareHarbor
11 toolsManage tour and activity bookings via FareHarbor — list companies, query availability, and handle bookings directly from your AI agent.

Facebook Pages
12 toolsManage your Facebook Pages via AI — publish posts, list feed, track insights, and engage with comments directly through your agent.

Looker (Business Intelligence & Data)
7 toolsManage your BI environment via Looker — list dashboards, execute inline queries, and audit saved Looks.

LangSmith (LLM Observability & Hub)
6 toolsMonitor LLM apps via LangSmith — track traces, audit prompt templates, and manage evaluation datasets.
