How to integrate Google Drive MCP with Antigravity

Connect Antigravity to Google Drive MCP. Create a new folder named 'invoices', share last uploaded file with your team, and more using natural language, with authentication handled for you.

Google Drive logoGoogle Drive
Oauth2

Google Drive is a cloud storage platform for uploading, sharing, and collaborating on files. It's perfect for keeping your documents accessible and organized across devices.

92 Tools7 Triggers

How to integrate Google Drive 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 Drive account to Antigravity IDE via Composio Connect, so it can create a new folder named 'Invoices', share last uploaded file with your team, add comment to project proposal document, and more without ever putting your account credentials at risk.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Google Drive with

Why use Composio?

Composio provides:

  • Access to 1,800+ 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 Drive 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 Drive account

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

For example, ask it to:

  • "Create a new folder named 'Invoices'"
  • "Share last uploaded file with your team"
  • "Add comment to project proposal document"

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

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

Conclusion

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

TOOLS & TRIGGERS

Supported Tools and Triggers

Every Google Drive action and event your agent gets out of the box.

Insert File Parent (v2)

Tool to add a parent folder for a file using Google Drive API v2.

Insert Property (v2 API)

Tool to add a property to a file, or update it if it already exists (v2 API).

Batch Get Spreadsheet Values

Read multiple explicit ranges from one Google Spreadsheet in one request.

Batch Update Spreadsheet Values

Write values to multiple Google Sheets ranges in one batch request.

Clear Spreadsheet Values

Permanently clear values from one range while preserving formatting, notes, and validation.

Copy file with advanced options

Creates a copy of a file and applies any requested updates with patch semantics.

Create Comment

Tool to create a comment on a file in Google Drive.

Create Shared Drive

Creates a Google shared drive for collaboration or storage.

Create File or Folder

Creates a new file or folder in Google Drive.

Create a File from Text

Creates a Google Drive file from text, with support for Google Workspace formats and an optional parent folder.

Create a folder

Creates a Google Drive folder, optionally inside an existing parent specified by ID or exact name.

Create Permission

Tool to create a permission for a file or shared drive.

Create Permissions Batch

Creates multiple permissions for files or shared drives in a single batch request.

Create Reply

Create a plain-text reply to a comment on a Google Drive file, optionally resolving or reopening the parent comment.

Create Shortcut to File/Folder

Tool to create a shortcut to a file or folder in Google Drive.

Delete Child (v2)

Tool to remove a child from a folder using Google Drive API v2.

Delete Comment

Permanently deletes a comment thread (and all its replies) from a Google Drive file — this action is irreversible.

Delete Shared Drive

Tool to permanently delete a shared drive.

Delete Parent (v2)

Tool to remove a parent from a file using Google Drive API v2.

Delete Permission

Deletes a specified permission from a file or shared drive by permission ID; deleting other permissions does not remove an existing public-access permission.

Delete Property (v2 API)

Delete a custom property from a Google Drive file using API v2.

Delete Reply

Tool to delete a specific reply by reply ID.

Delete Revision

Tool to permanently delete a file revision.

Download a file from Google Drive

Downloads a Drive file's content and returns it in `downloaded_file_content`.

Download file via operation

Starts a long-running operation to download a Drive file, including Google Vids files, or export supported Google Workspace documents.

Download File Revision

Download the stored bytes of one blob-file revision.

Edit File

Replaces the entire content of an existing Google Drive binary file with UTF-8 text while retaining its file ID.

Empty Trash

Tool to permanently and irreversibly delete ALL trashed files in the user's Google Drive or a specified shared drive.

Export Google Workspace file

Exports a Google Workspace document to the requested MIME type and returns exported file content.

Find file

The comprehensive Google Drive search tool that handles all file and folder discovery needs.

Find folder

Finds one page of Google Drive folders by name and optional parent.

Generate File IDs

Generates a set of file IDs which can be provided in create or copy requests.

Get about

Tool to retrieve information about the user, the user's Drive, and system capabilities.

Get App

Tool to get information about a specific Drive app by ID.

Get Changes Start Page Token

Tool to get the starting pageToken for listing future changes in Google Drive.

Get Child Reference (v2)

Tool to get a specific child reference for a folder using Drive API v2.

Get Comment

Tool to get a comment by ID.

Get Document

Retrieve a native Google Docs document's structured content and metadata by ID.

Get Shared Drive

Tool to get a shared drive by ID.

Get File Metadata

