How to integrate Google Classroom MCP with Antigravity

Trusted by
AWS
Glean
Zoom
Airtable

30 min · no commitment · see it on your stack

Google Classroom logo
Antigravity logo
divider

How to integrate Google Classroom MCP with Antigravity

Antigravity IDE is Google's agentic IDE, built on a VS Code-style editor and powered by models like Gemini 3.5 Flash, Gemini 3.1 Pro, Opus 4.6, and more. It treats the AI agent as a first-class teammate, planning, coding, and validating work through an Agent Manager dashboard with deep browser connectivity.

In this guide, I will explain the easiest and most secure way to connect your Google Classroom account to Antigravity IDE via Composio Connect, so it can list all active courses for this teacher, create a new announcement in math class, get details for course ID 12345, and more without ever putting your account credentials at risk.

Also integrate Google Classroom with

Why use Composio?

Composio provides:

  • Access to 1,000+ managed apps from a single MCP endpoint. This makes it convenient for agents to run cross-app workflows.
  • Programmatic tool calling. Allows LLMs to write code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
  • Large tool response handling outside the LLM context. This minimizes context bloat from large tool responses.
  • Dynamic just-in-time access to thousands of tools across hundreds of apps. Composio loads the tools your agent needs, so LLMs are not overwhelmed by tools they do not need.

Connect Google Classroom to Antigravity

Antigravity does not ship with one-click custom MCP install links yet, so configuration goes through the IDE's raw config file. The process takes under a minute.

1. Open the MCP Config

Go to Antigravity Settings, open the Customizations tab, then click Open MCP Config to open mcp_config.json in the editor.

Antigravity Customizations settings with Open MCP Config button

2. Get your API key

Go to the Composio Dashboard and copy your API key.

Composio Dashboard showing where to get the API key

3. Add Composio to mcp_config.json

Paste the following configuration into the file:

bash
{
  "mcpServers": {
    "remote-composio": {
      "serverUrl": "https://connect.composio.dev/mcp",
      "headers": {
        "x-consumer-api-key": "your-composio-api-key"
      }
    }
  }
}

Note: Antigravity uses serverUrl, not url, for remote HTTP-based MCP servers. This differs from the url key used in Cursor and VS Code configs.

Save the file and click refresh in the Installed MCP Servers section.

Antigravity showing Composio tools after MCP setup

Connect your Google Classroom account

Back in the Antigravity agent panel, ask the agent to connect to Google Classroom or give it any Google Classroom-related task.

For example, ask it to:

  • "List all active courses for this teacher"
  • "Create a new announcement in math class"
  • "Get details for course ID 12345"

It will prompt you to authenticate and authorize access to Google Classroom.

That is it. Composio tools are now available in Antigravity, and your Google Classroom account is ready to use.

Supported Tools & Triggers

Tools
Create Course AliasTool to create an alias for a course.
Delete Course AliasTool to delete an alias of a course.
List Course AliasesTool to list aliases for a course.
Create AnnouncementTool to create an announcement in a course.
Delete AnnouncementTool to delete an announcement.
Get AnnouncementTool to get an announcement.
Get Add-on Context for AnnouncementTool to get metadata for Classroom add-ons in the context of a specific announcement post.
List AnnouncementsTool to list announcements in a course.
Modify Announcement AssigneesTool to modify assignee mode and options of an announcement.
Patch AnnouncementTool to update fields of an announcement.
Delete Add-on AttachmentTool to delete an add-on attachment from a course announcement.
Get Add-on AttachmentTool to get an add-on attachment from an announcement.
List Add-on AttachmentsTool to list all add-on attachments created under an announcement.
Delete Add-on AttachmentTool to delete an add-on attachment from course work.
Get Add-on Context for Course WorkTool to get metadata for Classroom add-ons in the context of a specific course work.
List Add-on Attachments on Course Work MaterialTool to list all add-on attachments under a course work material post.
Delete Course Work MaterialTool to delete a course work material.
Modify CourseWork AssigneesTool to modify assignee mode and options of coursework.
Patch Course WorkTool to update one or more fields of a course work.
List Course Work RubricsTool to list rubrics for a specific coursework.
Create CourseTool to create a new course.
Delete CourseTool to delete a course.
Get CourseTool to get details for a specific course.
Get Grading Period SettingsTool to retrieve grading period settings for a course.
List CoursesTool to list all courses accessible to the authenticated user.
Patch CourseTool to update one or more fields of a Classroom course.
List Post Add-on AttachmentsTool to list all add-on attachments created under a post.
Get Add-on Context for PostTool to get metadata for Classroom add-ons in the context of a specific post.
Add Student to CourseTool to add a student to a course.
Delete Course StudentTool to delete a student from a course.
Get Course StudentTool to retrieve a specific student of a course.
List Student GuardiansTool to list guardians of a student in a course.
List Course StudentsTool to list students in a course.
Delete Course TeacherTool to delete a teacher from a course.
Get TeacherTool to get teacher enrollment.
List Course TeachersTool to list teachers in a course.
Create Course TopicTool to create a course topic.
Delete Course TopicTool to delete a course topic.
Get Course TopicTool to get a course topic.
List Course TopicsTool to list topics in a course.
Patch Course TopicTool to update fields of a course topic.
Update CourseTool to update a course.
Patch Course Work MaterialTool to update fields of a course work material.
Create CourseWorkTool to create a CourseWork item in a course.
Delete CourseWorkTool to delete a specific CourseWork.
Get CourseWorkTool to get details of a specific coursework.
List CourseWorkTool to list coursework in a course.
Create Course Work MaterialTool to create course work material.
Get Coursework MaterialTool to get a coursework material.
List CourseWorkMaterialsTool to list course work materials in a course.
List Student SubmissionsTool to list student submissions for a specific coursework.
Reclaim Student SubmissionTool to reclaim a student submission for editing.
Get CourseWork Add-on AttachmentTool to get an add-on attachment from course work.
Get Add-on Context for Course Work MaterialTool to get metadata for Classroom add-ons in the context of a specific course work material.
Create InvitationTool to create an invitation for a user to a course.
Delete InvitationTool to delete an invitation.
Get InvitationTool to retrieve an invitation by its identifier.
List InvitationsTool to list invitations that the requesting user is permitted to view.
List Course Student GroupsTool to list student groups in a course.
List CourseWork Add-on AttachmentsTool to list all add-on attachments created by an add-on under a course work.
Create RegistrationTool to create a registration for push notifications from Google Classroom.
Get User ProfileTool to retrieve a user profile by user ID.

Conclusion

You have successfully connected Google Classroom to Antigravity using Composio Connect. Your agent can now use Google Classroom securely without exposing credentials in prompts or local scripts.

How to build Google Classroom MCP Agent with another framework

FAQ

What are the differences in Tool Router MCP and Google Classroom MCP?

With a standalone Google Classroom MCP server, the agents and LLMs can only access a fixed set of Google Classroom tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Google Classroom and many other apps based on the task at hand, all through a single MCP endpoint.

Can I use Tool Router MCP with Antigravity?

Yes, you can. Antigravity fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Google Classroom tools.

Can I manage the permissions and scopes for Google Classroom while using Tool Router?

Yes, absolutely. You can configure which Google Classroom scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Google Classroom data and credentials are handled as safely as possible.

Used by agents from

Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai
Context
Letta
glean
HubSpot
Agent.ai
Altera
DataStax
Entelligence
Rolai

Never worry about agent reliability

We handle tool reliability, observability, and security so you never have to second-guess an agent action.