Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Google Drive MCP Server

by piotr-agier/google-drive-mcpMIT licenceAudited 12 Oct 2026 · source 54b5a3c575b1

npm @piotr-agier/google-drive-mcp 2.12.0stdiostreamable-http★ 225
!CAUTIONGrade B · 80/100 · 12 Oct 2026 · 54b5a3c
225GitHub stars

Is it safe? With care — CAUTION, grade B (80/100). It exposes 118 tools: 54 read, 55 write and 9 destructive. The audit recorded 22 findings (0 critical, 0 high, 4 medium, 16 low). Maintainer's description: A Model Context Protocol (MCP) server that provides secure integration with Google Drive, Docs, Sheets, Slides and Calendar. It allows Claude Desktop and other MCP clients to manage files in Google Drive through a standardized interface.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Google Drive MCP Server (piotr-agier/google-drive-mcp)”. Retrieved 12 Oct 2026. https://modelsatlas.com/mcp/piotr-agier/google-drive-mcp

Trust audit

Audit 0.4.1 · full source read 12 Oct 2026

Trust score80/100!CAUTION B
0 critical0 high4 medium16 low2 info

22 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared2 observations
  • NetworkDeclared3 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainWARN 13 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 7 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner piotr-agierUser accountAccount type recorded when we read the repository.
  • PackagePublished on npm@piotr-agier/google-drive-mcp at version 2.12.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push2 days agoActivity of the repository when we read it.
  • Source commit read54b5a3c575b1The audit covers exactly this commit, read on 12 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory118 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (22)

Sorted by severity

