Integrates Google Drive and Sheets functionality for file operations and spreadsheet data manipulation.
Create a Google Cloud project
Enable Google Drive and related APIs
- In your new project, enable these APIs:
Configure OAuth consent screen
Add required OAuth scopes
- When configuring your OAuth client, ensure these scopes are added:
https://www.googleapis.com/auth/drive.readonly
https://www.googleapis.com/auth/spreadsheets
Create OAuth Client ID
Rename and place credentials file
- Rename the downloaded JSON file to
gcp-oauth.keys.json
.
- Place this file into your desired credentials directory (for example,
/Users/username/.config/mcp-gdrive
).
Locate your Client ID and Client Secret
- In the Google Cloud Console, navigate to "Credentials". Copy your OAuth "Client ID" and "Client secret".
Fill in the FastMCP connection interface
- Use the "Install Now" button to begin configuration.
- When prompted in the FastMCP connection interface, provide the following values:
CLIENT_ID
: Paste your OAuth Client ID here.
CLIENT_SECRET
: Paste your OAuth Client Secret here.
GDRIVE_CREDS_DIR
: Path to the directory where you placed gcp-oauth.keys.json
(for example: /Users/username/.config/mcp-gdrive
).
Authenticate your account
- On first use, the server will prompt you to authenticate with your Google account via a browser. Complete this step using an account in the same organization as your Google Cloud project.
Note: Make sure to keep your credentials secure and follow any additional instructions from the Google Cloud Console as needed.