Atlas / MCP servers / felores / Gdrive

GdriveSAFE

mcp/felores/gdrive

Efficient implementation of the Google Drive MCP server

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
2 2r · 0w · 0d
Transport
stdio
License
MIT
Stars
72
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

A powerful Model Context Protocol (MCP) server that provides seamless integration with Google Drive, allowing AI models to search, list, and read files from Google Drive.

🚀 Features

Tools

1. gdrive_search

Search for files in your Google Drive with powerful full-text search capabilities.

  • Input:
{
"query": "string (your search query)"
}
  • Output: List of files with:
  • File name
  • MIME type
  • File ID
  • Last modified time
  • File size

2. gdrive_read_file

Read file contents directly using a Google Drive file ID.

  • Input:
{
"file_id": "string (Google Drive file ID)"
}
  • Output: File contents with appropriate format conversion

Automatic File Format Handling

The server intelligently handles different Google Workspace file types:

  • 📝 Google Docs → Markdown
  • 📊 Google Sheets → CSV
  • 📊 Google Presentations → Plain text
  • 🎨 Google Drawings → PNG
  • 📄 Text/JSON files → UTF-8 text
  • 📦 Other files → Base64 encoded

🛠️ Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn
  • A Google Cloud Project
  • A Google Workspace or personal Google account

Detailed Google Cloud Setup

  1. Create a Google Cloud Project
  2. Visit the Google Cloud Console
  3. Click "New Project"
  4. Enter a project name (e.g., "MCP GDrive Server")
  5. Click "Create"
  6. Wait for the project to be created and select it
  1. Enable the Google Drive API
  2. Go to the API Library
  3. Search for "Google Drive API"
  4. Click on "Google Drive API"
  5. Click "Enable"
  6. Wait for the API to be enabled
  1. Configure OAuth Consent Screen
  2. Navigate to OAuth consent screen
  3. Select User Type:
  4. "Internal" if you're using Google Workspace
  5. "External" for personal Google acc
Read from source at commit d63ff7d5d790OBSERVED · 2026-10-07
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add server-gdrive --env GOOGLE_APPLICATION_CREDENTIALS=${GOOGLE_APPLICATION_CREDENTIALS} --env MCP_GDRIVE_CREDENTIALS=${MCP_GDRIVE_CREDENTIALS} -- npx -y @modelcontextprotocol/[email protected]
claude-desktop
{
  "mcpServers": {
    "server-gdrive": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/[email protected]"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "${GOOGLE_APPLICATION_CREDENTIALS}",
        "MCP_GDRIVE_CREDENTIALS": "${MCP_GDRIVE_CREDENTIALS}"
      }
    }
  }
}
03

Exposed tools (2)

2 read · 0 write · 0 destructive.

ToolRiskDescription
gdrive_read_filereadRead a file from Google Drive using its Google Drive file ID (don
gdrive_searchreadSearch for files specifically in your Google Drive account (don
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@google-cloud/local-auth, @modelcontextprotocol/sdk, googleapis, @types/node, shx, typescript
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha d63ff7d5d790full audit observations/trust-audit/mcp-server/felores__gdrive.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07d63ff7d5d790SAFEB89first audit
06

Questions

What is the Gdrive MCP server?

Efficient implementation of the Google Drive MCP server

What tools does Gdrive expose?

2 in total: 2 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Gdrive safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Gdrive need?

It reads GOOGLE_APPLICATION_CREDENTIALS and MCP_GDRIVE_CREDENTIALS 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 Gdrive run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @modelcontextprotocol/server-gdrive at 0.6.2.

How current is this page?

The grade is for one exact copy of the source (d63ff7d5d790), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement