Skip to main content
Glama
pedrohzwang

Google Drive MCP Server

by pedrohzwang

Google Drive MCP Server

This is a simple MCP server that integrates with Google Drive.

Prerequisites

  1. Node.js: Version 18 or higher is recommended (the current environment is using 16, so you might need to upgrade for full compatibility).

  2. Google Cloud Project:

    • Go to the Google Cloud Console.

    • Create a project.

    • Enable the Google Drive API.

    • Create a Service Account and download the JSON key file.

  3. Authentication:

    • Set the environment variable GOOGLE_APPLICATION_CREDENTIALS to the path of your JSON key file.

    • Alternatively, share the folder/files you want to access with the service account's email address.

Configuration for Claude Desktop

Add the following to your Claude Desktop configuration file:

Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "google-drive": {
      "command": "node",
      "args": [
        "c:/git/projects/drive-mcp-connect/build/index.js"
      ],
      "env": {
        "GOOGLE_APPLICATION_CREDENTIALS": "C:/path/to/your/service-account-key.json"
      }
    }
  }
}

Tools Provided

  • list_files: List files in your Google Drive.

  • get_file_info: Get metadata for a specific file by its ID.

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pedrohzwang/drive-mcp-connect'

If you have feedback or need assistance with the MCP directory API, please join our Discord server