AgentHubAgentHub

Google Drive

MCP ServerMCP Registry官方收录

io.github.domdomegg/google-drive-mcp · v1.2.1

Allow AI systems to list, search, upload, download, and manage files and folders in Google Drive.

概览

Google Drive 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio、streamable-http 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "google-drive-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "google-drive-mcp"
      ],
      "env": {
        "GOOGLE_ACCESS_TOKEN": "<GOOGLE_ACCESS_TOKEN>"
      }
    }
  }
}

环境变量

GOOGLE_ACCESS_TOKEN必填secret

Google OAuth access token with Drive scopes.

MCP_TRANSPORT必填

Transport type.

GOOGLE_CLIENT_ID必填

Google OAuth client ID.

GOOGLE_CLIENT_SECRET必填secret

Google OAuth client secret.

相关资源

统一 Manifest

{
  "id": "io.github.domdomegg/google-drive-mcp",
  "type": "mcp-server",
  "version": "1.2.1",
  "displayName": "Google Drive",
  "description": "Allow AI systems to list, search, upload, download, and manage files and folders in Google Drive.",
  "repository": {
    "url": "https://github.com/domdomegg/google-drive-mcp.git",
    "source": "github"
  },
  "homepage": "https://github.com/domdomegg/google-drive-mcp#readme",
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "google-drive-mcp",
        "version": "1.2.1",
        "runtimeHint": "npx",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "GOOGLE_ACCESS_TOKEN",
            "description": "Google OAuth access token with Drive scopes.",
            "isRequired": true,
            "isSecret": true
          }
        ]
      },
      {
        "registryType": "npm",
        "identifier": "google-drive-mcp",
        "version": "1.2.1",
        "runtimeHint": "npx",
        "transport": "streamable-http",
        "environmentVariables": [
          {
            "name": "MCP_TRANSPORT",
            "description": "Transport type.",
            "isRequired": true
          },
          {
            "name": "GOOGLE_CLIENT_ID",
            "description": "Google OAuth client ID.",
            "isRequired": true
          },
          {
            "name": "GOOGLE_CLIENT_SECRET",
            "description": "Google OAuth client secret.",
            "isRequired": true,
            "isSecret": true
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.domdomegg/google-drive-mcp",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.domdomegg%2Fgoogle-drive-mcp/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
Google Drive — MCP Server 安装与配置 · AgentHub