MEDIUMNetwork egressnet.raw_ip · src/auth/client.ts:16
F-04 Network egressCWE-200 · CWE-319Layer L1
redirect_uris: (keys.redirect_uris as string[] | undefined) || ['http://127.0.0.1:3000/oauth2callback']
Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.generic · test/integration/cli-args.test.ts:151
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.private_key · test/external-auth.test.ts:386
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
createParagraphBullets, deleteCalendarEvent, deleteComment, deleteGoogleSlide, deleteRange, deleteSheet, deleteSlideElement, removePermission, setElementText
Why
9 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .cursorignore
F-13 Inventory / provenanceCWE-1104Layer L0
.cursorignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/auth/team/clientFactory.ts:15
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { TimeoutError } from '../../utils/retry.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/auth/accountResolver.test.ts:6
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { AccountResolver, coversScopes } from '../../src/auth/accountResolver.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/auth/accountResolver.test.ts:7
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { AccountStore } from '../../src/auth/accountStore.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/auth/accountResolver.test.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { SessionStore, STDIO_SESSION_ID } from '../../src/auth/sessionStore.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · test/auth/accountResolver.test.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { AccountRecord } from '../../src/auth/types.js';
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · CHANGELOG.md:184
F-04 Network egressCWE-200 · CWE-319Layer L1
- **auth:** use loopback IP `127.0.0.1` instead of `localhost` for the OAuth callback redirect URI, matching the IPv4-only callback-server bind so the redirect resolves to the bound address on dual-st
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/authentication.md:51
F-04 Network egressCWE-200 · CWE-319Layer L1
The callback server binds to the loopback interface and the OAuth redirect URI uses the loopback IP — `http://127.0.0.1:<port>/oauth2callback` (default range `127.0.0.1:3000`–`127.0.0.1:3004`). **Desk
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/clients.md:85
F-04 Network egressCWE-200 · CWE-319Layer L1
"url": "http://127.0.0.1:3100/mcp"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/troubleshooting.md:24
F-04 Network egressCWE-200 · CWE-319Layer L1
4. **`redirect_uri_mismatch` (Web application clients only)**: The callback redirect URI uses the loopback IP `http://127.0.0.1:<port>/oauth2callback`. Switch to a "Desktop app" client (recommended),
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, @types/express, express, google-auth-library, googleapis, jszip, open, pdf-lib
Why
19 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:85
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **transport:** an HTTP client whose session has expired can now recover on its own instead of failing every call until the user reconnects by hand. The Streamable HTTP transport evicts a session aft
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:89
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Stops a stalled OAuth token refresh from **hanging every call on the server**. The proactive refresh that runs five minutes before an access token expires awaited Google's token endpoint with no timeo
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:93
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **auth:** an OAuth token refresh that stalls no longer hangs every call on the server. The proactive refresh that runs five minutes before an access token expires awaited Google's token endpoint wit
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · CHANGELOG.md:112
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **team:** log lines now name the acting user. Team-mode dispatch, session lifecycle (created / idle timeout / closed), sign-in callback, and per-user tool logs carry the member's Google `sub` and em
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/authentication.md:243
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
With the Streamable HTTP transport in its default (single-user) mode, multiple MCP sessions sharing the same server process also share the same active default account. A `set_default` in one session i
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOPrompt injectionprompt.authority_framing · docs/deployment.md:131
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
When binding to `127.0.0.1` (default), DNS rebinding protection is automatically enabled. For remote deployments (`0.0.0.0`), prefer [Team Mode](#team-mode-multi-user-http-deployments), which authenti
Why
No further detail recorded for this rule.
Fix
—
INFOPrompt injectionprompt.credential_read · README.md:13
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **Open and self-hosted:** credentials and tokens stay in the environment you operate.
Why
asks the agent to read credentials
Fix
—

Tools it exposes

118 declared in source · 9 destructive

54 read55 write9 destructive

9 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
createParagraphBulletsdestructiveAdd or remove bullet points / numbered lists on paragraphs in a Google Doc. Target paragraphs by startIndex+endIndex or textToFind. Use bulletPreset=
deleteCalendarEventdestructiveDelete a calendar event
deleteCommentdestructiveDelete a comment from the document
deleteGoogleSlidedestructiveDelete a slide from a presentation
deleteRangedestructiveDelete content between start and end indices. Works on Google Docs and text/* files (e.g. text/plain, text/markdown). Index semantics differ by file type: Google Docs use the Docs API
deleteSheetdestructiveDelete a sheet/tab by sheetId
deleteSlideElementdestructiveDelete an element (image, text box, shape) from a Google Slides slide
removePermissiondestructiveRemove a permission from a file (by permissionId or emailAddress)
setElementTextdestructiveReplace the entire text of one shape/text box by objectId (element-scoped delete+insert in one atomic call). Unlike replaceAllTextInSlides, this cannot hit other slides, masters, or layouts, and does not depend on matching existing text. Pass empty text to clear the element.
addCommentwriteAdd a comment quoting a text range, targeted by startIndex+endIndex or by textToFind. The comment appears in the document
addDataValidationwriteAdd data validation rules to a sheet range
addDocumentTabwriteAdd a new tab in a Google Doc
addGoogleSheetConditionalFormatwriteAdd conditional formatting to a Google Sheet
addNamedRangewriteCreate a named range
addPermissionwriteAdd a sharing permission to a file. If the principal already holds a permission on the file, Drive updates that permission instead of creating a second one, and the requested role is applied even when it is a downgrade (asking for
applyTextStylewriteApply text formatting (bold, italic, color, etc.) to a range or found text. Use EITHER startIndex+endIndex OR textToFind for targeting.
authTestFileAccesswriteRun auth diagnostics against Drive API/file access
createCalendarEventwriteCreate a new calendar event. Supports timed events, all-day events, and Google Meet integration.
createFolderwriteCreate a new folder in Google Drive
createFootnotewriteCreate a footnote in a Google Doc. Footnotes cannot be inserted inside equations, headers, footers, or other footnotes. For multi-tab docs, specify tabId to target a specific tab.
createGoogleDocwriteCreate a new Google Doc
createGoogleSheetwriteCreate a new Google Sheet. By default uses RAW mode which stores values as-is. Set valueInputOption to
createGoogleSlideswriteCreate a new Google Slides presentation
createGoogleSlidesShapewriteCreate a shape in Google Slides
createGoogleSlidesTextBoxwriteCreate a text box in Google Slides
createShortcutwriteCreate a shortcut (link) to a file or folder in Google Drive. Useful for referencing the same document from multiple locations without duplicating it.
createTextFilewriteCreate a new text or markdown file
deleteItemwriteMove a file or folder to trash (can be restored from Google Drive trash)
editTableCellwriteEdit the content and/or style of a specific table cell. Requires knowing the table start index. For multi-tab docs, specify tabId to target a table in a specific tab.
formatGoogleDocParagraphwriteApply paragraph formatting (alignment, indentation, spacing, heading style, borders, shading) in a Google Doc. Alias for applyParagraphStyle.
formatGoogleDocTextwriteApply text formatting (bold, italic, font, color, links, superscript/subscript) to a range or found text in a Google Doc. Alias for applyTextStyle.
formatGoogleSheetNumberswriteApply number formatting to cells in a Google Sheet
formatGoogleSheetTextwriteApply text formatting to cells in a Google Sheet
formatGoogleSlidesParagraphwriteApply paragraph formatting to text in Google Slides
formatGoogleSlidesTextwriteApply text formatting to elements in Google Slides
insertImageFromUrlwriteInsert an inline image into a Google Document from a publicly accessible URL
insertLocalImagewriteUpload a local image file to Google Drive and insert it into a Google Document
insertSlidesImageFromUrlwriteInsert an image into a Google Slides slide from a publicly accessible URL
insertSlidesLocalImagewriteUpload a local image file to Google Drive and insert it into a Google Slides slide
insertSmartChipwriteInsert a person smart chip (mention) at a document index. Only person chips are supported by the Docs API; date and file chips are read-only.
insertTablewriteInsert a new table with the specified dimensions at a given index. For multi-tab docs, specify tabId to target a specific tab.
insertTextwriteInsert text at a specific index (surgical edit, doesn
mergeGoogleSheetCellswriteMerge cells in a Google Sheet
moveItemwriteMove a file or folder
moveSlideElementwriteMove and/or resize an element (image, text box, shape) on a Google Slides slide
renameDocumentTabwriteRename an existing Google Doc tab
renameItemwriteRename a file or folder
renameSheetwriteRename a sheet/tab by sheetId
replaceSlideImagewriteReplace an existing image in place, preserving its layering (z-order), position, size, and crop. Unlike delete+insert, which lands the new image on top of the stack, this keeps the image under any overlaid text.
replyToCommentwriteAdd a reply to an existing comment
setColumnWidthwriteSet the width (in pixels) of one or more columns in a sheet. Indices are 0-based and the interval is half-open [startColumn, endColumn) — to resize a single column at position 5, pass startColumn: 5, endColumn: 6.
setElementZOrderwriteChange the stacking order of page elements (updatePageElementsZOrder). Inserted images land on top of the stack and can cover overlay text — send them backward or to the back. All elements must be on the same page.
setGoogleSheetBorderswriteSet borders for cells in a Google Sheet
setGoogleSlidesBackgroundwriteSet background color for slides
setRowHeightwriteSet the height (in pixels) of one or more rows in a sheet. Indices are 0-based and the interval is half-open [startRow, endRow) — to resize a single row at position 5, pass startRow: 5, endRow: 6.
updateCalendarEventwriteUpdate an existing calendar event
updateGoogleDocwriteUpdate an existing Google Doc (replaces all content). The replacement is one atomic batchUpdate, so a failure leaves the document unchanged rather than wiped. For multi-tab docs, specify tabId to replace a single tab
updateGoogleSheetwriteUpdate an existing Google Sheet. By default uses RAW mode which stores values as-is. Set valueInputOption to
updateGoogleSlideswriteUpdate an existing Google Slides presentation
updateGoogleSlidesSpeakerNoteswriteUpdate speaker notes for a specific slide in Google Slides
updatePermissionwriteUpdate an existing permission role
updateTextFilewriteUpdate an existing text or markdown file
uploadFilewriteUpload a file (any type: image, audio, video, PDF, etc.) to Google Drive, either from a local path on the server or from base64-encoded content. When fileId is provided, uploads the content as a new version of that existing file (in-place update) instead of creating a new file.
uploadPdfWithSplitwriteUpload PDF and optionally split into chunked parts (metadata split plan for now)
GOOGLE_DRIVE_OAUTH_CREDENTIALSreadPath to a Google OAuth 2.0 Desktop app credentials JSON file.
addSheetreadAlias for addSpreadsheetSheet (adds a new sheet/tab)
addSpreadsheetSheetreadAdds a new sheet/tab to an existing Google Spreadsheet
appendSpreadsheetRowsreadAppends rows of data to the end of a sheet in a Google Spreadsheet
authGetStatusreadShow authentication/token status and scope diagnostics
authListScopesreadList configured/requested scopes and currently granted scopes
autoResizeColumnsreadAuto-size one or more columns to fit their content. Indices are 0-based and the interval is half-open [startColumn, endColumn) — to auto-fit a single column at position 5, pass startColumn: 5, endColumn: 6.
autoResizeRowsreadAuto-size one or more rows to fit their content. Indices are 0-based and the interval is half-open [startRow, endRow) — to auto-fit a single row at position 5, pass startRow: 5, endRow: 6.
bulkConvertFolderPdfsreadConvert all PDFs in a folder into Google Docs and return per-file results
convertPdfToGoogleDocreadConvert an existing PDF in Drive into an editable Google Doc
copyFilereadCreates a copy of a Google Drive file or document
downloadFilereadDownload a Google Drive file to a local path. For Google Workspace files (Docs, Sheets, Slides, Drawings), exports to the specified format. For regular files, downloads as-is. Streams directly to disk.
duplicateSlidereadDuplicate a slide in a presentation
exportSlideThumbnailreadExport a slide thumbnail URL
formatGoogleSheetCellsreadFormat cells in a Google Sheet (background, borders, alignment)
getCalendarEventreadGet a single calendar event by ID
getCalendarEventsreadGet events from a Google Calendar with optional filtering
getCommentreadGet a specific comment with its full thread of replies
getDocumentInforeadGets detailed information about a specific Google Document.
getGoogleDocContentreadGet content of a Google Doc with text indices for formatting
getGoogleDocContentPaginatedreadGet a portion of a Google Doc with text indices for formatting, with pagination support. Use offset and limit to read large documents in chunks.
getGoogleSheetContentreadGet content of a Google Sheet with cell information. Each row is returned as
getGoogleSlidesContentreadGet content of Google Slides with element IDs for formatting
getGoogleSlidesSpeakerNotesreadGet speaker notes from a specific slide in Google Slides
getRevisionsreadList revisions for a file
getSlideElementInforeadGet position, size, and transform of all elements on a slide. Returns actual rendered bounds.
getSpreadsheetInforeadGets detailed information about a Google Spreadsheet including all sheets/tabs
hideSheetDimensionreadHide a range of columns or rows in a sheet (sets hiddenByUser=true). Indices are 0-based and the interval is half-open [startIndex, endIndex) — to hide a single column/row at position 5, pass startIndex: 5, endIndex: 6.
listCalendarsreadList all accessible Google Calendars for the authenticated user
listCommentsreadList all comments in a Google Document
listDimensionGroupsreadList the row and column groups of a spreadsheet, with each group
listDocumentTabsreadList all tabs in a Google Doc with their IDs and hierarchy
listFolderreadList contents of a folder (defaults to root)
listGoogleDocsreadLists Google Documents from your Google Drive with optional filtering.
listGoogleSheetsreadLists Google Spreadsheets from your Google Drive with optional filtering
listPermissionsreadList sharing permissions for a file
listSharedDrivesreadList available Google Shared Drives
listSheetsreadList tabs/sheets in a Google Spreadsheet
lockFilereadLock a file to prevent editing by setting content restrictions. The file remains readable but cannot be modified until unlocked.
manage_accountsreadManage connected Google accounts. action=
protectRangereadProtect a range in a spreadsheet
readGoogleDocreadRead content of a Google Doc with format options. Supports multi-tab documents. Text/markdown output leads with the document
readGoogleDocPaginatedreadRead a portion of a Google Doc with pagination support. Use offset and limit to read large documents in chunks, avoiding output size limits.
readSmartChipsreadRead smart chip-like elements (person mentions, rich links, date chips) from the default tab of a document
readTextFilereadRead content of a text file (any text/* MIME type, e.g. text/plain, text/markdown, text/csv). For Google Docs, use readGoogleDoc.
reorderSlidesreadReorder one or more slides in a presentation
restoreRevisionreadRestore a file to a selected revision (creates a new head revision). Note: workspace files (Docs, Sheets, Slides) are restored via export/import and may lose some formatting.
searchreadSearch for files in Google Drive. Results are sorted most-recently-modified first by default; use orderBy for a different order. Set rawQuery=true to pass a raw Google Drive API query supporting operators like modifiedTime, createdTime, mimeType, name contains, etc.
setSlideVisibilityreadShow or hide (skip) slides in one atomic call. Hidden slides are skipped in present mode and PDF export.
shareFilereadConvenience wrapper to share a file with a user email. If the user already holds a permission on the file, that permission
showSheetDimensionreadShow (unhide) a range of columns or rows in a sheet (sets hiddenByUser=false). Indices are 0-based and the interval is half-open [startIndex, endIndex) — to unhide a single column/row at position 5, pass startIndex: 5, endIndex: 6.
styleGoogleSlidesShapereadStyle shapes in Google Slides
unlockFilereadUnlock a previously locked file by removing content restrictions, restoring full edit access.
updateDimensionGroupreadCollapse or expand an existing row or column group. Indices are 0-based and the interval is half-open [startIndex, endIndex). Use listDimensionGroups first to find the group

Install

Package version 2.12.0 · audited commit 54b5a3c

Read the findings first. The most severe is Network egress (medium) at src/auth/client.ts.

claude mcp add google-drive-mcp --env GOOGLE_DRIVE_OAUTH_CREDENTIALS=${GOOGLE_DRIVE_OAUTH_CREDENTIALS} -- npx -y @piotr-agier/[email protected]

The command pins the package version recorded in the source (2.12.0); the audit covers commit 54b5a3c575b1. Transport: stdio · streamable-http. Reads these environment variables: GOOGLE_APPLICATION_CREDENTIALS, GOOGLE_CLIENT_SECRET_PATH, GOOGLE_DRIVE_MCP_ACCESS_TOKEN, GOOGLE_DRIVE_MCP_AUTH_PORT, GOOGLE_DRIVE_MCP_CLIENT_SECRET, GOOGLE_DRIVE_MCP_REFRESH_TOKEN, GOOGLE_DRIVE_MCP_TOKEN_PATH, GOOGLE_DRIVE_MCP_TOKEN_REFRESH_TIMEOUT and 2 more. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 80 / 100

    First audit · 54b5a3c575b1

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/piotr-agier/google-drive-mcp/badge.svg)](https://modelsatlas.com/mcp/piotr-agier/google-drive-mcp/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Google Drive MCP Server

What is the Google Drive MCP Server MCP server?
A Model Context Protocol (MCP) server that provides secure integration with Google Drive, Docs, Sheets, Slides and Calendar. It allows Claude Desktop and other MCP clients to manage files in Google Drive through a standardized interface.
What tools does Google Drive MCP Server expose?
118 in total: 54 read-only, 55 that write, and 9 that can delete or overwrite (createParagraphBullets, deleteCalendarEvent, deleteComment, deleteGoogleSlide, deleteRange). Every one is listed on this page with its risk.
Is Google Drive MCP Server safe to connect to an agent?
With care. The audit graded it B (80/100) and found 22 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 9 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Google Drive MCP Server need?
It reads GOOGLE_APPLICATION_CREDENTIALS, GOOGLE_CLIENT_SECRET_PATH, GOOGLE_DRIVE_MCP_ACCESS_TOKEN, GOOGLE_DRIVE_MCP_AUTH_PORT, GOOGLE_DRIVE_MCP_CLIENT_SECRET, GOOGLE_DRIVE_MCP_REFRESH_TOKEN, GOOGLE_DRIVE_MCP_TOKEN_PATH, GOOGLE_DRIVE_MCP_TOKEN_REFRESH_TIMEOUT, GOOGLE_DRIVE_OAUTH_CREDENTIALS and GOOGLE_TOKEN_PATH from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Google Drive MCP Server run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @piotr-agier/google-drive-mcp at 2.12.0.
How current is this page?
The grade is for one exact copy of the source (54b5a3c575b1), read on 2026-10-12. The repository is watched and re-audited when it changes.

Sources

  • piotr-agier/google-drive-mcp on GitHub — the source we read, its licence, stars and activityObserved · 12 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 54b5a3c575b1Observed · 12 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.