
🎓 Canvas LMS MCP Server 🎓
MCP server for accessing the Canvas LMS for students
What is Canvas LMS MCP Server?
Canvas LMS MCP Server is a server designed to access the Canvas Learning Management System (LMS) API, providing students with easy access to their course resources.
How to use Canvas LMS MCP Server?
To use the Canvas LMS MCP Server, you need to set up the environment variables with your Canvas API token and base URL, and then run the server using the provided command.
Key features of Canvas LMS MCP Server?
- Access to all courses for the current user.
- Retrieve announcements from specific courses.
- Get assignments due before a specific date.
Use cases of Canvas LMS MCP Server?
- Students can view their enrolled courses and related information.
- Educators can manage course announcements and assignments efficiently.
- Integration with other tools for enhanced learning experiences.
FAQ from Canvas LMS MCP Server?
- How do I create a Canvas access token?
You can create an access token by navigating to Profile > Settings > Approved Integrations > New Access Token in your Canvas account settings.
- What if I cannot create a new access token?
If your admin has disabled this setting, you may not be able to create a new access token.
🎓 Canvas LMS MCP Server 🎓
MCP Server for the Canvas LMS API, enabling access to Canvas LMS resources for students. 🚀
Tools
get_courses
📚- Get all courses for the current user
get_announcements
📣- Get all announcements from a specific course, made after a specific date
get_assignments
📝- Get all assignments from a specific course, due before a specific date
Installation
{
"mcpServers": {
"canvas-mcp-server": {
"command": "npx",
"args": ["-y", "mcp-canvas-lms"],
"env": {
"CANVAS_ACCESS_TOKEN": "key",
"CANVAS_BASE_URL": "https://..."
},
"transportType": "stdio"
}
}
}
Usage
Environment Variables
CANVAS_ACCESS_TOKEN
: Canvas LMS API tokenCANVAS_BASE_URL
: Base URL for the canvas API (e.g.https://canvas.ust.hk
)
Create your access token at sidebar > Profile > Settings (/profile/settings
) > Approved Integrations > New Access Token
You might not be able to create a new access token if your admin has disabled this setting.
Development
# Install dependencies
npm install
# Build the project
npm run build