43
/ 100
21 days ago
glama

Google Drive MCP Server

Self-hosted MCP server enabling Foundry agents to search, list, and read Google Drive files via the Drive API with server-side OAuth authentication.

Is this your MCP?

Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 3 credentials: MCP_SHARED_SECRET, GOOGLE_CLIENT_SECRET, GOOGLE_REFRESH_TOKEN
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configMCP_SERVER_URLany long random string; keep a copy for your .env
configGOOGLE_OAUTH_CLIENT_SECRETS
configGOOGLE_TOKEN_PATH
configGOOGLE_OAUTH_PORT
configPROJECT_ENDPOINTFoundry project endpoint.
configMODEL_DEPLOYMENT_NAMEe.g. gpt-4o-mini.
configMCP_ALLOWED_TOOLSRestrict them with if you want (e.g. search_files,get_file_content).
configMCP_CONNECTOR_ID
configMCP_REQUIRE_APPROVAL.env never never (service runs tools) or always (app auto-approves + logs)
configAGENT_NAME.env gdrive-mcp-agent Agent name
🔐 secretMCP_SHARED_SECRETaz webapp config appsettings set -g $RG -n $APP --settings ="<your-40-char-secret>"
configPORT
configGOOGLE_TOKEN_URI
configMAX_CONTENT_CHARSApp Service 12000 Truncate file content length
configGOOGLE_CLIENT_IDApp Service → Google OAuth refresh token (/SECRET/REFRESH_TOKEN app settings)
🔐 secretGOOGLE_CLIENT_SECRETApp Service ✅ — From credentials.json (set by script)
🔐 secretGOOGLE_REFRESH_TOKENApp Service ✅ — From token.json (set by script)
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 1 concrete improvement we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/jrubiosainz-foundry-gdrive-mcp-agent-h9r56g)](https://m8ven.ai/mcp/jrubiosainz-foundry-gdrive-mcp-agent-h9r56g)
commit: 292f15fa4351950179572d1c798161c8f2b6abc3
code hash: 6321a03d4699873c1d495ff19e304c7973b1448e9cb178a6a64d050d596fc996
verified: 7/10/2026, 10:07:14 AM
view raw JSON →