Repository navigation
feat(mcp): add list_grades - #19
Conversation
Expose the grades listing from 0.8.3 to MCP clients. list_grades takes a courseId and optional lesson-name words, like mark_lessons_read, and returns the same allowlisted rows as edstem grades. The local, Docker and Worker servers all get it through the shared server.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: abe16f9789
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
edstem-mcp | 41c81eb | Commit Preview URL Branch Preview URL |
Nov 03 2026, 01:39 AM |
edstem gradesshipped in 0.8.3 as CLI-only. This adds the matching MCP tool,list_grades, so agents on any of the three servers (local stdio, Docker, Worker) can answer "what did I get for assignment 1".courseId(ID, code, or part of the name) and optionalqueries, the same lesson/module-name wordsmark_lessons_readtakes.edstem gradesviaprojectGrade, so Ed's name, email and other students' ids never reach the client.SKILL.mdmention it.The test covers the wiring against raw Ed responses: a graded and an unsubmitted lesson, content lessons skipped, no identifying fields in the result, and no requests for lessons that were never submitted. The grade logic itself is already covered in
operations.test.ts.npm run check,npm run test:node(331), Bun remote/worker tests (32) andnpm run buildpass. Also checked against a live account over stdio: same rows as the CLI.