Skip to main content
Glama

hull-canvas-mcp

An MCP server for University of Hull Canvas + Panopto, built for getting assignments done: what's due, the full brief, rubric, linked files, feedback, lecture slides and Panopto's AI lecture summaries. Output is compact on purpose, so it costs few tokens.

Unofficial, not affiliated with the University of Hull. It acts as you, using your own sign-in, and only reads what you can already see. Follow your university's rules on AI use and academic integrity.

Tools

Tool

What it does

whats_due

Start here. Every unsubmitted assignment/quiz/discussion across all courses, soonest first. One request, ~120 tokens.

list_courses

Active courses (id, name, term).

get_assignments

Compact list for one course.

get_assignment

The full brief: instructions, linked files and links, rubric, submission state, feedback.

get_grades

Marks, teacher feedback and grade weighting.

get_announcements

Announcements and discussion posts.

course_materials

Module outline: slides, readings, pages, with ids.

read_file

Text of a PDF, Word, code or text file (long files come in slices).

read_page

A course page, plus the files it links to.

download_file

Save a Canvas file to disk; extract: true unpacks zips. Never overwrites unless asked.

list_recordings

Panopto lecture recordings for a course.

get_summary / get_course_summaries

Panopto AI summary and key points for one lecture / the latest N.

login

Opens a browser window to sign in (first run, or if the session expires).

Read-only tools are annotated readOnlyHint, so IDEs can auto-approve them; login and download_file still prompt.

Related MCP server: Canvas LMS MCP Server

Install

Needs Node 18+ and a Chromium browser (Brave, Chrome or Edge) for the one-off sign-in.

1. Add it to your client (pick yours below). 2. Ask it to run login and sign in with your Hull Microsoft account in the window that opens. That window uses its own profile, so it never touches your everyday browser. Your session is saved for up to 14 days; after that tools refresh it silently, or ask you to login again.

Claude Code

claude mcp add hull -- npx -y https://codeload.github.com/foekey/hull-canvas-mcp/tar.gz/refs/heads/main

Claude Desktop, Cursor, Windsurf, Cline, Gemini CLI, JetBrains AI Assistant

Add to the client's MCP JSON (claude_desktop_config.json, ~/.cursor/mcp.json, ~/.codeium/windsurf/mcp_config.json, the Cline MCP settings, ~/.gemini/settings.json, or Settings > Tools > AI Assistant > Model Context Protocol):

{
  "mcpServers": {
    "hull": { "command": "npx", "args": ["-y", "https://codeload.github.com/foekey/hull-canvas-mcp/tar.gz/refs/heads/main"] }
  }
}

On Windows, if a client can't launch npx directly, use "command": "cmd", "args": ["/c", "npx", "-y", "https://codeload.github.com/foekey/hull-canvas-mcp/tar.gz/refs/heads/main"].

Google Antigravity (IDE, CLI and 2.0)

They all share one file, ~/.gemini/config/mcp_config.json (Windows: C:\Users\<you>\.gemini\config\mcp_config.json); a project can add its own at .agents/mcp_config.json. In the IDE: agent panel ... > MCP Servers > Manage MCP Servers > View raw config.

{
  "mcpServers": {
    "hull": {
      "command": "npx",
      "args": ["-y", "https://codeload.github.com/foekey/hull-canvas-mcp/tar.gz/refs/heads/main"],
      "timeoutSeconds": 600
    }
  }
}

On Windows use "command": "npx.cmd". Keep timeoutSeconds: Antigravity's default of 180 s per tool call can cut off login while you are still signing in.

VS Code (GitHub Copilot)

.vscode/mcp.json, or run MCP: Add Server:

{
  "servers": {
    "hull": { "type": "stdio", "command": "npx", "args": ["-y", "https://codeload.github.com/foekey/hull-canvas-mcp/tar.gz/refs/heads/main"] }
  }
}

Zed

settings.json:

{
  "context_servers": {
    "hull": { "command": { "path": "npx", "args": ["-y", "https://codeload.github.com/foekey/hull-canvas-mcp/tar.gz/refs/heads/main"] } }
  }
}

Codex CLI

~/.codex/config.toml:

[mcp_servers.hull]
command = "npx"
args = ["-y", "https://codeload.github.com/foekey/hull-canvas-mcp/tar.gz/refs/heads/main"]

From a local clone

git clone https://github.com/foekey/hull-canvas-mcp && cd hull-canvas-mcp && npm install

then point any client at node /full/path/to/hull-canvas-mcp/index.js.

Configuration (environment variables, all optional)

Variable

Default

Purpose

BROWSER_PATH

auto-detected Brave, Chrome, Edge

Browser used for sign-in

HULL_PROFILE

~/.hull-mcp-profile

Where the sign-in profile lives; delete it (plus .cookies.json) to sign out

CANVAS_URL

https://canvas.hull.ac.uk

Canvas site

PANOPTO_URL

https://uoh.cloud.panopto.eu

