MCP server
Canvas API MCP
MCP server exposing the Canvas LMS REST API (1,116 endpoints) for AI assistants
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.1.0
- Listing updated
- 6 days ago
About Canvas API MCP
Canvas API MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add canvas-api-mcp --env CANVAS_BASE_URL='<CANVAS_BASE_URL>' --env CANVAS_TOKEN='<CANVAS_TOKEN>' -- uvx canvas-api-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"canvas-api-mcp": {
"command": "uvx",
"args": [
"canvas-api-mcp"
],
"env": {
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
"CANVAS_TOKEN": "<CANVAS_TOKEN>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"canvas-api-mcp": {
"command": "uvx",
"args": [
"canvas-api-mcp"
],
"env": {
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
"CANVAS_TOKEN": "<CANVAS_TOKEN>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"canvas-api-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"canvas-api-mcp"
],
"env": {
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
"CANVAS_TOKEN": "<CANVAS_TOKEN>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"canvas-api-mcp": {
"command": "uvx",
"args": [
"canvas-api-mcp"
],
"env": {
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
"CANVAS_TOKEN": "<CANVAS_TOKEN>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"canvas-api-mcp": {
"command": "uvx",
"args": [
"canvas-api-mcp"
],
"env": {
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
"CANVAS_TOKEN": "<CANVAS_TOKEN>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
CANVAS_BASE_URLBase URL of your Canvas LMS instance, e.g. https://yourschool.instructure.comRequiredCANVAS_TOKENCanvas API access token (Canvas: Account > Settings > New Access Token)RequiredCANVAS_MAX_PAGESOptional cap on the number of pages fetched per paginated Canvas API call
Pricing
Open source
Canvas API MCP FAQ
Is Canvas API MCP free?
Yes. Canvas API MCP is open source, so you can use and self-host it for free.
How do I add Canvas API MCP to Claude Code?
Run this command in your terminal: claude mcp add canvas-api-mcp --env CANVAS_BASE_URL='<CANVAS_BASE_URL>' --env CANVAS_TOKEN='<CANVAS_TOKEN>' -- uvx canvas-api-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.