Skip to main content

Connect Google Drive

This guide explains how to use SU MCP Gateway to connect ChatGPT or Claude to Google Drive.

Capabilities, sign-in, and setup

TopicDetails
What you can doFind and list your files, summarize documents, create new files, and share them with colleagues.
Sign-in methodGoogle sign-in with your Stanford Google account.
Connect promptUsing SU MCP Gateway, connect to my Google Drive.

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 Drive.

  • 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 Drive

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

    Using SU MCP Gateway, connect to my Google Drive.
  2. ChatGPT replies with a blue connection link. Click it.
  3. On the Google page, choose your @stanford.edu account.
  4. Review the permissions and click Continue.
  5. When you see Successfully connected, close that window, return to ChatGPT, and reply done.
ChatGPT message with a link to connect Google Drive through SU MCP Gateway
ChatGPT sends a connection link. Click "Connect Google Drive through SU MCP Gateway".
Google account picker showing a Stanford account
Choose your Stanford Google account.
Google permissions page with a Continue button to let Composio connect
Click Continue to let Composio (SU MCP Gateway) connect to your Google Drive.
Screen with a green check mark and the words Successfully connected
Success. Close this window and reply "done" in ChatGPT.
ChatGPT confirming the Google Drive connection and listing recent files (opens larger image)
After you reply "done", ChatGPT confirms the connection and can list your recent files. (Select image to enlarge.)

Try these prompts

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

  • What were the last 5 documents I worked on? List them.
  • Summarize the file Project_Plan.docx without revealing any specific information.
  • Create a Word doc named "Project Notes" and add a headline "Testing" and a line "Hi".
  • Give view access to name@stanford.edu and edit access to colleague@stanford.edu to this doc.
ChatGPT summarizing a document and creating a new file in Google Drive (opens larger image)
ChatGPT summarizes a document and creates a new file in your Drive. (Select image to enlarge.)
ChatGPT confirming which colleagues have Viewer and Editor access to the file (opens larger image)
Sharing a file with colleagues. ChatGPT confirms who has Viewer and Editor access. (Select image to enlarge.)
The new Project Notes document open in Google Docs (opens larger image)
The new document as it appears in Google Docs. (Select image to enlarge.)
Google Docs Share dialog listing the people ChatGPT gave access to (opens larger image)
The Share dialog in Google Docs shows the access ChatGPT set up. (Select image to enlarge.)
Tip: Use the exact file name when you ask ChatGPT to open, summarize or share a file. If several files have similar names, ChatGPT will ask you to choose one.

Get help

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

Be sure to include:

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

For fixes to common problems, see the troubleshooting guide.

Last modified