Skip to main content

Connect Google Docs

This guide explains how to use SU MCP Gateway to connect ChatGPT or Claude to Google Docs. Visit UIT's Google Drive page to learn more about Google Docs.

Capabilities, sign-in, and setup

TopicDetails
What you can doList your recent documents, summarize a document, create new documents with headings and text, and share them.
Sign-in methodGoogle sign-in with your Stanford Google account.
Connect promptUsing SU MCP Gateway, connect to my Google Docs.

What you need to know

If you haven't already done so, set up SU MCP Gateway first and then come back here to connect Google Docs.

  • Screenshots are from ChatGPT, but the prompts, sign-in pages, and confirmation screens look the same in Claude.
  • Connection links expire after 10 minutes. If yours expires, ask the assistant to connect again for a new link.

How to connect Google Docs

  1. Open a new chat in ChatGPT and type the prompt below.

    Using SU MCP Gateway, connect to my Google Docs.
  2. ChatGPT replies with a blue connection link. Click it.
  3. Choose your Stanford Google account and click Continue.
  4. When you see Successfully connected, close that window, return to ChatGPT, and reply done. ChatGPT confirms the connection, and you're ready to go.
ChatGPT reply with a "Connect Google Docs through SU MCP Gateway" link and a note that the link expires in 10 minutes
ChatGPT sends the Google Docs connection link.
Confirmation screen reading "Successfully connected Composio to Google Docs. You can close this window now."
Success screen for Google Docs.
After the user replies "done", ChatGPT confirms the connection, lists three recent Google Docs, and asks which one to work on (opens larger image)
After "done", ChatGPT lists your recent documents and asks which one to work on. (Select image to enlarge.)

Try these prompts

If you're not sure where to start, try one of these:

  • Summarize the Project Charter document without revealing any specific info or identifiers.
  • Create a document named "SU MCP Gateway Google Doc", add a headline "Testing" and another line "Test", and give edit access to colleague@stanford.edu.
ChatGPT summarizes a document, then creates "SU MCP Gateway Google Doc" with a "Testing" headline and gives a colleague edit access (opens larger image)
ChatGPT summarizes a document, then creates a new one and shares it. (Select image to enlarge.)
The new "SU MCP Gateway Google Doc" in Google Docs, with the Share dialog showing the owner and a colleague with Editor access (opens larger image)
The new document in Google Docs, with the colleague added as Editor. (Select image to enlarge.)

Get help

If you need assistance, submit a help request for your tool:

Be sure to include:

  • The app you tried to connect (Google Docs)
  • What you typed and how the assistant responded
  • A screenshot of any error

For fixes to common problems, see the troubleshooting guide.

Last modified