|
| 1 | +{ |
| 2 | + "$schema": "../schemas/server-definition.schema.json", |
| 3 | + "id": "isaacphi.gdrive-mcp-npx", |
| 4 | + "name": "Google Drive (npx)", |
| 5 | + "alias": "gdrive", |
| 6 | + "description": "Search and read Google Drive files and read/update Google Sheets via OAuth. Provides gdrive_search, gdrive_read_file, gsheets_read, and gsheets_update_cell tools, plus gdrive:/// file resources.", |
| 7 | + "logo": "https://avatars.githubusercontent.com/u/3385849?v=4", |
| 8 | + "schema_version": "2.1", |
| 9 | + "categories": [ |
| 10 | + "file-system", |
| 11 | + "productivity" |
| 12 | + ], |
| 13 | + "tags": [ |
| 14 | + "google-drive", |
| 15 | + "google-sheets", |
| 16 | + "google", |
| 17 | + "files", |
| 18 | + "spreadsheets", |
| 19 | + "oauth" |
| 20 | + ], |
| 21 | + "transport": { |
| 22 | + "type": "stdio", |
| 23 | + "command": "npx", |
| 24 | + "args": [ |
| 25 | + "-y", |
| 26 | + "@isaacphi/mcp-gdrive" |
| 27 | + ], |
| 28 | + "env": { |
| 29 | + "CLIENT_ID": "${input:CLIENT_ID}", |
| 30 | + "CLIENT_SECRET": "${input:CLIENT_SECRET}", |
| 31 | + "GDRIVE_CREDS_DIR": "${input:GDRIVE_CREDS_DIR}" |
| 32 | + }, |
| 33 | + "metadata": { |
| 34 | + "inputs": [ |
| 35 | + { |
| 36 | + "id": "CLIENT_ID", |
| 37 | + "label": "Google OAuth Client ID", |
| 38 | + "description": "OAuth 2.0 Client ID from a Google Cloud 'Desktop App' OAuth client. Enable the Google Drive API, Google Sheets API, and Google Docs API, then create OAuth credentials. Found in the Google Cloud Console under APIs & Services > Credentials.", |
| 39 | + "type": "text", |
| 40 | + "required": true, |
| 41 | + "secret": false, |
| 42 | + "placeholder": "xxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com", |
| 43 | + "obtain": { |
| 44 | + "url": "https://console.cloud.google.com/apis/credentials", |
| 45 | + "instructions": "1. Open the Google Cloud Console and create or select a project\n2. Under APIs & Services > Library, enable the Google Drive API, Google Sheets API, and Google Docs API\n3. Configure the OAuth consent screen\n4. Under APIs & Services > Credentials, click 'Create Credentials' > 'OAuth client ID'\n5. Choose application type 'Desktop App'\n6. Copy the Client ID shown after creation", |
| 46 | + "button_label": "Open Google Cloud Console" |
| 47 | + } |
| 48 | + }, |
| 49 | + { |
| 50 | + "id": "CLIENT_SECRET", |
| 51 | + "label": "Google OAuth Client Secret", |
| 52 | + "description": "OAuth 2.0 Client Secret paired with the Client ID from your Google Cloud 'Desktop App' OAuth client. Found alongside the Client ID under APIs & Services > Credentials.", |
| 53 | + "type": "text", |
| 54 | + "required": true, |
| 55 | + "secret": true, |
| 56 | + "placeholder": "GOCSPX-********************", |
| 57 | + "obtain": { |
| 58 | + "url": "https://console.cloud.google.com/apis/credentials", |
| 59 | + "instructions": "1. Open the Google Cloud Console and select your project\n2. Go to APIs & Services > Credentials\n3. Open the OAuth 2.0 Client ID you created ('Desktop App')\n4. Copy the Client Secret value", |
| 60 | + "button_label": "Open Google Cloud Console" |
| 61 | + } |
| 62 | + }, |
| 63 | + { |
| 64 | + "id": "GDRIVE_CREDS_DIR", |
| 65 | + "label": "Credentials Directory", |
| 66 | + "description": "Absolute path to a writable directory where the server stores OAuth tokens and credentials. On first run a browser OAuth flow saves the token here. Place your downloaded OAuth keys file (renamed to gcp-oauth.keys.json) in this directory.", |
| 67 | + "type": "directory_path", |
| 68 | + "required": true, |
| 69 | + "placeholder": "/path/to/config/directory" |
| 70 | + } |
| 71 | + ] |
| 72 | + } |
| 73 | + }, |
| 74 | + "auth": { |
| 75 | + "type": "oauth", |
| 76 | + "instructions": "Create a Google Cloud project, enable the Google Drive API, Google Sheets API, and Google Docs API, then create a 'Desktop App' OAuth 2.0 Client ID at https://console.cloud.google.com/apis/credentials. Provide the Client ID and Client Secret, and set a credentials directory. The first run opens a browser to authorize the drive.readonly and spreadsheets scopes and caches the token in that directory." |
| 77 | + }, |
| 78 | + "contributor": { |
| 79 | + "name": "isaacphi", |
| 80 | + "github": "isaacphi", |
| 81 | + "url": "https://github.com/isaacphi/mcp-gdrive" |
| 82 | + }, |
| 83 | + "links": { |
| 84 | + "repository": "https://github.com/isaacphi/mcp-gdrive", |
| 85 | + "homepage": "https://github.com/isaacphi/mcp-gdrive", |
| 86 | + "documentation": "https://github.com/isaacphi/mcp-gdrive#readme" |
| 87 | + }, |
| 88 | + "platforms": [ |
| 89 | + "all" |
| 90 | + ], |
| 91 | + "capabilities": { |
| 92 | + "tools": true, |
| 93 | + "resources": true, |
| 94 | + "prompts": false, |
| 95 | + "read_only_mode": false |
| 96 | + }, |
| 97 | + "changelog_url": "https://github.com/isaacphi/mcp-gdrive/releases" |
| 98 | +} |
0 commit comments