canvas-mcp-lite
canvas-mcp-lite
Canvas LMS向けの、インストラクターに焦点を当てた軽量なMCPサーバーで、FastMCPで構築されています。AIアシスタントがあなたのCanvasインスタンスに対してティーチングアシスタントとして機能できるようにします。コースの閲覧、学生の提出物(PDF/DOCXファイルのアップロードを含む)の読み取り、ルーブリックによる採点、アナウンスの投稿、モジュールやページの管理などが可能です。
Tools
11のCanvasドメインにわたる64のツール。リスクレベル別に整理されています。
グループ | 数 | 例 |
読み取り | 32 |
|
書き込み | 23 |
|
削除 | 9 |
|
主な特長:
学生が実際に提出したものを読む —
get_submission_contentは、アップロードされたPDF、DOCXファイル、プレーンテキスト(さらに、入力されたテキストエントリ、URL、ディスカッション提出物)からテキストを抽出し、提出コメントのスレッドも含めるため、採点ツールは実際のコンテンツに基づいて動作します。実際の採点ワークフロー —
list_ungraded_submissionsは採点キューであり、grade_submissionは点数、合格/不合格、文字評価、パーセント評価を処理します(Canvasがコメントを保存しても成績を拒否した場合は部分的な成功を報告します)。また、post_grades/hide_gradesは学生が結果をいつ見るかを制御します。コースコードまたはID — すべてのコーススコープのツールは、数値のコースIDまたは
course_code文字列(短いTTLキャッシュで解決)のいずれかを受け入れます。デフォルトで安全 — 課題とページは、特に指定しない限り非公開で作成されます。破壊的なツールは明確にマークされています。
LLMに優しい出力 — すべてのツールは、生のJSONではなく、整形された読みやすいテキストを返します。
Related MCP server: Canvas MCP
Setup
Python 3.10以上が必要です。
インストール(プロジェクトルートから編集可能モードで):
python -m venv .venv source .venv/bin/activate pip install -e .資格情報を設定 パッケージの隣にある
.envファイルに:CANVAS_API_URL=https://yourschool.instructure.com/api/v1 CANVAS_API_TOKEN=your-canvas-access-tokenCanvasのアカウント → 設定 → 新しいアクセストークンでトークンを生成します。
.envはパッケージの場所(作業ディレクトリではなく)を基準に読み込まれます。MCPクライアントは任意のディレクトリからサーバーを起動するためです。実行 コンソールスクリプト経由で:
canvas-mcp-lite
Using with Claude
stdio MCPサーバーとして登録します。Claude Codeの場合:
claude mcp add canvas -- /path/to/.venv/bin/canvas-mcp-liteまたは、Claude Desktop / MCPクライアント設定の場合:
{
"mcpServers": {
"canvas": {
"command": "/path/to/.venv/bin/canvas-mcp-lite"
}
}
}Project layout
canvas_mcp_lite/
server.py FastMCP entry point; registers READ/WRITE/DELETE tool lists
client.py Async Canvas API client: auth, pagination, retry, errors
util.py Course code → ID resolution (cached), date formatting
tools/ One module per domain: courses, assignments, grading,
modules_pages, announcements, discussions, files, quizzes,
messaging, peer_review, analyticsNotes
パッケージ名は
canvas_mcp_liteで、相対インポートを使用しています。インストールされたcanvas-mcp-liteスクリプトから実行してください。python server.pyではありません。テキスト抽出のためのファイルダウンロードは25MBに制限されています。スキャンされた/画像のみのPDFは、テキストの代わりに通知を返します。
Canvas APIエラーはステータスコードとURLとともに表示されます。一時的なタイムアウトはバックオフ付きで再試行されます。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Canvas LMS through 25 comprehensive tools. Supports course management, assignments, grades, messaging, calendar events, and file access through natural language.33912MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Canvas LMS and Gradescope, allowing users to query courses, assignments, modules, calendar events, and find relevant resources using natural language.59ISC
- AlicenseAqualityCmaintenanceEnables AI systems to interact with Canvas Learning Management System data, allowing users to access courses, assignments, quizzes, planner items, files, and syllabi through natural language queries.227MIT
- AlicenseBqualityBmaintenanceEnables AI assistants to manage Canvas LMS courses, announcements, rubrics, assignments, modules, pages, and student data via the Canvas API.603612MIT
Related MCP Connectors
Give AI agents access to form submissions — read, search, update, and process file attachments.
Voice-led, FSRS-scheduled flashcards from YouTube, PDFs, web, or text. Auto-graded quizzes.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vkumar04/canvas-mcp-lite'
If you have feedback or need assistance with the MCP directory API, please join our Discord server