MCP.so
Sign In

Canvas LMS MCP Server

@MisterCommand

Basic information

Category

Other

Transports

stdio

Author

MisterCommand

About Canvas LMS MCP Server

MCP server for accessing the Canvas LMS for students

Canvas LMS MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "canvas-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-canvas-lms"
      ],
      "env": {
        "CANVAS_ACCESS_TOKEN": "key",
        "CANVAS_BASE_URL": "https://..."
      },
      "transportType": "stdio"
    }
  }
}

Canvas LMS MCP Server tools

3

Get all courses for the current user from Canvas LMS

Get all announcements for a specific course from Canvas LMS

Get all assignments for a specific course from Canvas LMS

Overview

What is 🎓 Canvas LMS MCP Server 🎓?

An MCP (Model Context Protocol) server that integrates with the Canvas LMS API to let students access their Canvas resources—courses, announcements, and assignments—directly through an MCP‑compatible client.

How to use 🎓 Canvas LMS MCP Server 🎓?

Configure the server in your MCP client’s settings using npx -y mcp-canvas-lms and set the environment variables CANVAS_ACCESS_TOKEN (your Canvas API token) and CANVAS_BASE_URL (e.g., https://canvas.ust.hk). Once connected, invoke the provided tools (get_courses, get_announcements, get_assignments) to retrieve Canvas data.

Key features of 🎓 Canvas LMS MCP Server 🎓

  • get_courses – retrieves all courses for the current user.
  • get_announcements – fetches announcements from a course after a given date.
  • get_assignments – gets assignments from a course due before a specific date.
  • Uses stdio transport for easy integration with MCP clients.
  • Requires only a Canvas API token and base URL to connect.

Use cases of 🎓 Canvas LMS MCP Server 🎓

  • A student lists all their active Canvas courses.
  • A student checks recent announcements from a course.
  • A student retrieves upcoming assignments due before a deadline.
  • A developer builds an AI assistant that can fetch Canvas data on demand.

Frequently asked questions

1

What environment variables are required?

`CANVAS_ACCESS_TOKEN` (your Canvas API token) and `CANVAS_BASE_URL` (the base URL of your Canvas instance, e.g., `https://canvas.ust.hk`).

2

How do I get a Canvas API token?

Create a new access token at **sidebar** > **Profile** > **Settings** (`/profile/settings`) > **Approved Integrations** > **New Access Token**. Your admin may disable this option, in which case you cannot create a token.

3

What transport does the server use?

It uses `stdio` transport, as indicated in the installation configuration.

4

What runtime does it require?

The server is a Node.js project (you need `npm`/`npx` to run the installation command `npx -y mcp-canvas-lms`).

5

Can I use this server with any Canvas instance?

Yes, by setting `CANVAS_BASE_URL` to the base URL of your institution’s Canvas instance.

Comments

More Other MCP servers