Google Drive MCP Server
Pricing
from $20.00 / 1,000 results
Google Drive MCP Server
A secure and extensible Google Drive MCP (Machine Control Protocol) Server built using Apify Actors. This actor enables AI agents, automation workflows, and applications to safely list, search, and read Google Drive files using user-provided credentials — without storing any secrets.
Pricing
from $20.00 / 1,000 results
Rating
0.0
(0)
Developer

Silky Modi
Actor stats
0
Bookmarked
1
Total users
0
Monthly active users
15 days ago
Last modified
Categories
Share
Google Drive MCP Server (Apify Actor)
A secure and extensible Google Drive MCP (Machine Control Protocol) Server built using Apify Actors.
This Actor enables AI agents, automation workflows, and applications to safely list, search, and read Google Drive files using user-provided credentials — without storing any secrets.
🚀 What does this Actor do?
This Actor provides a secure API layer on top of Google Drive that allows controlled, on-demand access to Drive data.
It allows users or AI systems to:
- Browse Google Drive folders
- Search files using Google Drive queries
- Read file content programmatically
All access is granted only for the duration of a single run, using credentials supplied by the user.
🎯 Main Purpose
AI systems and automation tools often need access to documents stored in Google Drive, but:
- Users don’t want to permanently share credentials
- Developers don’t want to hard-code API keys
- OAuth flows are complex for automation
- AI tools need structured JSON outputs, not UI-based access
✅ This Actor solves all of the above by acting as a stateless Google Drive MCP server, designed for AI-first workflows.
🧠 How it Works (High-level Architecture)
- The user provides:
- A Google Service Account JSON
- An operation (
listFiles,searchFiles, orgetFileContent) - Optional parameters (
folderId,query,fileId)
- The Actor:
- Authenticates using the provided service account
- Connects to Google Drive API v3
- The requested operation is executed
- Results are returned as structured JSON
- Output is stored in an Apify Dataset for easy API or AI consumption
✅ No credentials are stored
✅ Each run is isolated and secure
🔐 Security & Privacy
- No API keys are hard-coded
- Credentials are supplied per run
- Data access is limited to folders/files explicitly shared with the service account
- Uses
drive.readonlyscope (least privilege) - No data or secrets persist after execution
🔧 Supported Operations
1️⃣ listFiles
List files from a Google Drive folder (or root).
Use Case
- Browse folder contents
- Let AI understand what files exist before taking action
Required Input
operation:"listFiles"serviceAccountJson
Optional Input
folderId: Google Drive folder IDpageSize: Maximum number of results
Output Example
{"operation": "listFiles","folderId": "FOLDER_ID","files": [{"id": "1abc123","name": "ProjectNotes.pdf","mimeType": "application/pdf","webViewLink": "https://drive.google.com/file/d/1abc123/view","modifiedTime": "2025-11-27T16:59:29Z"}]}

