Atlas / MCP servers / vishalsachdev / Canvas

CanvasCAUTION

mcp/vishalsachdev/canvas

Canvas LMS MCP server — up to 102 tools and 8 agent skills for students & educators. Works with Claude, Cursor, Codex, and 40+ agents.

Verdict
CAUTION
Grade
B
Trust score
80 /100
Exposed tools
1 1r · 0w · 0d
Transport
stdio · streamable-http
License
MIT
Stars
280
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://opensource.org/licenses/MIT) [](https://skills.sh)

MCP server for Canvas LMS with up to 103 tools and 8 agent skills. Designed for Claude Desktop, Cursor, Codex, Windsurf, and 40+ other agents; setup and capabilities vary by client.

Quick Start

1. Install the MCP server (everything else, including the skills, needs it running):

  • Claude Desktop: download canvas-mcp.mcpb from the latest release and double-click it. It prompts for your Canvas URL and token; no terminal needed. Details.
  • Cursor, Zed, Windsurf, Continue, Claude Code and other clients: pip install into a virtualenv, add your token to .env, and point your client at the canvas-mcp-server binary. Local Installation has the per-client config blocks.

2. Verify: canvas-mcp-server --test should report a successful Canvas connection. Then restart your client.

3. Optional: add the workflow skills. These teach your agent the multi-step recipes (weekly plan, morning check, bulk grading, peer review, course QC) on top of the tools:

npx skills add vishalsachdev/canvas-mcp

See Agent Skills for the list. If your agent is Claude Code, the same recipes are also available as slash commands.

For AI Agents

Read from source at commit 6854fde7094cOBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (pypi)
claude mcp add canvas-mcp -- None canvas-mcp==1.13.0
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
brand_new_toolreadreturn
04

Trust audit

CAUTIONgrade B · trust 80/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (5 observation(s))
Network
declared (6 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (25)

MEDIUMInformation disclosure · disclose.log_secret · CWE-209, CWE-532
scripts/rotate-canvas-token.mjs:54
console.log(`✓ ~/.claude.json canvas X-Canvas-Token header updated -> ${mask(t)} (backup: ~/.claude.json.bak-${stamp})`);
MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
deploy/nginx-canvas-mcp.conf:13
proxy_pass http://127.0.0.1:8819;
MEDIUMObfuscation / stealth · obf.zero_width · CWE-506, CWE-94
src/canvas_mcp/core/csv_safety.py:51
stripped = text.lstrip(" \n\t\r ")
LOWInventory / provenance · inv.hidden_file · CWE-1104
.mcpbignore
.mcpbignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
docs/.assetsignore
.assetsignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
docs/.nojekyll
.nojekyll
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/tools/test_content_migrations.py:25
return importlib.import_module(MODULE_NAME)
LOWCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
tests/tools/test_guarded_edits.py:136
module = importlib.import_module(self.module)
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/canvas_mcp/code_api/canvas/assignments/listSubmissions.ts:1
import { fetchAllPaginated } from "../../client.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/canvas_mcp/code_api/canvas/communications/sendMessage.ts:1
import { canvasPost } from "../../client.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/canvas_mcp/code_api/canvas/courses/getCourseDetails.ts:1
import { canvasGet } from "../../client.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/canvas_mcp/code_api/canvas/courses/listCourses.ts:1
import { fetchAllPaginated } from "../../client.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/canvas_mcp/code_api/canvas/discussions/bulkGradeDiscussion.ts:1
import { createBatchRunner } from "../../batching.js";
LOWNetwork egress · net.metadata_ip · CWE-200, CWE-319
tests/test_http_transport.py:140
(b"x-canvas-url", b"http://169.254.169.254/latest/meta-data/"),
Why it matters. cloud metadata endpoint: the classic SSRF credential grab
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/code_api/grading-commit-response.test.ts:32
initializeCanvasClient(`http://127.0.0.1:${address.port}`, 'synthetic');
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/code_api/pagination-redirect.test.ts:16
initializeCanvasClient(`http://127.0.0.1:${address.port}`, 'synthetic');
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/core/test_config.py:141
"http://127.0.0.1:3000",
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
tests/test_github_session_brief.py:306
"HTTPS_PROXY": "http://127.0.0.1:9", "https_proxy": "http://127.0.0.1:9"}
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/canvas_mcp/server.py:155
payload = json.loads(base64.b64decode(raw))
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/canvas_mcp/tools/student_write.py:411
content = base64.b64decode(encoded, validate=True)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
tests/tools/test_student_write.py:26
JPEG_BYTES = bytes.fromhex(
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@types/node, tsx, typescript
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
CHANGELOG.md:251
share a token ([issue 318](https://github.com/vishalsachdev/canvas-mcp/issues/318)).
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
CHANGELOG.md:721
- **Covered the email-bearing keys the anonymizer missed:** `primary_email`, `unconfirmed_email`, and `contact_info` are now pseudonymised; `pronunciation` is nulled; `communication_channels[].address
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
internal/issue-triage/2026-08-04.md:109
**Confirmed by reading the code, higher confidence than the others here** — `student_tools.py:323-324` and `:337` both silently swallow any non-list response from Canvas: assignment-listing errors jus
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha 6854fde7094cfull audit observations/trust-audit/mcp-server/vishalsachdev__canvas.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-066854fde7094cCAUTIONB80first audit
06

Questions

What is the Canvas MCP server?

Canvas LMS MCP server — up to 102 tools and 8 agent skills for students & educators. Works with Claude, Cursor, Codex, and 40+ agents.

What tools does Canvas expose?

1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Canvas safe to connect to an agent?

With care. The audit graded it B (80/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does Canvas need?

It reads ACCESS_TOKEN_SECRET, CANVAS_API_TOKEN, GH_TOKEN, GITHUB_TOKEN, MCP_ACCESS_KEYS and NEW_CANVAS_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Canvas run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as canvas-mcp-code-api at 1.0.6.

How current is this page?

The grade is for one exact copy of the source (6854fde7094c), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement