← All integrations

Google Classroom MCP server

104 operations0 webhooks

Manage Google Classroom courses, rosters, classwork, submissions, add-ons, guardian links, and notification registrations.

Try Google Classroom with your agent

Connect Google Classroom, then paste this into Claude, ChatGPT or Cursor. For ideas from other apps, see the use cases.

Using Corsair, show me what you can do in Google Classroom on my account, then run one read-only example and show me the result.

Runs once, when you ask

Google Classroom tools and triggers

Tools are what your agent can do in Google Classroom through Corsair's MCP server. Triggers are the Google Classroom events a routine can start from.

Courses

  • Aliases.CreateWrite

    Creates an alias for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to create the alias or for access errors. * `NOT_FOUND` if the course does not exist. * `ALREADY_EXISTS` if the alias already exists. * `FAILED_PRECONDITION` if the alias requested does not make sense for the requesting user or course (for example, if a user not in a domain attempts to access a domain-scoped alias).

    courses.aliases.create

  • Aliases.DeleteDestructive

    Deletes an alias of a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to remove the alias or for access errors. * `NOT_FOUND` if the alias does not exist. * `FAILED_PRECONDITION` if the alias requested does not make sense for the requesting user or course (for example, if a user not in a domain attempts to delete a domain-scoped alias).

    courses.aliases.delete

  • Aliases.ListRead-only

    Returns a list of aliases for a course. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the course or for access errors. * `NOT_FOUND` if the course does not exist.

    courses.aliases.list

  • Announcements.Add On Attachments.CreateWrite

    Creates an add-on attachment under a post. Requires the add-on to have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.

    courses.announcements.addOnAttachments.create

  • Announcements.Add On Attachments.DeleteDestructive

    Deletes an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.

    courses.announcements.addOnAttachments.delete

  • Announcements.Add On Attachments.GetRead-only

    Returns an add-on attachment. Requires the add-on requesting the attachment to be the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.

    courses.announcements.addOnAttachments.get

  • Announcements.Add On Attachments.ListRead-only

    Returns all attachments created by an add-on under the post. Requires the add-on to have active attachments on the post or have permission to create new attachments on the post. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.

    courses.announcements.addOnAttachments.list

  • Announcements.Add On Attachments.PatchWrite

    Updates an add-on attachment. Requires the add-on to have been the original creator of the attachment. This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.

    courses.announcements.addOnAttachments.patch

  • Announcements.CreateDestructive

    Creates an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course, create announcements in the requested course, share a Drive attachment, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course does not exist. * `FAILED_PRECONDITION` for the following request error: * AttachmentNotVisible

    courses.announcements.create

  • Announcements.DeleteDestructive

    Deletes an announcement. This request must be made by the Developer Console project of the [OAuth client ID](https://support.google.com/cloud/answer/6158849) used to create the corresponding announcement item. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting developer project did not create the corresponding announcement, if the requesting user is not permitted to delete the requested course or for access errors. * `FAILED_PRECONDITION` if the requested announcement has already been deleted. * `NOT_FOUND` if no course exists with the requested ID.

    courses.announcements.delete

  • Announcements.GetRead-only

    Returns an announcement. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to access the requested course or announcement, or for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if the requested course or announcement does not exist.

    courses.announcements.get

  • Announcements.Get Add On ContextRead-only

    Gets metadata for Classroom add-ons in the context of a specific post. To maintain the integrity of its own data and permissions model, an add-on should call this to validate query parameters and the requesting user's role whenever the add-on is opened in an [iframe](https://developers.google.com/workspace/classroom/add-ons/get-started/iframes/iframes-overview). This method returns the following error codes: * `PERMISSION_DENIED` for access errors. * `INVALID_ARGUMENT` if the request is malformed. * `NOT_FOUND` if one of the identified resources does not exist.

    courses.announcements.getAddOnContext

Connect Google Classroom to Claude, ChatGPT or Cursor

  1. 1

    Connect Google Classroom in Corsair

    Sign in to Google Classroom once in Corsair. Corsair stores the credential encrypted and makes the Google Classroom API calls for your agent, so it never goes into a prompt or a config file. Connect Google Classroom

    If your link lets the agent add apps, you can skip this: it gives you a sign-in link the first time it needs Google Classroom. On a ChatGPT personal plan, connect Google Classroom here first.

  2. 2

    Add Corsair's MCP server to your agent

    Every client uses the same address:

    https://mcp.corsair.dev/mcp
    Open Customize → Connectors → Add custom connector, paste the address, then select Connect.

    Codex, Gemini CLI, VS Code, Zed and other clients with OAuth sign-in work the same way. Clients without it, such as GitHub Copilot's coding agent, use a link's own address and an API key. Setup for every client

  3. 3

    Sign in and choose what needs your approval

    Your client opens Corsair to sign in. Pick a link: the apps your agent can use and a mode that decides what it may do without asking. In the default Cautious mode, Google Classroom's read and write operations run right away and its 35 destructive operations wait for your approval. Strict mode asks before every write and refuses destructive operations, and Read mode allows reads only.

FAQ

Install corsair and @corsair-dev/googleclassroom, add the Google Classroom plugin, and connect with OAuth. Then call methods like corsair.googleclassroom.api.courses.aliases.create() from your app. Corsair stores tokens, and keeps each tenant isolated.

Yes. Google Classroom needs an OAuth app with scopes that match what you automate. Register the app in Google Classroom, configure redirect URLs, then connect through Corsair or managed OAuth in Hub.

Yes. One Corsair client can hit Google Classroom, GitHub, Notion, Stripe, and the rest. Trigger Google Classroom from a webhook, push updates to Slack, or chain actions across plugins. Same tenant context across integrations, plain TypeScript.

Teams use Corsair for manage Google Classroom courses, rosters, classwork, submissions, add-ons, guardian links, and notification registrations. Common builds include sync jobs, admin tooling, and agents that call Google Classroom APIs from your backend.

The SDK is open source. Self-host and you pay Corsair nothing for the integration layer. Hub bills for hosted auth and execution, not per Google Classroom API call. Hub has a generous free tier. For hobby projects you can probably run the whole thing on free. Paid plans start to matter with more tenants or heavier traffic.

We maintain @corsair-dev/googleclassroom in the open repo. When Google Classroom ships API changes, upgrade the package. Your call sites stay typed. You should not need to rewrite the integration layer each time.

No. Corsair does not read your Google Classroom data or hold individual access credentials. Credentials stay in your database. API calls run on your instance. We do not store Google Classroom data on your behalf.

Yes. Add https://mcp.corsair.dev/mcp as a custom connector or MCP server in Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex or any client that supports remote MCP servers with OAuth sign-in, then sign in to Corsair. On ChatGPT personal plans, custom servers currently get read tools only.

Yes. Put Google Classroom on a link in Strict mode and every write waits for your approval, while destructive actions are refused. The default Cautious mode asks only before the 35 destructive Google Classroom operations. You can change a link's mode at hub.corsair.dev/me.