Google Drive MCP server for searching and reading multi-format files
This AI-assisted n8n workflow runs a Google Drive MCP server exposing search and file-reading tools to authorised AI clients. Incoming tool calls execute a sub-workflow that fetches the file and routes by format. PDF, CSV, image and audio assets pass through dedicated extractors or OpenAI before returning text.
- Catalogue ID
- #0875
- Functional nodes
- 13
- Connections
- 11
- Trigger
- executeWorkflowTrigger, mcpTrigger
- AI layer
- AI-assisted
Business problem solved
AI assistants need controlled read access to mixed corporate file formats inside Google Drive without building bespoke integrations for every tool. Unrestricted folder credentials pose security risks.
Trigger
The MCP trigger and execute-workflow trigger activate whenever a connected client invokes search or read tools.
Connected systems
- MCP server trigger
- Google Drive
- File extraction tools
- OpenAI
- Sub-workflow tool
- Self-hosted n8n
Every workflow is deployed on your own server with documentation, a run log and an error queue.
Workflow architecture
- 1. When Executed by Another… (Trigger) (connects to Operation)
- 2. Google Drive MCP Server (Trigger)
- 3. Download File1 (Service and data) (connects to FileType)
- 4. FileType (Logic and routing) (connects to Extract from PDF, Extract from CSV, Analyse Image, Transcribe Audio)
- 5. Operation (Logic and routing) (connects to Download File1)
- 6. Extract from PDF (Service and data) (connects to Get PDF Response)
- 7. Extract from CSV (Service and data) (connects to Get CSV Response)
- 8. Get PDF Response (Service and data)
- 9. Get CSV Response (Service and data)
- 10. Read File From GDrive (AI layer) (connects to Google Drive MCP Server)
- 11. Search Files from Gdrive (Service and data) (connects to Google Drive MCP Server)
- 12. Analyse Image (AI layer)
- 13. Transcribe Audio (AI layer)
- Trigger
- AI layer
- Logic and routing
- Service and data
Node positions and directed links are generated from the verified catalogue record.
Workflow steps
- 01
MCP tool call and Drive search
The MCP server trigger accepts client requests and routes search queries through the Google Drive search tool.
- 02
Sub-workflow file fetch and type switch
Read calls trigger the sub-workflow, fetch the target Drive file and inspect its format via switch logic.
- 03
Format-specific extraction or OpenAI call
PDF and CSV files parse via native extractors while images use OpenAI vision and audio uses OpenAI transcription.
- 04
Structured MCP response
Extracted text returns cleanly to the calling client through structured PDF or CSV response nodes.
Error queue and human approval
Built-in state in the catalogue workflow
The verified catalogue workflow contains zero node-level error flags across its 13 functional nodes and 11 connections.
Production layer added by ALTAI
During live deployment, ALTAI enforces bearer authentication on the MCP trigger, read-only folder scopes, file-size limits and full access logging.
Google Drive MCP document search and reader server Frequently asked questions
Production deployments mandate header token authentication on the MCP trigger and restrict scopes to approved Drive folders.
No. Exposed tools carry strictly read and search permissions with no write or delete operations wired.
Images route to OpenAI image analysis and audio files route to OpenAI transcription, while unsupported types exit safely.
Related n8n workflows
PDF and image to CSV extraction with Gemini
Routes PDFs and scanned images from Google Drive through dedicated extraction branches using Gemini, converts output to CSV and uploads back to Drive.
Latest Google Drive document summariser to Sheets
Captures the latest document uploaded to Google Drive, reads Google Docs text, generates an OpenAI summary and appends clean rows to Google Sheets.
Google Drive audio to AWS S3 and AWS Transcribe
Moves Google Drive audio files into AWS S3, runs AWS Transcribe jobs, retrieves finished transcripts after a wait and appends rows to Google Sheets.

We write the proposal after we have found the problem together
In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.
30 minutes · no preparation needed
The call and the week of discovery are both free.Read the terms