This tutorial covers how to add the [Google Drive MCP Server](https://github.com/modelcontextprotocol/servers/tree/main/src/gdrive) as a Goose extension, allowing you to list, read, and search files in Google Drive.
A browser window will open for authentication. Follow the prompts to connect your Google account and complete the OAuth process. At this stage, your environment variable `GDRIVE_CREDENTIALS_PATH` will be set with the saved credentials.
:::tip
You'll need to re-authenticate once a day when using the Google Drive extension. To re-authenticate, simply re-run the authentication command in your terminal.
1. [Launch the installer](goose://extension?cmd=npx&arg=-y&arg=%40modelcontextprotocol%2Fserver-gdrive&id=google-drive&name=Google%20Drive&description=Google%20Drive%20integration&env=GDRIVE_CREDENTIALS_PATH%3DPath%20to%20Google%20Drive%20credentials&env=GDRIVE_OAUTH_PATH%3DPath%20to%20OAuth%20token)
2. Press `Yes` to confirm the installation
3. For `GDRIVE_CREDENTIALS_PATH`, enter the following:
```
~/.config/.gdrive-server-credentials.json
```
4. For `GDRIVE_OAUTH_PATH`, enter the following:
```
~/.config/gcp-oauth.keys.json
```
5. Click `Save Configuration`
6. Scroll to the top and click `Exit` from the upper left corner
In this example, I’ll use Goose to quickly gather and summarize important information for my upcoming marketing budget review meeting in 30 minutes. I’ll ask Goose to find relevant documents from my Google Drive, summarize Q1 performance, highlight critical decisions on marketing automation and video production, and identify any outstanding action items from our last meeting.
### Goose Prompt
```
I have an important marketing budget review meeting in 30 minutes and I need your help getting prepared. I have several documents in my Google Drive from our previous meetings and planning sessions. Could you help me by:
1. Finding all relevant documents about our marketing budget and performance
2. Giving me a quick summary of our Q1 performance
3. Highlighting the key decisions we need to make about the marketing automation tool and video production
4. Identifying any outstanding action items from our last meeting
I need a quick but comprehensive overview so I can walk into this meeting well-prepared.
```
### Goose Output
```
I'll help you prepare for your meeting. Let me first list available resources from Google Drive to make sure we access the correct files.
[... list resources ...]
Great! I can see several relevant documents. Let me access them one by one to gather the information you need.
[... reads resources ...]
Based on all these documents, here's your comprehensive overview for the meeting:
Q1 Performance Summary:
- Overall 5% under budget ($104,200 spent vs $107,000 budgeted)
- Digital Marketing performing well with highest ROI:
- Email marketing: 3.2 ROI
- Google Ads: 2.4 ROI
- Content Marketing: 2.1 ROI
- Social media engagement up 23% from previous quarter
- Content marketing blog posts generating 2x expected leads