Panopto site

How it works, and limits

  • Canvas is read through its normal REST API; Panopto through the same JSON the web viewer uses (GetSessions, DeliveryInfo). No scraping of rendered pages.

  • Calls are plain HTTP with your saved cookies. The browser only starts to sign in or refresh an expired session.

  • Responses are cached briefly (a minute for assignments, ten for course structure), and long text is sliced with an offset to continue.

  • Built and tested against Hull's Canvas and Panopto. Other institutions need the CANVAS_URL / PANOPTO_URL variables and may need changes to the SSO click in session.js (it picks the hull.ac.uk Microsoft account).

  • Can't read PowerPoint files or images. Quizzes appear in whats_due, but individual quiz questions aren't exposed.

  • On Linux, download_file with extract needs unzip.

Privacy

Cookies are stored unencrypted in ~/.hull-mcp-profile.cookies.json (your home folder, never in the repo). Treat that file like a password.

Development

npm install
npm run login   # sign in once
npm run smoke   # calls every tool against your real account

MIT licensed.

Available Tools

14 tools
course_materialsA
Read-only

Module outline for a course: lecture slides, readings, pages, linked assignments, with ids for read_file / read_page. Filter with query to keep it short.

Inputs: course_id (required), query.

download_fileA

Save a Canvas file to disk (zips, starter code, test files, datasets, PDFs). Find file ids with course_materials or get_assignment. extract=true also unpacks a zip into dest_dir. Never overwrites existing files unless overwrite=true.

Inputs: file_id (required), course_id (required), extract, dest_dir, +1 more.

get_announcementsB
Read-only

Recent announcements and discussion posts for a course (lecturers often clarify assignments here).

Inputs: course_id (required), limit.

get_assignmentA
Read-only

Everything needed to DO an assignment: instructions, files linked in the brief (read them with read_file), external links, rubric with level descriptors, submission state and any feedback.

Inputs: course_id (required), assignment_id (required), offset, rubric, +1 more.

get_assignmentsA
Read-only

Assignments in one course as compact lines: id | due | points | status | name. Use get_assignment for the full brief.

Inputs: course_id (required), only_todo.

get_course_summariesA
Read-only

AI summaries of a course's latest N lectures in one call (catch up on missed lectures).

Inputs: course_id (required), count, detail.

get_gradesA
Read-only

Marks and feedback for a course (graded work, teacher comments, rubric scores) plus how the grade is weighted. Use it to learn what markers reward before writing.

Inputs: course_id (required).

get_summaryC
Read-only

Panopto AI summary + key points for one recording.

Inputs: recording_id (required), detail.

list_coursesA
Read-only

Active Canvas courses: id | name | term. Current terms only unless all=true.

Inputs: all.

list_recordingsB
Read-only

Lecture recordings for a course, newest first: date | recording_id | title | minutes | topic headings.

Inputs: course_id (required), limit.

loginA

Open a Brave window to sign in to Hull Canvas + Panopto. Only needed the first time or if a tool says the session expired.

Inputs: no named parameters.

read_fileA
Read-only

Read a Canvas file's text (PDF, Word, code or plain text): assignment briefs, lecture slides, starter code. File ids come from get_assignment or course_materials. Long files come back in slices.

Inputs: file_id (required), course_id (required), offset, max_chars.

read_pageB
Read-only

Read a Canvas course page by its page id (from course_materials). Lists any files it links to (zips, starter code) with ids for download_file / read_file.

Inputs: page (required), course_id (required), offset, max_chars.

whats_dueA
Read-only

START HERE for 'what do I need to do': every unsubmitted assignment/quiz/discussion across all courses, soonest first (overdue from the last 14 days included). One cheap call. Lines: due | course | title | points | flags | course_id/assignment_id.

Inputs: days_ahead.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 14 tools

    Disambiguation4/5

    Tools are mostly distinct by resource and action, and descriptions actively steer selection (e.g. whats_due as 'START HERE' vs get_assignments for one course). The main confusion risk is the singular/plural pair get_assignments vs get_assignment, plus some overlap between get_assignment feedback and get_grades, but the descriptions disambiguate both.

    Naming Consistency3/5

    Most tools follow a verb_noun pattern (list_courses, get_assignments, read_file, download_file, get_summary), but course_materials, login, and whats_due break the convention with noun-only or colloquial names. The mix is still readable and each name hints at its purpose, but it is not a uniform scheme.

    Tool Count5/5

    14 tools is squarely in the well-scoped range for a combined Canvas + Panopto surface. Each tool maps to a distinct student workflow (find work, read briefs, read materials, check grades, review recordings), with no filler tools.

    Completeness3/5

    The read/discovery surface is strong: courses, due work, assignment briefs, materials, files, pages, grades, announcements, and recordings with summaries. However, there is no way to submit an assignment or post to a discussion, which are core actions for a student toolset, and no cross-course search — notable gaps for the stated purpose.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers