Gdrive MCP can access shared drives but cannot read files (error 404) · Issue #441 · modelcontextprotocol/servers · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The Google Drive MCP server has limitations in accessing files from Shared Drives using the Google Drive API, which may prevent reliable file retrieval for users with files stored in Shared Drive environments.
To Reproduce
Steps to reproduce the behavior:
Set up a Google Drive service account
Configure the MCP server with service account credentials
Attempt to list or read files from a Shared Drive
Observe potential access or permission issues
Expected behavior
The MCP server should seamlessly retrieve files from both personal and Shared Drive environments without additional configuration.
Logs
# Example potential error log
HttpError: 404 File not found
Cannot access file in Shared Drive
Additional context
This issue affects organizations and teams using Google Workspace Shared Drives
Current implementation may require explicit supportsAllDrives configuration
Some file types or specific Shared Drive configurations might still cause access problems
Proposed Solution
Ensure comprehensive support for Shared Drive file access
Add robust error handling for different Shared Drive scenarios
Implement more detailed logging for Shared Drive file retrieval attempts
Describe the bug
The Google Drive MCP server has limitations in accessing files from Shared Drives using the Google Drive API, which may prevent reliable file retrieval for users with files stored in Shared Drive environments.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The MCP server should seamlessly retrieve files from both personal and Shared Drive environments without additional configuration.
Logs
Additional context
supportsAllDrives
configurationProposed Solution
Technical Details
files.list()
,files.get()
,files.export()
The text was updated successfully, but these errors were encountered: