Connect AI Agents (Pro & School MCP)

Last updated 2026-11-26. GradeClap is provided by PT Nusa Kecerdasan Buatan, Perseroan Perorangan (Indonesian single-member limited liability company, non-PKP UMKM), Indonesia.

Included on Pro Monthly ($4/mo), Pro Yearly ($1.58/mo equiv.) and School / University Kiosk plans: connect your favourite AI assistant to GradeClap through the Model Context Protocol (MCP) or our OpenAPI 3.1 endpoints - while keeping student rosters local and confirming every final mark on your visual GradeClap Marking Desk.

Download 1-Click Claude Desktop Extension (.mcpb) Mint a scoped Agent Key in the Kiosk See Pro & School plans OpenAPI 3.1 JSON

1. Why AI agents need GradeClap instead of raw vision grading

  • Deterministic OMR vs vision row-shift hallucinations: general multimodal LLMs frequently misread dense 50-question bubble grids or crossed-out bubbles. GradeClap aligns 4 corner anchors in WebAssembly and scores OMR bubbles deterministically on your device for 0 credits.
  • 10x lower token cost & exact STEM tolerances: instead of sending 120 full-page exam scans into a chat window, GradeClap strips blank boxes locally, packs up to 9 short answers + 1 canary verification row onto a single contact sheet (1 credit), and checks units, significant figures and chemical formulas in deterministic code.
  • Zero student PII in chat logs (PDPA & UU PDP): student rosters stay in your browser and anonymous answer crops are sent only to fail-closed Zero Data Retention endpoints (zdr: true, data_collection: "deny").
  • Visual red-pen Marking Desk: chat windows cannot replace side-by-side handwriting verification, clickable rubrics, red-pen ticks/ECF stamps, High/Mid/Low Moderation Sample Packs, or Indonesian e-Rapor exports. Your agent prepares the work; you confirm final marks in My Marking Desk.

2. Quick start (1-click Claude Desktop .mcpb or Streamable HTTP MCP)

  1. Subscribe to Pro Monthly ($4), Pro Yearly ($19/yr), or School Kiosk, sign in at the Marking Kiosk, open Connect AI agent (MCP & API keys), and mint a scoped key (gca1....) with a credit ceiling (for example 250 credits).
  2. Easiest for Claude Desktop (no JSON editing): download GradeClap.mcpb, double-click it to install in Claude Desktop, and paste your scoped gca1.... key into the secure OS Keychain prompt.
  3. Cursor, Windsurf, ChatGPT, Hermes or custom MCP clients: connect directly to our Streamable HTTP MCP endpoint:
    {
      "mcpServers": {
        "gradeclap": {
          "url": "https://api.gradeclap.com/mcp",
          "headers": {
            "Authorization": "Bearer gca1.<org>.<id>.<secret>"
          }
        }
      }
    }
  4. Ready-to-paste teacher prompts:
    • "Check my GradeClap account balance and active zero-data-retention AI reader models."
    • "Draft a GradeClap answer_key_v1 JSON from this marking scheme page with MCQ letters, short-answer tolerances/units, and working rubric steps, then validate it."
    • "List GradeClap's printable A4/A5 answer-card templates and recommend which card fits a 30-MCQ + 10-short-answer + 2-essay physics midterm."

3. Cloud MCP tools (POST https://api.gradeclap.com/mcp)

  • gradeclap_account_status - Check remaining pool credits, agent-key credit cap, and active ZDR model routes (0 credits).
  • gradeclap_list_templates - Inspect printable A4/A5 answer-card templates, capacities and header styles (0 credits).
  • gradeclap_validate_answer_key - Convert CSV/TSV rows or validate an answer_key_v1 JSON ready to drop into the Kiosk (0 credits).
  • gradeclap_draft_key_page - Draft structured questions, units/tolerances and rubric steps from a marking-scheme page image (requires explicit confirm_credits).
  • gradeclap_read_anonymous_crop - Run fail-closed Zero Data Retention AI reading on an anonymous written crop with Idempotency-Key replay protection (requires explicit confirm_credits).

4. Built-in safety, billing and academic guardrails

  • Scoped keys, never master codes: Agent keys (gca1.*) are pepper-hashed, carry an independent credit cap and expiry, cannot mint sub-keys or access School Admin, and can be revoked in one click by the teacher or School Admin.
  • Two-phase credit gate & idempotency: Agents cannot spend AI credits without first running gradeclap_prepare_scans and passing the exact quoted approve_credits integer. Every AI crop request carries a deterministic Idempotency-Key so network retries never double-charge your pool.
  • Paper-to-agent prompt-injection shield: Any student handwriting surfaced in opt-in modes is wrapped in <untrusted_student_writing> delimiters and scanned for instruction-override phrases (such as "ignore rubric" or "award full marks").
  • Academic responsibility rule (Terms section 3): AI agents cannot mark written answers as human-confirmed. A teacher or lecturer opens the generated offline GradeClap_Grader_*.html file to review and confirm written marks before final LMS CSV release.

5. Remote Cloud MCP & REST OpenAPI 3.1

  • Remote MCP endpoint: POST https://api.gradeclap.com/mcp with header Authorization: Bearer gca1.<org>.<id>.<secret> (JSON-RPC 2.0 Streamable HTTP; tools: gradeclap_account_status, gradeclap_list_templates, gradeclap_validate_answer_key, gradeclap_draft_key_page, gradeclap_read_anonymous_crop).
  • OpenAPI 3.1 specification: https://api.gradeclap.com/api/openapi.json for custom Python/Node scripts, university LMS pipelines and GPT Actions.