---
title: "Google Docs MCP server for AI agents - actionlake"
description: "Give Claude 51 Google Docs actions through one MCP server: documents, text, tables, content. Your agent never holds the credential. 100,000 calls a month free."
canonical: https://actionlake.com/connectors/google-docs
updated: 2026-09-22
---

Connectors · Files & documents

# Google Docs MCP server for AI agents.

actionlake is an MCP gateway: one remote MCP server that connects Claude and other MCP clients to Google Docs and the rest of your systems. It gives your agent 51 Google Docs actions (1 read, 40 writes and 10 that wait for a confirmation) and holds the Google Docs credential itself, so the agent never does. It paces Google Docs's limits and records every call. Connecting Google Docs needs your own Google Docs OAuth app and one admin sign-in.

[Connect Google Docs free](https://actionlake.com/console?start=sandbox) [See pricing](https://actionlake.com/pricing)

100,000 free calls a month. No card, no email, no password: press Start a free sandbox on the next screen and keep the key it shows you.

`claude mcp add --transport http actionlake https://connect.actionlake.com/mcp`

the first call

```
do {
  action: "gws_docs.documents.get",
  intent: "check which Google Docs account is connected"
}
# Get a document · read · 1 upstream call
```

- 51 actions in one signed file
- 1 read look, never change
- 40 write create and update
- 10 wait for a yes destructive, confirmed first

Set up

## Connect Google Docs in three steps.

1. 01
   ### Add actionlake to Claude.
   Run the command once in Claude Code; its consent page can create a free sandbox: 100,000 calls a month, no card. In the Claude app, add a custom connector with the URL below and paste your key on the consent page. Creating a new sandbox from the Claude app is not yet tested by us.
   `https://connect.actionlake.com/mcp`
2. 02
   ### Connect Google Docs.
   OAuth 2.0, authorization code with PKCE. You register your own OAuth app with Google Docs, an admin signs in once, and you paste the app's client id and secret and the tokens from that sign-in; actionlake renews the access token from then on. actionlake stores what you paste write-only, sealed under your tenant's key.
   Before the first sign-in, Google Docs needs an OAuth app of your own, registered in its developer portal. actionlake has no Google Docs app to lend you.
   - `access_token` Access token from one sign-in with your own OAuth app
   - `refresh_token` Refresh token from the same sign-in; the access token is renewed from it
   - `client_id` Google OAuth client id
   - `client_secret` Google OAuth client secret
   ```
   account { op: "connections.requirements", service: "gws_docs" }
   # free: exactly what to paste, and what is found for you
   ```
3. 03
   ### Make the first call. Check before a write.
   Ask in plain words; Claude picks the action. Before anything changes, `check` validates the call and prices it, for free.
   ```
   do    { action: "gws_docs.documents.get" }
   # get a document · read · 1 upstream call
   check { action: "gws_docs.documents.create", input: { … } }
   # free: inputs, permissions, cost and confirmations, nothing sent
   ```

Google Docs at a glance

**Sign-in**

OAuth 2.0, authorization code with PKCE. You register your own OAuth app with Google Docs, an admin signs in once, and you paste the app's client id and secret and the tokens from that sign-in; actionlake renews the access token from then on.

**You provide**

`access_token` `refresh_token` `client_id` `client_secret`

**Limits we pace to**

60 calls a minute, per connection

**API covered**

Google Docs API v1`docs.googleapis.com/v1`

**Built from**

Google Docs's documentation, read 17 September 2026[docs.googleapis.com](https://docs.googleapis.com/$discovery/rest?version=v1) [developers.google.com](https://developers.google.com/workspace/docs/api/reference/rest)

**Service file**

Version 1.0.0, signed (Ed25519)

**Cached reads**

1 of 1 reads, for up to an hour; a write clears what it affects

**Ready-made plans**

6 in the store

**Shared entities**

1, so ask can line Google Docs up with your other systems

**Data**

Processed and stored in Sydney, Australia. No US region yet

Capabilities

## What an AI agent can do in Google Docs.

51 actions in 1 area. Every one carries its effect, so a key can allow the reads and hold the rest.

- **1** read look, never change
- **40** write create and update
- **10** destructive wait for a confirmation

1. ### Documents
   51
   1 read · 40 write · 10 destructive
   Get a document · Create a document · Batch-update a document (raw requests) · Append text to the end of a segment

Top actions

## The Google Docs API, shaped for agents.

The ids your agent types, what each does, and the one name it shares with other systems. 9 of Google Docs's 17 action names are shared with at least one other connector, so an agent learns them once.

| Action | What it does | Effect | Same name in |
| --- | --- | --- | --- |
| `gws_docs.documents.create` Create a document | Create a new, empty Google document with the given title. | write | `content.document.create` 29 connectors |
| `gws_docs.text.append` Append text to the end of a segment | Append text at the end of the document body, or of a header, footer or footnote. | write | `content.document_section.create` 4 connectors |
| `gws_docs.text.insert` Insert text | Insert text at a given index in the document. | write | `content.document_section.create` 4 connectors |
| `gws_docs.tables.insert` Insert a table | Insert an empty table of the given size at an index. | write | this connector |
| `gws_docs.content.delete_range` Delete a content range | Delete everything between two indices in a segment. | destructive | `content.document_section.delete` 4 connectors |
| `gws_docs.images.insert_inline` Insert an inline image | Insert an image from a public URL at an index in the document. | write | this connector |
| `gws_docs.dates.insert` Insert a date chip | Insert a smart date chip at an index in the document. | write | `content.document_element.create` 3 connectors |
| `gws_docs.people.insert` Insert a person mention | Insert a smart chip mentioning a person by email address. | write | `content.document_element.create` 3 connectors |
| `gws_docs.bullets.create` Create paragraph bullets | Turn the paragraphs overlapping a range into a bulleted or numbered list. | write | this connector |
| `gws_docs.text.update_style` Style a range of text | Set bold, italic, font, size, colour or link on a range of text. | write | this connector |
| `gws_docs.tables.append` Append a table to the end of a segment | Insert an empty table at the end of the document body, a header or a footer. | write | this connector |
| `gws_docs.table_rows.insert` Insert a table row | Insert an empty row above or below a reference cell. | write | this connector |

Try it

## Prompts to paste into Claude.

Each one names the Google Docs actions it will call, so you know what it reads and what it changes before you send it.

1. Read read
   Get a document in Google Docs and tell me what stands out.
   calls `gws_docs.documents.get`
2. Plan write
   Build a titled report doc with a header and a data table in Google Docs.
   calls `gws_docs.documents.create` `gws_docs.headers.create` `gws_docs.text.append` `gws_docs.paragraphs.update_style` `gws_docs.dates.insert` +3 more
3. Plan write
   Open a meeting notes doc with attendees and an agenda in Google Docs.
   calls `gws_docs.documents.create` `gws_docs.tabs.add` `gws_docs.text.append` `gws_docs.people.insert` `gws_docs.dates.insert` +1 more
4. Write write
   Create a document in Google Docs. Show me exactly what you will send before you save it.
   calls `gws_docs.documents.create`

The plan store

## Ready-made plans for Google Docs.

6 plans in the store. Install one and your agent runs it by name; the reply says which connections are still missing. A schedule can run a plan on a timetable. There are no triggers or webhooks, by design.

1. ### Create a doc from a template and fill its placeholders
   Use it when An agent needs a fresh Google Doc built from boilerplate text with per-customer or per-deal values merged in.
   **Effect**
   write
   **Steps**
   4 · loops
   **Needs**
   title, template text and replacements
   **Install**
   `gws_docs-new-doc-from-template`
2. ### Rebrand a document's wording, logo and page style
   Use it when A company name, product name, logo or brand font changed and an existing document must be brought in line.
   **Effect**
   write
   **Steps**
   6 · loops
   **Needs**
   document id and terms
   **Install**
   `gws_docs-rebrand-document`
3. ### Open a meeting notes doc with attendees and an agenda
   Use it when Before a meeting, someone wants a notes document prepared with the date, the attendee list and the agenda already laid out.
   **Effect**
   write
   **Steps**
   7 · loops
   **Needs**
   title, attendees and agenda text
   **Install**
   `gws_docs-meeting-notes-doc`
4. ### Build a titled report doc with a header and a data table
   Use it when Someone asks for a report or summary document laid out with a heading, a date line and a data table.
   **Effect**
   write
   **Steps**
   8
   **Needs**
   title, heading, rows and columns
   **Install**
   `gws_docs-report-with-table`
5. ### Redact named ranges from a document after sign-off
   Use it when Sensitive passages marked by named ranges must be blanked out of a document before it is shared, and a person must sign off first.
   A person decides Redact the named ranges _range names, ', '_ in document _title_ and then delete those ranges permanently.
   **Effect**
   destructive
   **Steps**
   5 · loops
   **Needs**
   document id and range names
   **Install**
   `gws_docs-redact-and-purge-ranges`
6. ### Strip obsolete tabs and footers from a document after sign-off
   Use it when An old document is being archived and its draft tabs and footer must be removed, with a person signing off on the deletion first.
   A person decides Permanently delete _tab count_ tab(s) and the footer from document _title_. This cannot be undone.
   **Effect**
   destructive
   **Steps**
   7 · loops
   **Needs**
   document id and tab ids
   **Install**
   `gws_docs-archive-doc-tabs`

install a plan

```
account { op: "plans.install", slug: "gws_docs-new-doc-from-template" }
# then ask for it by name; a schedule can run it on a timetable
```

Governance for Google Docs

## Destructive actions wait for a yes.

10 Google Docs actions are destructive. These are all of them:

- Delete a content range `gws_docs.content.delete_range`
- Delete a document tab `gws_docs.tabs.delete`
- Delete a footer `gws_docs.footers.delete`
- Delete a header `gws_docs.headers.delete`
- Delete a named range by id `gws_docs.named_ranges.delete`
- Delete named ranges by name `gws_docs.named_ranges.delete_by_name`
- Delete a positioned object `gws_docs.positioned_objects.delete`
- Delete paragraph bullets `gws_docs.bullets.delete`
- Delete a table row `gws_docs.table_rows.delete`
- Delete a table column `gws_docs.table_columns.delete`

A destructive action runs only with `confirm: true`. Under the `human` policy the agent cannot confirm for itself: the run stops until a named person approves, in the console or from a signed link in an email. The cap on a key is refused before the call is sent, never after.

do gws_docs.content.delete_range confirm_policy: **human**

Delete a content range?

**intent:** the user asked me to delete a content range

run suspended · waiting for a named person · key _gws-docs-agent_ cannot confirm itself

In the console, or from an emailed signed link.

a key for this connector

```
account {
  op: "keys.create", name: "gws-docs-agent",
  allowed_actions: ["gws_docs.*"], cap_calls: 2000,
  confirm_policy: "human_for_writes",
  approval_rules: [
    { match: "gws_docs.content.delete_range", approver: "lead@example.com" },
    { match: "gws_docs.tabs.delete", approver: "lead@example.com" },
    { match: "gws_docs.footers.delete", approver: "lead@example.com" }
  ]
}
```

Illustrative. Scoped to Google Docs only, capped at 2,000 upstream calls, every write confirmed, and the destructive ones approved by a named person.

Cost

## What Google Docs costs on actionlake.

Every Google Docs action is one upstream call, the only thing actionlake bills. Searching, `check`, `cost`, `account` and any call Google Docs refused with 401, 403, 429 or a 5xx are free. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

- 1 upstream call per action all 51 Google Docs actions
- 51 actions page each page of a long list is one call
- 1 reads can be cached a cache hit costs nothing
- 100,000 calls a month, free paid plans from US$49 a month for 250,000

[See pricing](https://actionlake.com/pricing)

Action index

## Every Google Docs action.

51 actions by area: the id your agent calls, what it does, and its effect.

**Documents 51**

- `gws_docs.bullets.create` Create paragraph bullets write
- `gws_docs.bullets.delete` Delete paragraph bullets destructive
- `gws_docs.content.delete_range` Delete a content range destructive
- `gws_docs.dates.insert` Insert a date chip write
- `gws_docs.document.update_style` Update the document style write
- `gws_docs.documents.batch_update` Batch-update a document (raw requests) write
- `gws_docs.documents.create` Create a document write
- `gws_docs.documents.get` Get a document read
- `gws_docs.footers.create` Create a footer write
- `gws_docs.footers.delete` Delete a footer destructive
- `gws_docs.footnotes.create` Create a footnote write
- `gws_docs.headers.create` Create a header write
- `gws_docs.headers.delete` Delete a header destructive
- `gws_docs.images.append_inline` Append an inline image to the end of a segment write
- `gws_docs.images.insert_inline` Insert an inline image write
- `gws_docs.images.replace` Replace an image write
- `gws_docs.named_ranges.create` Create a named range write
- `gws_docs.named_ranges.delete` Delete a named range by id destructive
- `gws_docs.named_ranges.delete_by_name` Delete named ranges by name destructive
- `gws_docs.named_ranges.replace_content` Replace a named range's content by name write
- `gws_docs.named_ranges.replace_content_by_id` Replace a named range's content by id write
- `gws_docs.named_styles.update` Update a named style write
- `gws_docs.page_breaks.append` Append a page break at the end of the body write
- `gws_docs.page_breaks.insert` Insert a page break write
- `gws_docs.paragraphs.update_style` Style paragraphs write
- `gws_docs.people.insert` Insert a person mention write
- `gws_docs.positioned_objects.delete` Delete a positioned object destructive
- `gws_docs.rich_links.insert` Insert a rich link chip write
- `gws_docs.sections.append_break` Append a section break at the end of the body write
- `gws_docs.sections.insert_break` Insert a section break write
- `gws_docs.sections.update_style` Update a section style write
- `gws_docs.table_cells.merge` Merge table cells write
- `gws_docs.table_cells.unmerge` Unmerge table cells write
- `gws_docs.table_cells.update_style` Style table cells write
- `gws_docs.table_cells.update_style_all` Style every cell in a table write
- `gws_docs.table_columns.delete` Delete a table column destructive
- `gws_docs.table_columns.insert` Insert a table column write
- `gws_docs.table_columns.update_properties` Update table column properties write
- `gws_docs.table_rows.delete` Delete a table row destructive
- `gws_docs.table_rows.insert` Insert a table row write
- `gws_docs.table_rows.update_style` Update table row style write
- `gws_docs.tables.append` Append a table to the end of a segment write
- `gws_docs.tables.insert` Insert a table write
- `gws_docs.tables.pin_header_rows` Pin table header rows write
- `gws_docs.tabs.add` Add a document tab write
- `gws_docs.tabs.delete` Delete a document tab destructive
- `gws_docs.tabs.update_properties` Update document tab properties write
- `gws_docs.text.append` Append text to the end of a segment write
- `gws_docs.text.insert` Insert text write
- `gws_docs.text.replace_all` Find and replace text write
- `gws_docs.text.update_style` Style a range of text write

Questions

## The Google Docs MCP server, answered.

**Is there a Google Docs MCP server for Claude?**

Yes. actionlake is an MCP gateway: a remote MCP server that gives Claude, or another MCP client, 51 Google Docs actions, through the same eight tools it uses for every other connector. actionlake is independent; it is not made or endorsed by Google Docs.

**What do I need to connect Google Docs?**

Your own Google Docs OAuth app, registered with Google Docs (its client id and client secret), and the access and refresh tokens from one admin sign-in. actionlake has no Google Docs app of its own, so this is not a one-step consent. actionlake renews the access token as it expires. The free call account { op: "connections.requirements", service: "gws_docs" } lists exactly what to paste.

**Can an AI agent delete or change things in Google Docs?**

Only if its key allows it, and only with an explicit confirmation. 10 Google Docs actions are destructive, including delete a content range, delete a document tab and delete a footer. Each runs only with confirm: true. Under the human confirm policy, or an approval rule on the key, the run waits until a named person approves it.

**Will an AI agent use up my Google Docs API limit?**

actionlake paces every call to the limits in the Google Docs service file: 60 calls a minute per connection. Repeated reads are answered from cache (1 Google Docs actions can be), which never reaches Google Docs.

**What does a Google Docs action cost?**

One upstream call, the only unit actionlake bills. A list that pages bills one call per page (51 Google Docs actions page). Cache hits, searches, dry runs and calls Google Docs refused with 401, 403, 429 or a 5xx are free. The Free plan includes 100,000 calls a month with no card. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

**Which Google Docs API does it cover?**

The Google Docs API v1 at docs.googleapis.com/v1. It is built from Google Docs's documentation as read on 17 September 2026. 51 actions in 1 area, each one in the signed service file (version 1.0.0).

**Does actionlake keep my Google Docs data, and where?**

actionlake processes and stores data in Sydney, Australia; there is no US region yet. Reads may be cached for up to an hour, and a write clears the reads it affects. Each run's request and response is kept, sealed, for your plan's trace window: 1 day on Free, 3 days on Starter, 7 days on Pro, 14 days on Team, 30 days on Business and 30 days on Enterprise. Your Google Docs credential is sealed under your tenant's key, never logged and never returned. Your traffic is not used to train models.

**Which AI clients can use it?**

Claude Code, tested by us end to end, and the Claude app as a custom connector, tested by us with an existing key. Other MCP clients that support remote servers over Streamable HTTP (MCP revisions 2025-06-18 and 2025-11-25) and OAuth dynamic client registration, or a bearer header, should connect the same way; we have not tested them. Or plain REST, under the same action names.

## More connectors like Google Docs

Shares the most action names with

- [Coda 3](https://actionlake.com/connectors/coda)
- [DocuWare 3](https://actionlake.com/connectors/docuware)
- [Notion 3](https://actionlake.com/connectors/notion)
- [Dropbox 3](https://actionlake.com/connectors/dropbox)
- [Confluence 3](https://actionlake.com/connectors/confluence)
- [Filevine 2](https://actionlake.com/connectors/filevine)

Joins with, on shared entities

- [ScalePad 1](https://actionlake.com/connectors/scalepad)
- [Vanta 1](https://actionlake.com/connectors/vanta)
- [Clio Manage 1](https://actionlake.com/connectors/clio-manage)
- [NocoDB 1](https://actionlake.com/connectors/nocodb)
- [Basecamp 1](https://actionlake.com/connectors/basecamp)
- [Voiceflow 1](https://actionlake.com/connectors/voiceflow)

Browse

- [All Files & documents connectors](https://actionlake.com/connectors/category/files-and-documents)
- [All connectors](https://actionlake.com/connectors)
- [How actionlake compares](https://actionlake.com/compare)

actionlake is independent. It is not made or endorsed by Google Docs; the name is the vendor's own. Counts are from the Google Docs service file, version 1.0.0.

## Give your agent Google Docs today.

[Connect Google Docs free](https://actionlake.com/console?start=sandbox) [See pricing](https://actionlake.com/pricing)

Start free - 100,000 calls/month, no card. No signup. Hard caps on every key. Cached answers are free.

---

Source: https://actionlake.com/connectors/google-docs
More: https://actionlake.com/llms.txt
