Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLASSROOM_MCP_HOMENoWhere the profile and cache live. The default is ~/.config/classroom-mcp on macOS/Linux and %LOCALAPPDATA%\classroom-mcp on Windows.~/.config/classroom-mcp
CLASSROOM_MCP_ACCOUNTNoWhich signed-in Google account to use (the N in classroom.google.com/u/N/).0
CLASSROOM_MCP_BROWSERNoPath to a specific Chrome / Edge / Brave executable.auto
CLASSROOM_MCP_READ_ONLYNoSet to 1 to remove the turn-in / unsubmit tools.off
CLASSROOM_MCP_IDLE_SECONDSNoClose the background browser after this much idle time.120
CLASSROOM_MCP_SHOW_BROWSERNoSet to 1 to show the browser window while it works (handy for debugging).off
CLASSROOM_MCP_MAX_DOWNLOAD_MBNoLargest attachment read_attachment will download.100

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Google Classroom for the signed-in student, read through their own browser on this computer. Start with list_courses or list_todo. Every item comes with a link; pass it to get_assignment for the full instructions, attachments and the student's own submission state, and pass attachment links to read_attachment to read the files. If a structured tool returns something odd, read_page gives the raw text of any Classroom page. Turning in work is two steps: prepare_submission, then confirm_submission. Never call confirm_submission unless the user has explicitly said yes to the summary prepare_submission returned.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
statusA

Check that classroom-mcp is signed in, and which Google account and browser it uses.

list_coursesB

List your Google Classroom classes (name, section, teacher, course_id, link).

list_todoA

Your Classroom to-do list across all classes.

status: "assigned" (not turned in yet), "missing" (past due, not turned in) or "done". Each item has its course, due/posted date and a link for get_assignment.

list_postsA

Latest posts on a class's Stream: announcements (full text and attachments) and notices of new assignments and materials, newest first. course_id comes from list_courses (a class link works too).

recent_activityA

What was posted in all your classes in the last days days (announcements, new assignments, new materials), grouped by class. Slower: it opens each class's Stream.

list_classworkB

Everything on a class's Classwork page (assignments, questions, materials) grouped by topic, with due dates and links.

my_gradesA

Your status and grade for every item in one class (Classroom's 'View your work' page).

get_assignmentA

Full details of one assignment, question or material: instructions, points, due date, the teacher's attachments, and your own work (state, attached files, what you can do next). link: the item's https://classroom.google.com/... link from another tool.

read_attachmentA

Read a file attached in Classroom: pass its Google Drive / Docs / Slides / Sheets link (or file id). Docs and Slides come back as text, Sheets as CSV. Uploaded files (PDF, Word, PowerPoint, code, zip, ...) are saved under classroom-mcp's private cache folder and their local path is returned; .docx, .pptx and text files also come back as text (PDFs too if pypdf is installed).

read_pageA

Raw text and links of any classroom.google.com page. A fallback for anything the other tools miss.

prepare_submissionA

Step 1 of 2 for turning in or unsubmitting work. Submits nothing.

action: "turn_in" or "unsubmit". assignment_link: the assignment's classroom.google.com link. file_paths: for turn_in, absolute paths of local files to attach (optional; with none it is "Mark as done"). They are uploaded and attached as a draft. Returns a summary, a screenshot path and a token. Show the summary to the user and ask them to confirm before calling confirm_submission.

confirm_submissionA

Step 2 of 2: actually press Turn in (or Unsubmit). Only call this after the user has explicitly agreed to the summary from prepare_submission, using its token. Tokens expire after 15 minutes.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 12 tools

Disambiguation4/5

Most tools target a clearly distinct resource (courses, todo, classwork, grades, attachments, assignment details, auth status), and the two-step prepare_submission/confirm_submission is explicitly delineated. The main overlap is list_posts vs recent_activity (per-class stream vs cross-class recent stream) and to some degree list_todo vs my_grades, though the descriptions clarify these.

Naming Consistency4/5

Nearly all names follow a snake_case verb_noun pattern (list_courses, list_todo, read_attachment, get_assignment, prepare_submission). A few break the pattern with noun-only names (my_grades, status, recent_activity), but conventions remain consistent and readable.

Tool Count5/5

Twelve tools is well within the sweet spot and each tool maps to a distinct user-facing task in a student's Classroom workflow. Nothing feels redundant or padded.

Completeness4/5

The surface covers discovery (courses, posts, classwork, todo, activity), inspection (assignment details, attachments, grades), and submission with a confirm step, plus a read_page fallback for dead ends. Minor gaps remain around write actions like commenting/posting or answering questions, but core lifecycles are covered.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues