powerschool-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Host for the HTTP server. The Docker image sets HOST=0.0.0.0. | 127.0.0.1 |
| PORT | No | Port for the HTTP server. | 3417 |
| MCP_SECRET | No | Secret used as the MCP URL path. Required for HTTP mode and must be at least 24 characters. | |
| PUBLIC_URL | No | Public server URL used by ps-login --server when --server is omitted. | |
| PS_BASE_URL | Yes | Base URL of the PowerSchool server, e.g. https://ps.yourdistrict.org. Required. | |
| PS_CACHE_SEC | No | Cache duration in seconds. | 300 |
| PS_KEEPALIVE_MIN | No | Minutes between keep-alive requests. Set to 0 to disable keep-alive. | 10 |
| PS_DEFAULT_STUDENT | No | Default student name or index to use when a tool does not specify one. Defaults to the student PowerSchool is currently showing. | |
| SESSION_PUSH_SECRET | No | Secret required for posting a session to the server via the X-Session-Secret header. Required for HTTP mode, at least 24 characters, and different from MCP_SECRET. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Read-only access to a student's PowerSchool guardian portal. Call session_status first; if it says logged out, tell the user to run ps-login on their PC. Use get_grades for current grades, get_class_scores or get_missing for assignments, what_if_grade for what-if math, and get_attendance, get_schedule, get_grade_history, get_teacher_comments for the rest. estimate_gpa is only an estimate, never the official GPA. Do not guess grades: only report what the tools return.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| session_statusA | Whether the PowerSchool login is alive, how many seconds of idle time remain, and which student is active. When logged out, tell the user to run ps-login on their PC. Does not extend the session. |
| list_studentsA | Students on the PowerSchool account, with the index to pass as the |
| get_gradesA | Current letter grade and percent for every class in the active term (from the PowerSchool home page), plus absences and tardies. Also lists the other terms with any grade they already have. |
| get_class_scoresA | Assignments for one class with score, points possible, percent, due date, category and flags (missing, late, exempt, collected). |
| get_missingA | Every assignment flagged missing or late across all classes in the current term. Loads each class once, so it can take several seconds. |
| get_attendanceA | Absences and tardies with date, period, class, code and reason, from the attendance plugin; falls back to the attendance HTML grid if the plugin is unavailable. Optionally limit to a date range (YYYY-MM-DD). |
| get_scheduleA | The student's schedule: this week's bell schedule by day with times, and the period matrix with teacher, room and term for each class. |
| get_grade_historyA | Stored final grades for every term PowerSchool has on file (current and prior years): course, letter grade, percent, citizenship, credit hours. |
| get_teacher_commentsA | Teacher comments per class for a reporting term (empty when teachers have not written any). |
| estimate_gpaA | ESTIMATED GPA computed locally from stored term grades on a 4.0 scale (A=4.0 ... F=0, plus/minus steps), credit-hour weighted. With weighted=true, courses whose name contains AP or Honors get +1. This is an estimate, NOT the official GPA: the district's own scale, course weights and rounding may differ. |
| what_if_gradeA | Recompute a class percent after hypothetical scores, using points-based math on the real assignment data (sum of score x weight over points x weight; exempt, uncounted and unscored items excluded; missing items count as 0 only if scored 0 by the teacher). Each hypothetical either adds a new assignment or, with |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 11 tools
Most tools map to clearly distinct resources: current-term overview (get_grades), per-class assignments (get_class_scores), stored finals across terms (get_grade_history), cross-class missing work (get_missing), attendance, schedule, comments, GPA and what-if. The grade-related quartet (get_grades / get_class_scores / get_grade_history / get_missing) could be momentarily confused, but descriptions explicitly state scope and level of detail.
Strong get_/list_ verb_noun pattern (get_grades, get_class_scores, list_students, get_attendance, get_schedule, get_teacher_comments). Minor deviations are session_status (noun phrase with no verb) and the question-style what_if_grade, though both remain self-explanatory.
Eleven tools is squarely in the well-scoped range, and each one covers a distinct slice of the student-portal domain (grades, assignments, attendance, schedule, history, comments, GPA, session/student context). No redundant or filler tools are present.
The surface covers the full read-only lifecycle of a PowerSchool student portal: identity/session, grades, assignment detail, missing work, attendance, schedule, historical grades, comments, and derived GPA/what-if analysis. Gaps are minor—no single-assignment detail view (description/rubric), no direct retrieval of category weights for what_if_grade, and no school announcements or fee/balance info—but all core workflows are reachable.