VC

vishalsachdev/canvas-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

340 stars 110 forks 质量 88 趋势 22MIT

vishalsachdev/canvas-mcp 是从 https://github.com/vishalsachdev/canvas-mcp. 导入的 MCP 服务器候选

概览

vishalsachdev/canvas-mcp 是从 https://github.com/vishalsachdev/canvas-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

Canvas LMS 的 MCP 服务器,支持最多126个工具和8个代理技能。设计用于 Claude Desktop、Cursor、Codex、Windsurf 及其他 40+ 代理;设置和功能因客户而异。

快速启动

1.安装MCP服务器(其他包括技能都需要运行):

  • Claude Desktop: 从最新版本下载 canvas-mcp.mcpb 并双击即可。它会提示输入你的 Canvas URL 和令牌;无需终端。详情。
  • Cursor、Zed、Windsurf、Continue、Claude Code 及其他客户端: pip install 进入虚拟环境,将令牌添加到 .env,并指向客户端的 canvas-mcp-server 二进制文件。本地安装包含每个客户端的配置块。

2.验证: canvas-mcp-server --test 应该报告成功连接 Canvas。然后重启客户端。

3.可选:添加工作流程技能。 这些技能会在工具基础上教你的经纪人多步骤的配方(每周计划、晨间检查、批量评分、同行评审、课程质量控制):

参见特工技能列表。如果你的特工是克劳德代码,同样的配方也可用作为斜击命令使用。

对于人工智能代理

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Canvas MCP Server

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

Quick Start

[!IMPORTANT] Breaking change for local users in v1.19.0. Builds containing PR #599 start in read-only mode unless you enable specific write tools. If you use Canvas MCP to edit, publish, grade, or message, see Enable specific write tools before upgrading. The v1.18.0 Claude Desktop bundle predates the new setting.

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

Canvas MCP provides up to 128 tools for interacting with Canvas LMS; the default profile registers fewer, and optional feature-gated tools can raise the total to 128. Tools are organized by user type:

Tool Purpose Example Prompt
get_my_upcoming_assignments Due dates for next N days “What’s due this week?”
get_my_todo_items Canvas TODO list “Show my TODO list”
在 GitHub 查看完整 README

安装

npx skills add vishalsachdev/canvas-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "canvas-api": { "command": "/absolute/path/to/canvas-mcp/.venv/bin/canvas-mcp-server" } } }