Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Unofficial local-first MCP for ClassDojo roster imports and classroom skill synchronization.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
CLASSDOJO_CDP_URLต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"classdojo": {
"command": "npx",
"args": [
"-y",
"classdojo-mcp"
],
"env": {
"CLASSDOJO_CDP_URL": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add classdojo --env CLASSDOJO_CDP_URL='ใส่ค่าของคุณ' -- npx -y classdojo-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"classdojo": {
"command": "npx",
"args": [
"-y",
"classdojo-mcp"
],
"env": {
"CLASSDOJO_CDP_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"classdojo": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"classdojo-mcp"
],
"env": {
"CLASSDOJO_CDP_URL": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
CLASSDOJO_CDP_URL envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Eason0in ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.0) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Tools MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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
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 as 1.Student A one 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.
| Tool | Writes data | Purpose |
|---|---|---|
classdojo_doctor | No | Check the local browser connection, login state, and visible classes. |
classdojo_list_classes | No | List visible three-digit classes in the teacher session. |
classdojo_inspect_workbook | No | Scan every sheet for likely class, seat-number, and student-name columns. |
classdojo_get_roster | No | Read a current ClassDojo class roster. |
classdojo_get_skills | No | Read positive and needs-work skills with points and icons. |
classdojo_get_ui_state | No | Detect dialogs that may block roster work; it never dismisses them. |
classdojo_preview_roster_import | No | Compare workbook students with ClassDojo and create a short-lived preview ID. |
classdojo_apply_roster_import | Yes | Apply one preview with confirm: true, save, and read back for verification. |
classdojo_verify_roster_against_workbook | No | Compare expected and actual counts, missing names, and unexpected names. |
classdojo_preview_skill_sync | No | Compare a preset, source class, or inline rule list with target classes and create a short-lived preview ID. |
classdojo_apply_skill_sync | Yes | Exactly synchronize one skill preview with confirm: true, then read every class back. |
classdojo_verify_skill_sync | No | Independently compare current skills with the selected rule source. |
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.
classdojo_doctor.classdojo_inspect_workbook and select the intended sheet and detected class blocks.classdojo_preview_roster_import with an explicit studentNameFormat.classdojo_apply_roster_import with the returned previewId and confirm: true.classdojo_verify_roster_against_workbook for an independent read-back check.| Preview | Read-back verification |
|---|---|
All screenshots contain synthetic data only.
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.
classdojo_configure_skill_rules prompt, or call classdojo_get_skills to inspect a source class.classdojo_preview_skill_sync with exactly one source: the built-in preset, a three-digit source class, or a complete inline skill list.classdojo_apply_skill_sync with the one-time previewId and confirm: true.classdojo_verify_skill_sync for 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.
The MCP server never asks for a ClassDojo password, cookie, or API token.
Use a dedicated browser profile and sign in to ClassDojo in that window.
open -na "Google Chrome" --args \
--remote-debugging-port=9222 \ --user-data-dir="$HOME/.classdojo-mcp-chrome"
google-chrome \
--remote-debugging-port=9222 \ --user-data-dir="$HOME/.classdojo-mcp-chrome"
& "$env:ProgramFiles\\Google\\Chrome\\Application\\chrome.exe" \`
--remote-debugging-port=9222 \` --user-data-dir="$env:LOCALAPPDATA\\classdojo-mcp-chrome"
Keep the debugging port on loopback. Anyone who can reach a CDP endpoint may be able to control its browser session.
Install from the public npm package with the same command in every client:
npx -y classdojo-mcp
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.
{
"mcpServers": { "classdojo": { "command": "npx", "args": ["-y", "classdojo-mcp"], "env": { "CLASSDOJO_CDP_URL": "http://127.0.0.1:9222" } } } }
{
"servers": { "classdojo": { "type": "stdio", "command": "npx", "args": ["-y", "classdojo-mcp"], "env": { "CLASSDOJO_CDP_URL": "http://127.0.0.1:9222" } } } }
Add this to ~/.codex/config.toml:
[mcp_servers.classdojo]
command = "npx" args = ["-y", "classdojo-mcp"]
[mcp_servers.classdojo.env] CLASSDOJO_CDP_URL = "http://127.0.0.1:9222"
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.
Inspect a workbook first:
{
"workbookPath": "/absolute/path/to/students.xlsx" }
Create a preview with synthetic class mappings:
{
"workbookPath": "/absolute/path/to/students.xlsx", "sheetNames": ["Grade 5"], "studentNameFormat": "seat_number_dot_name", "includeStudentDetails": false, "mappings": [ { "classdojoClassName": "503", "sourceClassName": "Grade 5 Class 3" } ] }
Apply only after reviewing the preview:
{
"previewId": "00000000-0000-4000-8000-000000000000", "confirm": true }
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:
{
"rulesSource": { "type": "preset", "presetId": "traditional_chinese_classroom_v1" }, "targetClassNames": ["502", "503", "504"] }
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.
See docs/PRIVACY.md, SECURITY.md, and the threat model.
| Symptom | Check |
|---|---|
| Browser connection fails | Confirm the dedicated Chrome window is still running with --remote-debugging-port=9222. |
| Not logged in | Sign in manually in the dedicated window, then rerun classdojo_doctor. |
| No classes are visible | Open the teacher class page and confirm the account has access. |
| Import is blocked | Run classdojo_get_ui_state; close family-invitation or welcome dialogs yourself. |
| Seat numbers disappear | Use studentNameFormat: "seat_number_dot_name"; bulk paste is only used for name_only. |
| Workbook columns are not detected | Open an issue with a synthetic workbook that reproduces the header layout. |
| Verification differs | Stop writing, compare missingStudents and unexpectedStudents, then create a new preview. |
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:
This project will not reverse-engineer or promise undocumented ClassDojo REST endpoints as a stable public API.
npm ci
npm test npm run build npm audit --omit=dev npm pack --dry-run
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.
ตัดมาแค่ช่วงต้น อ่านต่อใน repo