AI Skill Hub 推荐使用:Canvas MCP工具 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
Canvas MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
Canvas MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/vishalsachdev/canvas-mcp
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"canvas-mcp--": {
"command": "npx",
"args": ["-y", "canvas-mcp"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 Canvas MCP工具 执行以下任务... Claude: [自动调用 Canvas MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"canvas_mcp__": {
"command": "npx",
"args": ["-y", "canvas-mcp"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="docs/canvas-mcp-header.png" alt="Canvas MCP — AI tools for Canvas LMS" width="800"> </p>
The Canvas MCP Server bridges the gap between AI assistants and Canvas Learning Management System, providing both students and educators with an intelligent interface to their Canvas environment. Built on the Model Context Protocol (MCP), it enables natural language interactions with Canvas data through any MCP-compatible client.
```bash
npx skills add vishalsachdev/canvas-mcp
This launches an interactive picker to install skills into your agent of choice (Claude Code, Cursor, Codex, OpenCode, Cline, Zed, and many more).
| Skill | For | What It Does |
|---|---|---|
canvas-week-plan | Students | Weekly planner: due dates, submission status, grades, peer reviews |
canvas-morning-check | Educators | Course health dashboard: submission rates, struggling students, deadlines |
canvas-bulk-grading | Educators | Grading decision tree: single → bulk → code execution with safety checks |
canvas-peer-review-manager | Educators | Full peer review pipeline: analytics, quality analysis, reminders, reports |
canvas-discussion-facilitator | Both | Discussion browsing, participation monitoring, replying, facilitation |
canvas-course-qc | Learning Designers | Pre-semester quality audit: structure, content, publishing, completeness |
canvas-accessibility-auditor | Learning Designers | WCAG scan, prioritized report, guided remediation, verification |
canvas-course-builder | Learning Designers | Scaffold courses from specs, templates, or existing courses |
Install a specific skill:
npx skills add vishalsachdev/canvas-mcp -s canvas-week-plan
pip install -e . ```
import { bulkGrade } from './canvas/grading/bulkGrade';
await bulkGrade({
courseIdentifier: "60366",
assignmentId: "123",
gradingFunction: (submission) => {
const notebook = submission.attachments?.find(f =>
f.filename.endsWith('.ipynb')
);
if (!notebook) return null;
return { points: 100, comment: "Great work!" };
}
});
MCP clients start the server automatically. Just ask naturally:
Quick start guides: Student | Educator | Real-World Workflows | Troubleshooting
python3 -m venv .venv . .venv/bin/activate
```bash
cp env.template .env
Canvas MCP works with any MCP-compatible client. Below are configuration examples for popular clients:
<details open> <summary><strong>Claude Desktop</strong> (Most Popular)</summary>
Configuration file location: - macOS: ~/Library/Application Support/Claude/claude_desktop_config.json - Windows: %APPDATA%\Claude\claude_desktop_config.json
Configuration:
{
"mcpServers": {
"canvas-api": {
"command": "/absolute/path/to/canvas-mcp/.venv/bin/canvas-mcp-server"
}
}
}
Note: Use the absolute path to your virtualenv binary to avoid issues with shell-specific PATH entries (e.g., pyenv shims).
</details>
<details> <summary><strong>Cursor</strong></summary>
Configuration file location: - macOS/Linux: ~/.cursor/mcp_config.json - Windows: %USERPROFILE%\.cursor\mcp_config.json
Configuration:
{
"mcpServers": {
"canvas-api": {
"command": "/absolute/path/to/canvas-mcp/.venv/bin/canvas-mcp-server"
}
}
}
</details>
<details> <summary><strong>Zed</strong></summary>
Configuration: Add to Zed's settings.json (accessible via Settings menu)
{
"context_servers": {
"canvas-api": {
"command": {
"path": "/absolute/path/to/canvas-mcp/.venv/bin/canvas-mcp-server",
"args": []
}
}
}
}
</details>
<details> <summary><strong>Windsurf IDE</strong></summary>
Configuration file location: - macOS: ~/Library/Application Support/Windsurf/mcp_config.json - Windows: %APPDATA%\Windsurf\mcp_config.json
Configuration:
{
"mcpServers": {
"canvas-api": {
"command": "/absolute/path/to/canvas-mcp/.venv/bin/canvas-mcp-server"
}
}
}
</details>
<details> <summary><strong>Continue</strong></summary>
Configuration: Add to Continue's config.json (accessible via Continue settings)
{
"mcpServers": {
"canvas-api": {
"command": "/absolute/path/to/canvas-mcp/.venv/bin/canvas-mcp-server"
}
}
}
</details>
<details> <summary><strong>Other MCP Clients</strong></summary>
For other MCP-compatible clients, the general pattern is:
1. Locate your client's MCP configuration file 2. Add a server entry with: - Server name: canvas-api (or any name you prefer) - Command: Full path to canvas-mcp-server binary - Optional args: Additional arguments if needed
Consult your client's MCP documentation for specific configuration format and file locations.
</details>
Windows users: Replace forward slashes with backslashes in paths (e.g., C:\Users\YourName\canvas-mcp\.venv\Scripts\canvas-mcp-server.exe)
canvas-mcp-server --config
Course identifiers: Canvas ID (12345), course code (badm_350_120251_246794), or SIS ID
Cannot do: Create/delete courses, modify course settings, access other users' data, create/update rubrics (use Canvas UI)
Rate limits: ~700 requests/10 min. Use max_concurrent=5 for bulk operations.
Full documentation: AGENTS.md | tools/TOOL_MANIFEST.json | tools/README.md
```
Get your Canvas API token from: Canvas → Account → Settings → New Access Token
Note for Students: Some educational institutions restrict API token creation for students. If you see an error like "There is a limit to the number of access tokens you can create" or cannot find the token creation option, contact your institution's Canvas administrator or IT support department to request API access or assistance in creating a token.
canvas-mcp-server --test
For bulk operations (30+ items), Canvas MCP supports TypeScript code execution with 99.7% token savings compared to traditional tool calling.
| Approach | Best For | Token Cost |
|---|---|---|
| MCP tools | Simple queries, small datasets | Normal |
bulk_grade_submissions | Batch grading 10-29 items | Low |
execute_typescript | 30+ items, custom logic | **99.7% less** |
Use search_canvas_tools to discover available operations, then execute_typescript to run them locally. Code runs in a secure sandbox by default (network blocked, env filtered, resource limits). Works on macOS, Linux, and Windows.
<details> <summary>Code execution examples and security details</summary>
If you encounter issues:
.env file, virtual environment path, and dependencies高质量的开源MCP工具
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,Canvas MCP工具 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | canvas-mcp |
| 原始描述 | 开源MCP工具:Canvas LMS MCP server — 80+ tools and 5 agent skills for students & educators. W。⭐144 · Python |
| Topics | mcpagent-skillspython |
| GitHub | https://github.com/vishalsachdev/canvas-mcp |
| License | MIT |
| 语言 | Python |
收录时间:2026-06-13 · 更新时间:2026-06-13 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端