guMCP server implementation for interacting with Google Drive.
- Python 3.11+
- A Google Cloud Project with Google Drive APIs enabled
- OAuth 2.0 credentials with the following scopes:
- Create a new Google Cloud project
- Enable the Google Drive API and Google Docs API
- Configure an OAuth consent screen ("internal" is fine for testing)
- Add OAuth scopes:
- Create an OAuth Client ID for application type "Desktop App"
- Download the JSON file of your client's OAuth keys
- Rename the key file to
oauth.jsonand place into thelocal_auth/oauth_configs/gdrive/oauth.json
To authenticate and save credentials:
python src/servers/gdrive/main.py authThis will launch a browser-based authentication flow to obtain and save credentials.