Google Drive MCP - MCP Server segur per ALMC Security 2025

Google Drive MCP

Veure a GitHub

Google Drive MCP

This project connects Claude Desktop to your Google Drive via the Model Context Protocol (MCP), allowing Claude to access and interact with your Drive files and folders securely.

Setup and Usage

Follow these steps in order to get the app running:

  1. Get Google OAuth Credentials

    • Go to the Google Cloud Console Credentials page to create a project and enable the Google Drive API.
    • Create OAuth 2.0 Client IDs credentials with application type Desktop app.
    • Note your Client ID, Client Secret, and set your Redirect URI to http://localhost:3000.
  2. Create a .env File

    In the root of your project, create a .env file and add the following variables:

CLIENT_ID=your-client-id-here
CLIENT_SECRET=your-client-secret-here
REDIRECT_URI=http://localhost:3000
  1. Install Dependencies
npm install
  1. Generate Google API Token
npm run tokenGenerator

This will open a browser to authenticate with Google and save a token.json file in your project root.

  1. Build the project
npm run build
  1. Install Claude Desktop (if not already installed)

    Download and install Claude Desktop from https://claude.ai/download.

  2. Configure Claude Desktop MCP Servers

    In a text editor open the Claude Desktop config file at:

    macOS/Linux:

    ~/Library/Application Support/Claude/claude_desktop_config.json
    

    Windows:

    %APPDATA%\Claude\claude_desktop_config.json
    

Add the following MCP server configuration, adjusting the path to your build output and environment variables accordingly:

{
  "mcpServers": {
    "googleDrive": {
      "command": "node",
      "args": ["path/to/your/build/index.js"],
      "env": {
        "CLIENT_ID": "your-actual-client-id",
        "CLIENT_SECRET": "your-actual-client-secret",
        "REDIRECT_URI": "http://localhost:3000"
      }
    }
  }
}

Save the file

  1. Restart Claude Desktop

Instal\u00b7lem i gestionem el teu servidor MCP

El nostre equip configura, desplega i manté servidors MCP adaptats a la teva infraestructura.

  • Instal\u00b7lació i configuració professional
  • Integració amb els teus sistemes existents
  • Suport tècnic i manteniment continu
  • Seguretat i auditoria personalitzada

Resposta en menys de 24h · Sense compromís

Consulta ràpida sobre MCP

Relacionats a Emmagatzematge en núvol - MCP Servers segurs