
ClassDojo Classroom MCP
io.github.Eason0inPublished by GitHub account Eason0inv0.2.0Updated Oct 28, 2026
Unofficial local-first MCP for ClassDojo roster imports and classroom skill synchronization.
Overview
Unofficial local MCP server that lets an assistant inspect Excel rosters and preview, apply and verify ClassDojo class rosters and skills through a signed-in…
- What you can do
- Check the local browser connection, login state and visible classes
- Read ClassDojo rosters, skills and blocking UI dialogs
- Scan XLSX workbooks for class, seat-number and student-name columns
- Preview roster imports and compare them with the live class
- Apply a confirmed roster import and verify it against the workbook
- Preview, apply and verify exact classroom-skill synchronization from a preset, source class or inline list
- When to use it
- For teachers who want an assistant to import student rosters from Excel into ClassDojo without losing seat numbers, or to copy and verify classroom skill sets across several classes, with a review step before anything is written.
- Requirements
- Node.js 20 or newer; Chrome or another Chromium browser started with remote debugging on loopback; a ClassDojo teacher account signed in manually in a dedicated browser profile; the CLASSDOJO_CDP_URL environment variable pointing at that CDP endpoint; an MCP client that launches local stdio servers.
Installation
In SourceWeft
- Open ClassDojo Classroom MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ClassDojo Classroom MCP
[CI] [npm] [Node.js 20+] [MCP stdio] [MIT License]
An unofficial, local-first Model Context Protocol (MCP) server for teachers who need to inspect and import Excel/XLSX student rosters or review, synchronize, and verify ClassDojo classroom skills. It works with any MCP client that can launch a local stdio server, including Claude Desktop, Codex, Cursor, and VS Code.
[!IMPORTANT] This community project is not affiliated with, endorsed by, or supported by ClassDojo. It uses the signed-in ClassDojo teacher website through a local browser adapter because an official public ClassDojo API/MCP is not yet available. ClassDojo UI changes may require an adapter update.
繁體中文文件:docs/README.zh-TW.md
Why this MCP server exists
ClassDojo's bulk paste flow can interpret a leading number as list numbering instead of part of a student's display name. This server keeps roster changes reviewable and supports two explicit formats:
seat_number_dot_name: creates names such as1.Student Aone at a time so the seat number is preserved.name_only: uses ClassDojo's faster bulk paste flow when seat numbers are not needed; it is rejected if a source class contains duplicate names.
Every write requires a fresh 15-minute preview ID plus confirm: true. After saving, the server reads the class back and compares names and counts.
What it can do
The classdojo_configure_skill_rules MCP prompt guides a client through the built-in traditional_chinese_classroom_v1 preset, asks whether the user wants changes, shows the complete final list, and keeps preview, approval, apply, and verification as separate steps.
The workbook inspector does not assume fixed sheet names or column positions. It scans the whole workbook for common Chinese and English class/seat/name headers. Preview and verification then require an explicit non-empty sheetNames selection plus class mappings, preventing an Agent from silently combining duplicate or unrelated sheets.
Safe workflow
[Workbook inspection with synthetic data]
- Run
classdojo_doctor. - Run
classdojo_inspect_workbookand select the intended sheet and detected class blocks. - Run
classdojo_preview_roster_importwith an explicitstudentNameFormat. - Review class mappings, counts, missing seat numbers, and additions.
- Only after human approval, call
classdojo_apply_roster_importwith the returnedpreviewIdandconfirm: true. - Run
classdojo_verify_roster_against_workbookfor an independent read-back check.
All screenshots contain synthetic data only.
Safe classroom-skill workflow
The built-in Traditional Chinese preset contains nine positive skills and six needs-work skills. It is public package data and uses a neutral preset ID; it does not contain a teacher name, account identifier, or student data.
- Start with the
classdojo_configure_skill_rulesprompt, or callclassdojo_get_skillsto inspect a source class. - Review the complete preset and make any additions, removals, point changes, or icon changes.
- Call
classdojo_preview_skill_syncwith exactly one source: the built-in preset, a three-digit source class, or a complete inline skill list. - Review every target's additions, updates, and removals.
- Only after human approval, call
classdojo_apply_skill_syncwith the one-timepreviewIdandconfirm: true. - Call
classdojo_verify_skill_syncfor an independent comparison.
Skill synchronization is an exact replacement. If a class changes after preview, the apply stops rather than overwriting the newer state. Matching classes are left unchanged, and a partial failure requires a fresh preview before retrying.
Requirements
- Node.js 20 or newer
- Chrome or another Chromium browser with Chrome DevTools Protocol (CDP)
- A ClassDojo teacher account that you sign in to yourself
- An MCP client that supports local stdio servers
The MCP server never asks for a ClassDojo password, cookie, or API token.
Start the local browser adapter
Use a dedicated browser profile and sign in to ClassDojo in that window.
macOS
Linux
Windows PowerShell
Keep the debugging port on loopback. Anyone who can reach a CDP endpoint may be able to control its browser session.
Install in an MCP client
Install from the public npm package with the same command in every client:
Contributors can alternatively clone this repository, run npm ci && npm run build, and replace the command with node plus the absolute path to dist/cli.js.
Claude Desktop and Cursor
VS Code
Codex
Add this to ~/.codex/config.toml:
Client UI and configuration locations change over time; refer to the client's current documentation. The transport itself is standard MCP stdio and is not Codex-specific.
Example tool inputs
Inspect a workbook first:
Create a preview with synthetic class mappings:
Apply only after reviewing the preview:
Preview IDs expire after 15 minutes, live only in the running MCP process, and are consumed by the first apply attempt. This reduces accidental replay and duplicate imports. If one class fails, the result names the verified classes and the classes that can be retried after generating a new preview.
Preview the built-in classroom-skill preset for multiple targets:
Use {"type":"class","className":"501"} to copy a live source class. To modify the preset, send {"type":"inline","skills":[...]} with the complete final list; each rule requires category, name, and integer points, while iconId is optional. Positive points must be 0..5, needs-work points must be -5..0, and names must be unique.
Privacy and security
- Workbook parsing and browser automation run locally on the teacher's computer.
- The project does not run a hosted MCP service and does not persist credentials or student rosters.
- Student names may still pass through the selected MCP client/AI provider. Review that provider's retention and privacy terms before using real student data.
- Never attach real workbooks, student screenshots, browser profiles, cookies, or diagnostic logs containing personal data to a public issue.
- Writable operations are limited to confirmed roster imports and confirmed classroom-skill synchronization. Awarding points, attendance, messaging, family invitations, and other ClassDojo features remain unavailable.
See docs/PRIVACY.md, SECURITY.md, and the threat model.
Troubleshooting
Project status and roadmap
Version 0.2.x is experimental. The web UI adapter is intentionally isolated so a future official ClassDojo API can replace it without changing the public MCP tool workflow.
Planned work:
- additional synthetic workbook layouts and locale coverage
- MCP client compatibility matrix and Inspector smoke tests
- official API adapter if ClassDojo grants Early Access
- optional read-only tools only after a privacy and permissions review
This project will not reverse-engineer or promise undocumented ClassDojo REST endpoints as a stable public API.
Development
The stdio protocol uses stdout; never add console.log calls to the server. Use stderr for diagnostics. See CONTRIBUTING.md before opening a pull request.
Community metadata and release
- MCP Registry name:
io.github.Eason0in/classdojo-mcp - npm package:
classdojo-mcp - transport:
stdio - license: MIT
server.json and package.json#mcpName intentionally match the MCP Registry ownership format. The release workflow is prepared for a protected GitHub Actions environment, npm Trusted Publishing, provenance, and MCP Registry OIDC; it is not usable until the maintainer explicitly configures the release environment and npm publisher. No long-lived npm token belongs in this repository.
License
MIT © Eason0in
Source: README.md at commit d5502db
Tools
0Version history
1- v0.2.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts