Claude Canvas MCP

Claude Canvas MCP

A Model Context Protocol server that enables Claude to interact with Canvas LMS, providing tools for managing courses, announcements, assignments, students, and more through the Canvas API.

johnnyrobot

Developer Tools
Visit Server

README

Claude Canvas MCP

A Model Context Protocol (MCP) server that enables Claude to interact with Canvas LMS. This server provides tools for managing courses, announcements, assignments, students, and more through the Canvas API.

Features

  • List active courses and their details
  • Retrieve course modules, pages, and content
  • View assignments, quizzes, and discussions
  • Access student enrollment information
  • Post announcements and comments
  • View submission details and grades
  • Upload and download files
  • Manage rubrics and grades

Prerequisites

  • Node.js (v16 or higher)
  • A Canvas API token
  • Canvas instance URL (defaults to "http://canvas.docker/")
  • Claude Desktop application

Installation

  1. Clone this repository and install dependencies:
git clone https://github.com/johnnyrobot/claude-canvas-mcp.git
cd claude-canvas-mcp
npm install
  1. Build the TypeScript project:
npm run build
  1. Configure your environment variables:
# Copy the example environment file
cp .env.example .env

# Edit the .env file with your Canvas information
nano .env

Claude Desktop Integration

  1. Open Claude Desktop's configuration file:

MacOS:

code ~/Library/Application\ Support/Claude/claude_desktop_config.json

Windows:

code %AppData%\Claude\claude_desktop_config.json
  1. Add the Canvas MCP server configuration:
{
  "mcpServers": {
    "canvas": {
      "command": "node",
      "args": [
        "/path/to/claude-canvas-mcp/build/index.js"
      ],
      "env": {
        "CANVAS_API_TOKEN": "your_token_here",
        "CANVAS_DOMAIN": "http://canvas.docker/"
      }
    }
  }
}
  1. Restart Claude Desktop to apply changes

Available Tools

list-courses

Lists all active courses for the authenticated user

  • No required parameters
  • Returns course names, IDs, and term information

get-course

Gets detailed information about a specific course

  • Required parameters:
    • courseId: string

list-modules

Lists all modules in a course

  • Required parameters:
    • courseId: string

list-module-items

Lists all items in a module

  • Required parameters:
    • courseId: string
    • moduleId: string

list-assignments

Gets all assignments in a course

  • Required parameters:
    • courseId: string
  • Optional parameters:
    • includeContent: boolean (default: false)

get-assignment

Gets detailed information about an assignment

  • Required parameters:
    • courseId: string
    • assignmentId: string

list-students

Gets a complete list of students enrolled in a course

  • Required parameters:
    • courseId: string
  • Optional parameters:
    • includeEmail: boolean (default: false)

post-announcement

Posts an announcement to a specific course

  • Required parameters:
    • courseId: string
    • title: string
    • message: string

list-submissions

Gets all student submissions for an assignment

  • Required parameters:
    • courseId: string
    • assignmentId: string

get-submission

Gets a specific student's submission for an assignment

  • Required parameters:
    • courseId: string
    • assignmentId: string
    • studentId: string

post-submission-comment

Posts a comment on a student's submission

  • Required parameters:
    • courseId: string
    • assignmentId: string
    • studentId: string
    • comment: string

list-files

Lists files in a course

  • Required parameters:
    • courseId: string
  • Optional parameters:
    • folderId: string

upload-file

Uploads a file to a course

  • Required parameters:
    • courseId: string
    • fileName: string
    • fileContent: string
  • Optional parameters:
    • folderId: string

License

MIT License

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
MCP Package Docs Server

MCP Package Docs Server

Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.

Featured
Local
TypeScript
Claude Code MCP

Claude Code MCP

An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.

Featured
Local
JavaScript
@kazuph/mcp-taskmanager

@kazuph/mcp-taskmanager

Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.

Featured
Local
JavaScript
Linear MCP Server

Linear MCP Server

Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.

Featured
JavaScript
mermaid-mcp-server

mermaid-mcp-server

A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.

Featured
JavaScript
Jira-Context-MCP

Jira-Context-MCP

MCP server to provide Jira Tickets information to AI coding agents like Cursor

Featured
TypeScript
Linear MCP Server

Linear MCP Server

A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Featured
JavaScript
Sequential Thinking MCP Server

Sequential Thinking MCP Server

This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Featured
Python