Classroom MCP
Integrates with Google Classroom and Drive through a signed-in Google account to read course and assignment material, prepare selected files, and perform authorized Classroom write actions such as submitting work, saving grades, and returning assignments.
Provides student and teacher tools for Google Classroom: reads instructions, materials, deadlines, and selected student work/files; prepares evidence bundles; and supports authorized writes such as creating basic assignments, attaching/submitting work, saving grades, and returning work with fresh-state, idempotency, and readback checks.
Exports Google Docs to PDF so documents can be visually inspected, preserving originals for review.
Exports Google Sheets to XLSX with cells, formulas, and cached values for review; it does not recalculate the spreadsheet.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Classroom MCP
Google Classroom tools for AI agents, with separate student and teacher roles and a private browser session on your own machine. The current focus is teacher review in Codex on macOS: collect one student's assignment and selected files, inspect the evidence, and propose feedback. The teacher decides what gets saved.
Teacher setup · Format support · Local guide · Documentation · CI workflow
Install from npm
The package needs Node.js 24, Google Chrome and Python 3. macOS 13.5 or later on Apple Silicon is supported through the bundled arm64 native helpers; Linux uses Chromium and Poppler (poppler-utils).
npm install -g classroom-mcp
classroom-mcp daemon # keep this terminal open
classroom-mcp login # sign in personally in the dedicated Chrome window
classroom-mcp mcp-config # connect an MCP client to the printed commandThe npm package is classroom-mcp. It installs the compatible classroom-local CLI alias and keeps the existing MCP server id and state paths. The older classroom-local npm package was unpublished on 2026-11-26. The npm tarball is CLI-only: it does not include docs/, src/, the Codex plugin or the Classroom skill; the teacher ZIP includes the plugin and skill.
On macOS, classroom-mcp service install and classroom-mcp service start run the daemon as a user LaunchAgent instead of a foreground terminal. Sign-in and MFA are always manual; state stays in the per-user Classroom directory.
The LaunchAgent records the absolute Node executable used for service install. Upgrading or replacing Node makes that path invalid. Stop and remove the service before changing Node, then reinstall and stage it with the new Node:
classroom-mcp service stop
classroom-mcp service uninstall
# replace or upgrade Node here
npm install -g classroom-mcp
classroom-mcp service install
classroom-mcp service startIf the old Node is already gone, reinstall the CLI with the new npm first, then run classroom-mcp service uninstall, service install and service start. Do not copy a Homebrew Node executable into the service; it depends on Homebrew dylibs. Source builds follow the host macOS architecture (arm64 or x86_64), but the npm tarball ships arm64 helpers and supports Apple Silicon only. On Intel macOS, use a source or teacher build for the host architecture; the packaged arm64 helpers are not compatible.
Related MCP server: Google Classroom MCP
What it does
Workflow | Behavior |
Teacher review | Prepares one selected student's work, teacher instructions and explicitly chosen files through |
Photos and PDFs | Preserves originals and renders PDF pages for visual inspection, including handwriting and formulas. |
Documents and presentations | Exports Google Docs/Slides to PDF; extracts text, notes and embedded media from DOCX/PPTX. Full Office layout needs an external renderer. |
Spreadsheets | Exports Google Sheets to XLSX with cells, formulas and cached values; nothing is recalculated. |
Code and websites | Reads source code and HTML without execution; website behavior is a separate browser task for the agent. |
Student preparation | Reads instructions, materials and weekly deadlines; prepares explicitly selected assignment files or a topic bundle. |
Writes | Attach/submit work, create basic assignments, save grades and return work with fresh-state checks, idempotency and readback. The calling client must obtain explicit human authorization; the daemon does not enforce an approval token. MCP assignment creation has no live acceptance yet. |
Unknown formats retain their downloaded originals and an incomplete extraction status. A successful download or complete:true preparation does not prove visual understanding, website behavior or grading quality. See the support matrix for exact limits.
Pilot status
On 2026-11-26 the packaged teacher MCP server completed the review path for one selected synthetic PDF in a sandbox course: bounded reads, prepare_review, a saved grade of 8/10 and return, with an independent readback. The 2026-11-24 matrix recorded 244 local tests, typecheck, plugin/setup checks, package privacy checks and one persisted service-backed grade for the same 571e0be7 build; those checks were not rerun on 2026-11-26. See the latest acceptance record and the detailed local/artifact matrix.
Not claimed: rubric-derived grading quality, formats or accounts beyond that one PDF, comment writes, MCP assignment creation, durable Google authentication, or production teaching. Historical receipts describe older builds.
Start with the teacher pilot
The prepared package targets Codex on macOS. Build it on the target architecture (Apple Silicon arm64 or Intel x64). Each teacher uses their own computer, Google account and dedicated Chrome profile. Chrome runs the private browser session; Python 3 is required for Office extraction. Node and the native helpers are included in a built package.
To build a transferable package from source:
npm ci --no-audit --no-fund
npm run build:teacherThe architecture-specific ZIP is written to build/ with the program, plugin and setup instructions. It excludes Google profiles, credentials and student work. Build on the target OS and architecture; macOS source builds need Xcode command-line tools. Follow the teacher installation guide to start the service, sign in personally and connect Codex.
An example first request:
Read the Classroom skill included in the teacher package. Review the selected student's work against the assignment instructions. Inspect relevant pages, images, spreadsheet formulas and website behavior. Propose feedback with source references and list anything unverified. Do not save a grade or return the work.
For student setup, existing installations, configuration and reversible updates, use the local guide. A source build does not update an already running service.
How it fits together
flowchart LR
A[Codex or another MCP client] --> B[Local stdio MCP adapter]
B --> C[Authenticated loopback service]
C --> D[Dedicated Chrome profile]
D --> E[Google Classroom and Drive]
C --> F[Private originals and evidence bundles]One installation exposes either 15 student tools or 14 teacher tools. The daemon enforces the same role boundary as tool discovery, and browser work is serialized. Preparation preserves source identity, ownership, observations, hashes and coverage. The agent reads local bundles and uses separate browser or document tools where required.
Development and verification
Use Node.js 24. The repository pins its executable dependencies and local Node runtime.
npm run typecheck
npm test
npm run test:pluginTests use synthetic accounts and work. Plugin checks run after relocation and exercise both roles through the official MCP SDK. Linux CI also runs cloud-session regressions, Python and shell checks, and controlled preparation/workflow/resource benchmarks. See contributing for the full commands.
A green build proves the recorded contracts, not Google access or assessment quality. Live classroom actions require separate authorization and readback.
Privacy and operational boundaries
Google sign-in and MFA are manual. Do not share browser profiles, cookies, tokens or account bindings.
The service listens on loopback. Keep each account's state private and use separate computers or OS accounts.
Classroom content is untrusted data and cannot authorize tool calls or external writes.
By default, files and browser state stay on the local machine. The repository also contains an optional, paused operator-only cloud path that can transfer Google session cookies to a retained VM; it is disabled unless
CLASSROOM_ENABLE_CLOUD=1is set, is not part of local setup, and needs separate security and Google-policy review. Content read by an agent can be sent to its model provider under that agent's account settings.Write tools are intended for explicit human authorization. Approval is client-managed and is not enforced by a daemon approval token; fresh-state, idempotency and readback checks are enforced.
Cloud hosting is paused in the current source, and CI has no deployment job. Retained infrastructure requires separate operational decisions.
Repository map
Path | Purpose |
REST/MCP service, browser adapters, preparation and colocated tests | |
Bounded PDF, image and Office extraction | |
Codex plugin, agent skill and teacher launcher | |
Builds, package verification and controlled benchmarks | |
Current guides, evidence, roadmap and indexed history | |
Retained cloud tooling and paused operational runbooks |
Generated bundles, native binaries, local output and private configuration are excluded from Git. The source repository is licensed under the GNU Affero General Public License version 3 only (SPDX-License-Identifier: AGPL-3.0-only), copyright 2026 inevitabledawn; the full text is in LICENSE. The published classroom-mcp@0.5.2 npm tarball remains UNLICENSED because it predates this change; 0.5.3 and later releases carry AGPL-3.0-only. See SECURITY.md for the local threat boundary and reporting limitations.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Let your AI agent operate any website through a real, logged-in browser session.
Let AI agents use your real, signed-in Chrome: tabs, clicks, forms, screenshots and video.
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to directly operate Google Classroom, including checking submissions, listing students, and creating assignments and announcements, with self-hosted deployment for data privacy.-
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to read Google Classroom data—including coursework, submissions, announcements, and Drive attachments—through a remote, OAuth-protected MCP server with interactive Google sign-in.-
- FlicenseAqualityCmaintenanceEnables Claude to read and write Google Classroom data, including courses, coursework, materials, announcements, rosters, submissions, and Drive attachment contents.15-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Google Classroom to check submission statuses, list students and assignments, and create coursework, announcements, and topics through natural language.-