Gets a Drive file's metadata by ID, optionally returning only the metadata selected by `fields`.

Get Property (v2)

Tool to get a property by its key using Google Drive API v2.

Get Google Form

Retrieve a Google Form's definition, questions, settings, and publishing state by ID.

Get Parent Reference (v2)

Tool to get a specific parent reference for a file using Drive API v2.

Get Permission

Gets a permission by ID.

Get Permission ID for Email

Tool to get the permission ID for an email address using the Drive API v2.

Get Google Slides Presentation

Retrieves a Google Slides presentation by ID, including its page structures.

Get Presentation Page Thumbnail

Generate one short-lived page thumbnail URL using an expensive Slides quota read.

Get Reply

Tool to get a specific reply to a comment on a file.

Get Revision

Tool to get a specific revision's metadata (name, modifiedTime, keepForever, etc.) by revision ID.

Get Spreadsheet

Retrieve a Google Spreadsheet's structure, metadata, and selected grid data.

Get Spreadsheet Values

Read values from one range in a Google Spreadsheet.

Delete folder or file

Tool to delete a file or folder in Google Drive.

Hide Shared Drive

Tool to hide a shared drive from the default view.

Insert Child Into Folder (v2)

Tool to insert a file into a folder using Drive API v2.

List Access Proposals

Tool to list pending access proposals on a file.

List Approvals

Lists a page of approvals associated with a Google Drive file, with pagination for browsing subsequent pages.

List Changes

Lists a page of changes for a user or shared drive; without a page token, it obtains a current start token and lists subsequent changes rather than earlier activity.

List Folder Children (v2)

Lists a page of child references for a folder using Google Drive API v2.

List Comments

Lists comments on a Google Drive file, with pagination, an option to include deleted comments, and a minimum modification-time filter.

List File Labels

Lists labels applied to a Google Drive file, including label IDs and applied field IDs.

List Properties (v2 API)

Tool to list a file's properties in Google Drive API v2.

List Google Form Responses

Return one page of submissions for a Google Form.

List Label Definitions

Lists available Google Drive labels, returning each label's ID and display name without requiring a file ID.

List Permissions

Lists a page of permissions for a file or shared drive.

List Replies to Comment

List a page of replies to a specific comment on a Google Drive file.

List File Revisions

Tool to list a file's revision metadata (not content) in Google Drive.

List Shared Drives

Tool to list the user's shared drives.

Modify File Labels

Modifies the set of labels applied to a file.

Move File

Moves a file to another Google Drive folder.

Patch Permission

Tool to update a permission using patch semantics.

Patch Property (v2 API)

Tool to update a property on a file using PATCH semantics (v2 API).

Read Spreadsheet Values

Read values from one or more ranges in a Google spreadsheet.

Resumable Upload

Upload a file to Google Drive using a resumable session, creating a new file or updating an existing file by ID.

Stop Watch Channel

Tool to stop watching resources through a specified channel.

Trash File

Tool to move a file or folder to trash (soft delete).

Unhide Shared Drive

Tool to unhide a shared drive.

Untrash File

Restore a file from Google Drive trash.

Update Comment

Tool to update an existing comment on a Google Drive file.

Update Shared Drive

Tool to update the metadata for a shared drive.

Update File Metadata (PATCH v2)

Tool to update file metadata using the Drive API v2 PATCH method.

Update Property (v2 API)

Tool to update a property on a file using Google Drive API v2.

Update File (Metadata)

Updates file metadata.

Update File Revision Metadata

Updates ONLY the metadata properties of a specific file revision (keepForever, published, publishAuto, publishedOutsideDomain).

Update Permission

Tool to update a permission with patch semantics.

Update Reply

Tool to update a reply to a comment on a Google Drive file.

Update Spreadsheet Values

Write values to one exact Google Sheets range.

Upload File

Upload a new file to Google Drive, optionally placing it in a specified folder.

Upload File from URL to Drive

Tool to fetch a file from a provided URL server-side and upload it into Google Drive.

Upload/Update File Content

Tool to update file content in Google Drive by uploading new binary content.

Watch Drive Changes

Subscribe to Google Drive changes for a user or shared drive and receive notifications at a webhook URL.

Watch File for Changes

Tool to subscribe to push notifications for changes to a specific file.

Write Spreadsheet Values

Replace values in one range of a Google spreadsheet.

FAQ

Frequently asked questions

Start with Google Drive.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Google Drive tool your agent needs.Free to start.

Start building