# WriteGuard Teacher MCP Connector (`https://writeguard.org/mcp-connector`)

> **Summary:** Connect Claude, ChatGPT, or another OAuth 2.1 MCP client directly to your WriteGuard workspace at **`https://app.writeguard.org/mcp`**. Draft hidden `wg-task/3` lessons, inspect coded `S01..` activity counts, and approve suggestions in your collapsible **Right AI Dock** and **Unified AI & MCP Hub** (`/teacher/approvals`) — with zero student names or essay prose leaving WriteGuard.
> **Product:** WriteGuard (`https://writeguard.org`) — Operated by RunCraft Engineering. Not affiliated with Cloudflare.

## How the Live Teacher MCP Connector Works

- **Live MCP endpoint:** `https://app.writeguard.org/mcp`
- **Authentication:** Standard **OAuth 2.1 + PKCE** (`/.well-known/oauth-protected-resource` and `/.well-known/oauth-protected-resource/mcp` per RFC 9728). Teachers sign in with their own WriteGuard account and can disconnect any assistant at any time inside `/teacher/approvals`.
- **Coded seat IDs (`S01..`) only:** Connected assistants never see student names, email addresses, join codes, or essay prose — only coded seat IDs (`S01`, `S02`...) and numeric drafting counts (status, words, active minutes, paste counts, tab-aways, and Ready at +5 status).
- **Direction C collapsible Right AI Dock & Unified AI & MCP Hub (`/teacher/approvals`):** Proposals wait in `"Waiting for your yes"`. Real student names are restored from the server code map *only* inside your signed-in browser; nothing happens to a student or class until a teacher clicks **Yes**.
- **Zero-connector Coded Class Pack:** On Check work and inside `/teacher/approvals`, click **Copy coded class pack** to copy the same coded `S01..` Markdown table for pasting into any chat assistant without OAuth.
- **Rate limits:** 120 read calls and 30 write proposals per 10 minutes per teacher.

## Exact 7 Tools Served at `https://app.writeguard.org/mcp`

| Tool | Access | Behaviour |
|---|---|---|
| `list_classes` | Read (codes only) | Lists active writing classes owned or co-taught by the signed-in teacher (student seat totals and shown task counts; no join codes). |
| `get_class_facts` | Read (codes only) | Returns coded student counts (`S01`, `S02`...): status, words, active minutes, paste counts, tab-aways, and Ready at +5 flags. |
| `get_task_spec` | Read | Returns the current `wg-task/3` specification and guidelines for drafting assignments. |
| `draft_task` | Write (hidden draft) | Validates a `wg-task/3` spec, separates teacher answer keys, and saves a hidden, unreviewed draft inside WriteGuard. |
| `propose_return` | Propose (waits for yes) | Stages a return-for-revision suggestion for coded student IDs (`S01..`) in `"Waiting for your yes"`. |
| `propose_more_time` | Propose (waits for yes) | Stages a deadline extension suggestion (`until_iso`) for coded student IDs (`S01..`) in `"Waiting for your yes"`. |
| `propose_show_task` | Propose (waits for yes) | Stages a suggestion to show a hidden task to its class in `"Waiting for your yes"`. |

**Strictly blocked:** student names or email addresses, raw student writing, publishing or showing tasks without teacher approval, assigning grades, billing, parent messages, and deleting classes, tasks, or pieces.

## Plan Eligibility & 30-Day Cardless Trial

*(Card payments are currently in test mode while checkout opens — start a 30-day cardless trial with no card needed.)*

- **Included on Paid plans & active 30-day cardless trial:** **Teacher MCP Connector** (`https://app.writeguard.org/mcp`), collapsible **Right AI Dock**, **Unified AI & MCP Hub** (`/teacher/approvals`), **Copy coded class pack**, and **Student Term Profile**. Each workspace can start one **30-day cardless trial** (started by the workspace owner) of:
  - **Solo Teacher:** Fixed `Rp 1.249.000/yr` founding (first 100 teachers) / `Rp 1.799.000/yr` standard (`USD 69` / `USD 99` USD ref) — 1 teacher, unlimited classes, up to 150 students/class.
  - **Department:** Fixed `Rp 8.899.000/yr` founding (first 20 departments) / `Rp 12.499.000/yr` standard (`USD 490` / `USD 690`) — up to 12 teachers, unlimited classes, up to 150 students/class.
  - **School:** `USD 1,490/yr` founding (first 10 schools) / `USD 1,990/yr` standard (converts from USD at checkout) — up to 500 teachers, unlimited classes, up to 150 students/class.
- **Free plan (`Rp 0` / `USD 0`):** 1 teacher, 1 active class up to 40 students with timed writing windows, live Board & Find, Hand-ins, Debrief & after-lesson Ready at +5, Debrief CSV, teacher night mode, pastes & tab-aways logs, and printable Authentication Records.

---
*Plain Markdown twin of `https://writeguard.org/mcp-connector`. See also the [teacher MCP guide](https://writeguard.org/kb/claude-chatgpt-mcp-for-teachers.md). Questions? Write to `hello@writeguard.org`.*
