How to connect Google Docs MCP with Cursor

Connect Cursor to Google Docs MCP. Create a new meeting notes document, copy last week's project summary template, and more using natural language, with authentication handled for you.

Google Docs logoGoogle Docs
Oauth2

Google Docs is a cloud-based word processor that enables document creation and real-time collaboration. Its seamless sharing and version history make team editing and content management a breeze.

46 Tools10 Triggers

How to integrate Google Docs MCP with Cursor

Cursor is one of the leading AI-powered code editors. It is built to help developers write, understand, and refactor code faster with AI assistance built directly into the editor.

And in this guide, I will explain the easiest and most secure way to connect your Google Docs account to Cursor via Composio Connect, so it can create a new meeting notes document, copy last week's project summary template, add bullet points to the action items section, 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 Docs with

Why Composio?

  • 1,800+ SaaS toolkits out of the box. Skip the work of building and maintaining integrations, Composio gives you instant access to a vast catalog of pre-built connectors.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand. A remote CLI workbench lets LLMs compose these tools into workflows for complex automation.

Connect Google Docs to Cursor

Two ways to install — pick whichever you prefer.

1. Install with one click

Click the button below to add Composio to Cursor.

↗Install in Cursor

2. Or add manually

Add to your Cursor mcp.json

Open .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for global config) and add the following configuration:

bash
{
  "servers": {
    "composio": {
      "type": "http",
      "url": "https://connect.composio.dev/mcp"
    }
  }
}

3. Authorize

Restart Cursor, then click "Connect" next to Composio in MCP Tools settings.

Cursor MCP Tools settings with Connect button next to Composio

A browser window will open to authorize.

Composio authorization browser window

Connect your Google Docs account

Back in Cursor, ask the agent to connect to Google Docs or give it any Google Docs-related task.

For example, ask it to:

  • "Create a new meeting notes document"
  • "Copy last week's project summary template"
  • "Add bullet points to the action items section"

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

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

Conclusion

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

TOOLS & TRIGGERS

Supported Tools and Triggers

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

Copy Google Document

Tool to create a copy of an existing Google Document.

Create and Populate Table in Google Doc

Creates a table in a Google Document and attempts to populate its cells with the provided text.

Create a document

Creates a new Google Docs document using the provided title as filename and inserts the initial text at the beginning if non-empty, returning the document's ID and metadata (excluding body content).

Create Document Markdown

Creates a new Google Docs document, optionally initializing it with a title and content provided as Markdown text.

Create Drive File

Create a metadata-only Google Drive file, folder, or shortcut.

Create Footer

Creates a footer in a Google document for the specified type and optional section.

Create Footnote

Tool to create a new footnote in a Google Document.

Create Header

Creates a header in a Google Document, optionally for a specified section, and can add text.

Create Named Range

Tool to create a new named range in a Google Document.

Create Paragraph Bullets

Tool to add bullets to paragraphs within a specified range in a Google Document.

Create Document Tab

Creates a new tab in a Google Docs document.

Delete Content Range in Document

Tool to delete a range of content from a Google Document.

Delete Footer

Tool to delete a footer from a Google Document.

Delete Header

Deletes a specified header by ID from a Google Document, optionally targeting a document tab.

Delete Named Range

Tool to delete a named range from a Google Document.

Delete Paragraph Bullets

Tool to remove bullets from paragraphs within a specified range in a Google Document.

Delete Tab

Deletes a tab from a Google Document.

Delete Table Column

Tool to delete a column from a table in a Google Document.

Delete Table Row

Tool to delete a row from a table in a Google Document.

Export Google Doc as PDF

Tool to export a Google Docs file as PDF using the Google Drive API.

Get Drive File Metadata

Get selected metadata fields for one Google Drive file by ID.

Get Spreadsheet Values

Read cell values from one range in a Google Sheets spreadsheet.

Get document by id

Retrieves an existing Google Document by its ID; will error if the document is not found.

Get Document End Index

Retrieves the end index and paragraph structure of a Google Document or specific segment.

Get document plain text

Retrieve a Google Doc by ID and return a best-effort plain-text rendering.

Insert Image in Table Cell

Inserts an image from a URI at a position in a Google Document table cell identified by table start index, row and column.

Insert Inline Image

Tool to insert an image from a given URI at a specified location in a Google Document as an inline image.

Insert Page Break

Tool to insert a page break into a Google Document.

Insert Table in Google Doc

Tool to insert a table into a Google Document.

Insert Table Column

Tool to insert a new column into a table in a Google Document.

Insert Table Row

Inserts a new row into a table in a Google Document at a specified location.

Insert Text into Document

Tool to insert a string of text at a specified location within a Google Document.

Insert Text in Table Cell

Insert text into a Google Docs table using the table's start index and zero-based row and column positions.

List Drive Item Permissions

List permissions for a Google Drive file, folder, or shared drive.

Get Charts from Spreadsheet

Tool to retrieve a list of all charts from a specified Google Sheets spreadsheet.

Replace All Text in Document

Replaces occurrences of text in a Google Document, either across the document or in selected tabs.

Replace Image in Document

Tool to replace a specific image in a document with a new image from a URI.

Search Documents

Search for Google Documents using various filters including name, content, date ranges, and more.

Unmerge Table Cells

Tool to unmerge previously merged cells in a table.

Update Document Markdown

Replaces the body content of a Google Docs tab with rendered Markdown; requires edit permissions.

Update Document Section Markdown

Insert or replace a section of a Google Docs document with rendered Markdown, using start and optional end indices, or append when no start index is provided.

Update Document Style

Tool to update the overall document style, such as page size, margins, and default text direction.

Update existing document

Applies a batch of edits to a specified Google Doc, such as inserting, deleting, or formatting text.

Update Table Row Style

Updates the style of selected rows in a Google Document table, including minimum row height and overflow prevention.

Update Tab Properties

Updates properties of a document tab such as title, parent tab, index, and icon emoji.

Upload Drive File

Upload a file of 5 MiB or less to Google Drive using multipart upload.

FAQ

Frequently asked questions

Start with Google Docs.It takes 30 seconds.

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

Start building