Canvas Assignment Assistant MCP Server
An MCP Server for Canvas / Instructure to help pull Assignment details and deadlines
mbcrosier
README
Canvas Assignment Assistant MCP Server
Overview
This Model Context Protocol (MCP) server lets you interact with Canvas/Instructure courses and assignments, without leaving your LLM (e.g. Claude Desktop).
It allows you to retrieve, search, and summarize course and assignment information programmatically, for example to check due dates for upcoming assignments:
Features
Tools
-
List Courses
- Retrieve a list of courses
- Filter by course state (active, completed, or all)
-
Search Assignments
- Search across courses for assignments
- Filter by:
- Search query
- Due date range
- Specific course
- Include/exclude completed courses
-
Get Assignment Details
- Fetch detailed information about a specific assignment
- Multiple output formats (full HTML, plain text, markdown)
Resources
- Assignment Content: Retrieve full assignment details using a standardized URI format
Prerequisites
- Node.js
- Canvas LMS account
- Canvas API Token
- Canvas Domain
Environment Setup
Set the following environment variables:
CANVAS_API_TOKEN
: Your Canvas API access token (see instructions below)CANVAS_DOMAIN
: Your Canvas institution's domain (e.g.,canvas.youruniversity.edu
)
How to Get Your Canvas API Token
- Log into Canvas
- Go to Account > Settings
- Scroll to the "Approved Integrations" section
- Click "New Access Token"
- Copy the generated token
For more details, see these instructions from Canvas.
Security Note
Keep your CANVAS_API_TOKEN
confidential. Do not commit it to version control.
Installation
- Clone the repository and install dependencies
Clone the repository
git clone https://github.com/mbcrosier/canvas-mcp.git
cd canvas-mcp
Install dependencies. If this throws an error, make sure you have node installed.
npm install
-
Connect to the MCP server
Copy the below json with the appropriate {{PATH}} values:
{ "mcpServers": { "canvas": { "command": "node", "args": ["/absolute/path/to/canvas-mcp-server/dist/index.js"], // cd into the repo, run `pwd` and enter the output here "env": { "CANVAS_API_TOKEN": "your_api_token_here", "CANVAS_DOMAIN": "myschool.instructure.com" } } } }
For Claude, save this as
claude_desktop_config.json
in your Claude Desktop configuration directory at:~/Library/Application Support/Claude/claude_desktop_config.json
For Cursor, save this as
mcp.json
in your Cursor configuration directory at:~/.cursor/mcp.json
-
Restart Claude Desktop / Cursor
Open Claude Desktop and you should now see WhatsApp as an available integration.
Or restart Cursor.
MCP Tools
list_courses
: Shows all active courses by default. Use flags to show completed or all coursessearch_assignments
: Searches assignment titles and descriptionsget_assignment
: Retrieves full assignment details
Troubleshooting
Common Issues
-
Token Invalid:
- Regenerate your Canvas API token
- Ensure token has appropriate permissions
-
Domain Incorrect:
- Double-check your Canvas institution domain
- Verify there are no typos
Disclaimer
This is an unofficial Canvas MCP, and is not affiliated with Canvas or Instructure. I'm also not a professional software engineer, and this project was vibe-coded using Claude, so please use it at your own risk :)
Thanks!
- Thanks to Luke Harries for inspiration and for part of the text of this Readme.
- Thanks to the Anthropic team for great instructions on how to use LLMs to create MCPs!
Recommended Servers
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Nefino MCP Server
Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.
Vectorize
Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.
Mathematica Documentation MCP server
A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.
kb-mcp-server
An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded
Research MCP Server
The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.