Getting Started withSyllabus

Set up your AI-powered Canvas assistant in just 5 minutes

Before You Begin

Canvas API Token

API Safety

You'll need an API token from your Canvas account to enable the integration.

  1. 1.Log in to your Canvas account
  2. 2.Go to Account → Settings
  3. 3.Click "+ New Access Token"
  4. 4.Save the token securely

AI Platform

Syllabus works with multiple AI platforms. Choose your preferred one:

  • Claude Desktop (Recommended)
  • Claude Code CLI
  • Gemini CLI

Quick Start Guide

Method 1: Claude Code CLI (Recommended)

1Install Claude Code

npm install -g @anthropic/claude-code

2Add Syllabus

claude mcp add canvas -- npx canvas-mcp-tool

3Configure Your API Token

When prompted, enter:

CANVAS_API_TOKEN: your_token_here
CANVAS_BASE_URL: https://canvas.instructure.com

Replace with your institution's Canvas URL if different

4Start Using Canvas MCP

claude --mcp canvas

Method 2: Claude Desktop App

1Open Claude Desktop Configuration

Navigate to:

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

On Windows: %APPDATA%/Claude/

2Add Canvas MCP Configuration

{
  "mcpServers": {
    "canvas": {
      "command": "npx",
      "args": ["canvas-mcp-tool"],
      "env": {
        "CANVAS_API_TOKEN": "your_token_here",
        "CANVAS_BASE_URL": "https://canvas.instructure.com"
      }
    }
  }
}

3Restart Claude Desktop

Quit and reopen Claude Desktop to load the new configuration.

Method 3: Direct Installation

CANVAS_API_TOKEN=your_token CANVAS_BASE_URL=https://canvas.instructure.com npx canvas-mcp-tool

Use this method for testing or integration with other MCP-compatible tools.

Example Queries

Once connected, try these natural language queries with your AI assistant:

"Show me all my upcoming assignments"
"What assignments are due this week?"
"List my current grades across all courses"
"Find course materials about machine learning"
"Show me unsubmitted assignments"
"What discussions are happening in CS101?"
"Get the syllabus for Biology 202"
"Show me today's announcements"

Advanced Configuration

Environment Variables

VariableDescriptionRequired
CANVAS_API_TOKENYour Canvas API access tokenYes
CANVAS_BASE_URLCanvas instance URLYes
UBC_MODEEnable UBC-specific featuresNo
DEBUGEnable debug loggingNo

Available Tools

Course Management

  • • listCourses
  • • getCourse
  • • listStudentCourses

Assignments

  • • listAssignments
  • • getAssignment
  • • getUpcomingAssignments

Content & Files

  • • listFiles
  • • listFolders
  • • getFile

Communication

  • • listConversations
  • • getConversation
  • • listNotifications

Troubleshooting

API Token Issues

If you're getting authentication errors, ensure your token has the necessary permissions and hasn't expired.

Learn about Canvas API permissions

Connection Problems

Verify your CANVAS_BASE_URL matches your institution's Canvas domain exactly, including https://.

MCP Not Loading

If using Claude Desktop, ensure the configuration file is valid JSON and restart the app completely.

Need Help?

Join our community for support and updates: