added tabs on tutorial TLDR blocks (#2487)

This commit is contained in:
w. ian douglas
2025-05-09 12:15:38 -06:00
committed by GitHub
parent 7b81562351
commit 6ec26715b9
24 changed files with 337 additions and 246 deletions

View File

@@ -12,28 +12,25 @@ import YouTubeShortEmbed from '@site/src/components/YouTubeShortEmbed';
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.
:::tip TLDR
**Authentication Command**
In your terminal, run the following:
```sh
GDRIVE_OAUTH_PATH=/Users/<username>/.config/gcp-oauth.keys.json \
GDRIVE_CREDENTIALS_PATH=/Users/<username>/.config/.gdrive-server-credentials.json \
npx -y @modelcontextprotocol/server-gdrive auth
```
**Command**
```sh
npx -y @modelcontextprotocol/server-gdrive
```
**Environment Variables**
```
GDRIVE_CREDENTIALS_PATH: ~/.config/.gdrive-server-credentials.json
```
```
GDRIVE_OAUTH_PATH: ~/.config/gcp-oauth.keys.json
```
<Tabs groupId="interface">
<TabItem value="ui" label="Goose Desktop" default>
[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)
</TabItem>
<TabItem value="cli" label="Goose CLI">
**Command**
```sh
GDRIVE_OAUTH_PATH=/Users/<username>/.config/gcp-oauth.keys.json \
GDRIVE_CREDENTIALS_PATH=/Users/<username>/.config/.gdrive-server-credentials.json \
npx -y @modelcontextprotocol/server-gdrive auth
npx -y @modelcontextprotocol/server-gdrive
```
</TabItem>
</Tabs>
**Environment Variable**
```
GDRIVE_CREDENTIALS_PATH: ~/.config/.gdrive-server-credentials.json
GDRIVE_OAUTH_PATH: ~/.config/gcp-oauth.keys.json
```
:::
## Configuration