canvas-mcp
v0.1.3Local-first MCP server for Canvas LMS.
Values you need
| Variable | What it is | |
|---|---|---|
CANVAS_BASE_URL | required | Canvas institution root URL (no /api/v1 suffix), e.g. https://your-institution.instructure.com |
CANVAS_TOKEN | required secret | Canvas personal access token (Account -> Settings -> Approved Integrations -> New Access Token) |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add canvas-mcp -e 'CANVAS_BASE_URL=<CANVAS_BASE_URL>' -e 'CANVAS_TOKEN=<CANVAS_TOKEN>' -- uvx canvas-local-mcp==0.1.3Add to
claude_desktop_config.json{
"mcpServers": {
"canvas-mcp": {
"args": [
"canvas-local-mcp==0.1.3"
],
"command": "uvx",
"env": {
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
"CANVAS_TOKEN": "<CANVAS_TOKEN>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"canvas-mcp": {
"args": [
"canvas-local-mcp==0.1.3"
],
"command": "uvx",
"env": {
"CANVAS_BASE_URL": "<CANVAS_BASE_URL>",
"CANVAS_TOKEN": "<CANVAS_TOKEN>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "CANVAS_BASE_URL",
"id": "canvas-base-url",
"password": true,
"type": "promptString"
},
{
"description": "CANVAS_TOKEN",
"id": "canvas-token",
"password": true,
"type": "promptString"
}
],
"servers": {
"canvas-mcp": {
"args": [
"canvas-local-mcp==0.1.3"
],
"command": "uvx",
"env": {
"CANVAS_BASE_URL": "${input:canvas-base-url}",
"CANVAS_TOKEN": "${input:canvas-token}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.canvas-mcp]
command = "uvx"
args = ["canvas-local-mcp==0.1.3"]
env = { "CANVAS_BASE_URL" = "<CANVAS_BASE_URL>", "CANVAS_TOKEN" = "<CANVAS_TOKEN>" }For AI agents
- Ask the user for: CANVAS_BASE_URL, CANVAS_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_courses, list_assignments, upcoming_events, planner_items, list_announcements, list_modules, get_file_info, get_grades, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json