infinitecampus-mcp

MCP server for Infinite Campus (Campus Parent portal). Single-account config — linked districts are auto-discovered via CUPS SSO after login.
Tools
20 tools across academics, daily life, documents, messaging, feature discovery, and a credential/district healthcheck.
| Domain | Tools |
|---|
| Districts | ic_list_districts |
| Students | ic_list_students |
| Schedule | ic_get_schedule |
| Assignments | ic_list_assignments (sectionID server-side; missingOnly / date filters client-side; name the student as student: "<name> (<district>)" or with district + studentId; view: "brief" answers one line per assignment inside the untrusted-data envelope, -- none when nothing matches) |
| Grades | ic_list_grades, ic_list_recent_grades (default 14d window) |
| School calendar | ic_list_school_days |
| Attendance | ic_list_attendance (per-course summary), ic_list_attendance_events (individual events with codes + comments) |
| Behavior | ic_list_behavior (FeatureDisabled-aware) |
| Food service | ic_list_food_service (FeatureDisabled-aware) |
| Documents | ic_list_documents, ic_download_document |
| Messaging | ic_list_messages (3 sources: prism notifications + Messenger 2.0 inbox + portal announcements), ic_get_message (fetch parsed HTML body of an inbox message) |
| Teachers | ic_list_teachers (teachers per section + assigned counselors) |
| Assessments | ic_list_assessments (standardized test scores) |
| Fees | ic_list_fees (assignments + surplus balance) |
| Features | ic_get_features (per-enrollment displayOptions flags) |
Tools that the harness will gate as write/IO operations: ic_download_document.
ic_download_document hands the document back by whichever route reaches you: on a hosted server (mcp-host) it returns a signed, expiring download link and writes nothing to the server's disk; on a local install it writes to destinationPath inside IC_DOWNLOAD_DIR (default ~/Downloads), as before. inline: true returns the file in the result instead (up to 10 MiB). Downloads are capped at 50 MB and time out after 2 minutes.
Context-group hints
Every tool carries a _meta.mint hint (domain school) that mcp-host reads to group tools by what they answer. ic_list_assignments is the canonical what's due tool: its hint names student as the subject and since/until as the date range. At start the server builds the student labels — "<name> (<district>)" for every student in every linked district — and advertises them as an enum; if that fails or takes longer than 8 seconds, the argument is still advertised without an enum and a label is resolved when the tool is called.
Configuration
infinitecampus-mcp tries two auth paths in priority order; whichever succeeds first is used. Existing setups keep working unchanged.
- Env-var credentials (legacy). Set all four:
IC_BASE_URL=https://campus.springfield.k12.example.us
IC_DISTRICT=springfield
[email protected]
IC_PASSWORD=...
IC_NAME=Springfield # optional, defaults to IC_DISTRICT
- ContextMint Bridge fallback (no password needed). Set only
IC_BASE_URL + IC_DISTRICT (still required so the MCP knows which host to talk to and which district to dispatch on), then install the ContextMint Bridge browser extension from its releases page (Chrome: download the chrome zip and load it unpacked via chrome://extensions → Developer mode → Load unpacked; there is no Chrome Web Store listing yet. Safari is not available yet — it will ship inside the ContextMint app, which has no public download — so use Chrome for now) and sign into your IC portal once. ContextMint Bridge is the fetchproxy browser extension under its new name, from the same maintainer — fetchproxy's own README points to it. Its source is public at nullnet-app/contextmint-bridge: build it yourself, or check a release zip against the .sha256 file published beside it (shasum -a 256 -c contextmint-bridge-chrome-<version>.zip.sha256). The MCP reads the JSESSIONID (HttpOnly) + XSRF-TOKEN cookies from that tab and goes direct-to-API from Node thereafter — the extension is not in the request hot path. The read is repeated whenever the session lapses (JSESSIONID is a servlet session with a short idle timeout), so you stay signed in without restarting the MCP.