MyCourseVille MCP Server
This server lets an AI agent access and monitor a MyCourseVille account—courses, assignments, deadlines, materials, grades, and change events—through MCP tools.
whats_new: see new/changed assignments, grades, etc. since a time or relative span, with optional filters.list_upcoming_deadlines: list assignments due within N days, soonest first, optionally including undated ones.list_courses: list enrolled courses, optionally filtered by semester.list_assignments/get_assignment: browse assignments and get full detail for one.list_materials/download_material: browse posted files and download one, optionally extracting PDF text.list_grades: view released scores and unpublished items, optionally only released.sync_now: force a refresh from MyCourseVille now;full=truesyncs all semesters.auth_status: diagnose login state, last sync, and stored row counts.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MyCourseVille MCP Server What's changed since my last sync?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MyCourseVille MCP Server
An MCP server that gives an AI agent access to your MyCourseVille account: new assignments with their deadlines and descriptions, course announcements, course materials, and released grades — plus a "what changed since last time" feed.
Personal tool for your own account data. Keep the poll interval polite and never commit your credentials.
How it works
MCV has an official OAuth2 API (/api/v1/public/get/*), but it requires registering an
app to get a client_id/client_secret, and its endpoint names aren't publicly
documented. This server instead logs in exactly like the MCV web client does — through the
IT Chula SSO button by default, or the plain MCV form — then reads the same server-rendered
course pages the site serves to a browser: the course home for announcements and
materials, /assignment for deadlines, and /portfolio-<student id> for scores. See
docs/ENDPOINTS.md.
Fetched data lands in a local SQLite snapshot. Every sync diffs against that snapshot and
appends to an events log — that log is what whats_new reads, so the server can tell you
what appeared since you last looked. A background poller refreshes on an interval so a new
assignment is noticed even when no chat is open.
On "new": MCV doesn't reliably expose a posted-at timestamp, so first_seen — when
this server first observed an item — is the proxy. The first sync backfills everything
quietly rather than reporting your entire semester as new.
Related MCP server: Canvas LMS MCP
Setup
uv sync --extra dev
cp .env.example .env # then fill in MCV_USERNAME / MCV_PASSWORD
uv run mcv-mcp --selftest--selftest logs in, syncs once, and prints how many courses, assignments, materials and
grades it found. Get that working before wiring up the agent.
Register with Claude Code:
claude mcp add mcv -- uv --directory C:\Users\velys\Documents\mcp_mcv run mcv-mcpThen ask: "What's due this week?", "Anything new on MCV since yesterday?", "Download the latest slides for Comp Prog."
Tools
Tool | What it answers |
| New/changed assignments, announcements, materials and grades since a point in time |
| What's due in the next N days, soonest first |
| Enrolled courses, optionally one semester |
| Assignments with deadline + description |
| Full detail for one assignment |
| Instructor announcements, newest first, with their full text |
| Full detail for one announcement |
| Files posted in a course (folder, name, URL) |
| Save a file locally; extracts PDF text so it can be read |
| Released scores |
| Force a refresh ( |
| Diagnostics: login state, last sync, row counts |
Configuration
Variable | Default | Meaning |
| — | Your MCV credentials |
|
|
|
|
| Poller interval (floor 10) |
|
| Set |
|
| Where the DB, cookies and downloads live |
State is kept outside the repo. Cookies are persisted, so restarts don't re-login.
Run the poller separately (e.g. under Task Scheduler) with:
uv run python -m mcv_mcp.pollerLayout
src/mcv_mcp/
config.py settings, URLs, state paths
client.py Chula SSO login, cookie persistence, throttled AJAX transport
parsers.py HTML -> dicts (pure functions, fixture-tested)
store.py SQLite snapshot + event log
sync.py orchestration + background poller
server.py MCP tool definitionsMCV's markup is the fragile part, and it's confined to parsers.py. If something stops
returning rows, capture a fresh fixture (see docs/ENDPOINTS.md) and fix the selector there.
Status
Working against a real account: login, all four parsers, downloads and change detection are verified end to end. A representative sync pulled 9 courses, 20 assignments (every one with a parsed deadline), 112 materials and 69 graded items; the following sync reported zero changes, so the diff log stays quiet until something actually moves.
Known limits:
Grade release is detected by polling, not pushed. A score appearing shows up as a
grade_changedevent within one poll interval (default 30 min).Only the current semester is synced unless you pass
full=truetosync_now.MCV's markup is the fragile part. If a parser starts returning zero rows, capture a fixture and fix the selector — see docs/ENDPOINTS.md.
Development
uv run pytestAvailable Tools
10 toolsauth_statusB
Diagnostics: credentials present, session state, last sync result, row counts.
Inputs: no named parameters.
download_materialA
Download one material to the local downloads folder.
Set extract_text to pull readable text out of PDFs so it can be summarised.
Inputs: material_id (required), extract_text.
get_assignmentB
Full detail for one assignment. assignment_id is '<cv_cid>:<item_id>'.
Inputs: assignment_id (required).
list_assignmentsC
Assignments with their deadline and description. cv_cid filters to one course.
Inputs: cv_cid, include_past.
list_coursesB
Enrolled courses. yearsem filters to one semester, e.g. '2568/1'.
Inputs: yearsem.
list_gradesA
Graded items and their scores. cv_cid filters to one course.
Items whose points MCV has not published yet are included with score 'Not ready' and
released: false, so you can see what is still outstanding. Set released_only to
hide them.
Inputs: cv_cid, released_only.
list_materialsC
Course materials (files posted in MCV): folder, name and URL.
Inputs: cv_cid.
list_upcoming_deadlinesB
Assignments due within the next N days, soonest first.
Inputs: within_days, include_undated.
sync_nowA
Refresh from MyCourseVille now. full walks every semester, not just the current.
Inputs: full.
whats_newB
What appeared or changed on MyCourseVille recently.
Args: since: ISO date, a relative span like '3d' / '12h', or 'yesterday'. Default 7 days. kinds: comma-separated filter, e.g. 'assignment_new,grade_new'. Default all. limit: max events to return.
Inputs: kinds, limit, since.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct action—checking changes, listing courses/assignments/materials/grades, downloading materials, syncing, and diagnostics. There is no overlap in purpose, so an agent can reliably select the right tool for a given task.
Most tools follow a clear verb_noun pattern (list_courses, get_assignment, download_material, sync_now). The only deviation is 'whats_new', which is more of a phrase than a verb/noun pair, but it is still descriptive and consistent with the snake_case style.
With 10 tools, the server covers the core LMS operations without being bloated. Each tool serves a clear purpose, and the count is well within the ideal range for a domain-specific integration.
The surface covers the main read-oriented workflows (course, assignments, materials, grades, changes) and adds sync/diagnostics. Minor gaps exist, such as no way to list announcements or create/edit items, but these are not essential for a typical consumption-focused MCP.
Maintenance
Related MCP Connectors
Connect a user's Google Calendar, Gmail, Drive, Notion or Slack so your agent reads their data.
Connect AI assistants to Edusign attendance, courses, learners, documents, and API docs via OAuth.
Connect any AI agent to 1,000+ apps and 27,000+ actions through one remote MCP server (OAuth).
Connect Apple iCloud and Microsoft 365 mail, calendars, contacts and tasks to AI.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI to read MyCourseVille data locally, including assignments, deadlines, grades, announcements, and course materials.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to access Canvas LMS academic data such as courses, assignments, grades, and events via MCP tools.-
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to browse your own university courses by downloading files, slides, announcements, deadlines, grades and lecture transcripts to your machine, then answering questions and searching across them through MCP tools. It logs in with your own account and refreshes only what changed.MIT
- AlicenseAqualityCmaintenanceEnables AI tools to read course materials, links, and deadlines from a student's university learning platform, and to download lecture slides into course folders for SlideMate and other MCP clients.82MIT