Self-hosted MCP server enabling Foundry agents to search, list, and read Google Drive files via the Drive API with server-side OAuth authentication.
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.
process.env. You'll be asked to provide them before it can run.MCP_SERVER_URL— any long random string; keep a copy for your .envGOOGLE_OAUTH_CLIENT_SECRETSGOOGLE_TOKEN_PATHGOOGLE_OAUTH_PORTPROJECT_ENDPOINT— Foundry project endpoint.MODEL_DEPLOYMENT_NAME— e.g. gpt-4o-mini.MCP_ALLOWED_TOOLS— Restrict them with if you want (e.g. search_files,get_file_content).MCP_CONNECTOR_IDMCP_REQUIRE_APPROVAL— .env never never (service runs tools) or always (app auto-approves + logs)AGENT_NAME— .env gdrive-mcp-agent Agent nameMCP_SHARED_SECRET— az webapp config appsettings set -g $RG -n $APP --settings ="<your-40-char-secret>"PORTGOOGLE_TOKEN_URIMAX_CONTENT_CHARS— App Service 12000 Truncate file content lengthGOOGLE_CLIENT_ID— App Service → Google OAuth refresh token (/SECRET/REFRESH_TOKEN app settings)GOOGLE_CLIENT_SECRET— App Service ✅ — From credentials.json (set by script)GOOGLE_REFRESH_TOKEN— App Service ✅ — From token.json (set by script)[](https://m8ven.ai/mcp/jrubiosainz-foundry-gdrive-mcp-agent-h9r56g)