Provides a Model Context Protocol (MCP) interface for seamless interaction with Google Drive, enabling file search, content retrieval, metadata access, and OAuth-authenticated operations via HTTP or stdio transport.
Unlock the full potential of Google Drive MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
A server that provides MCP (Machine Control Protocol) interface to interact with Google Drive files and folders.
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e .
Set up Google Drive API credentials:
credentials.json
Set up Google Drive authentication:
python -m gdrive_mcp_server.auth_setup --credentials /path/to/your/credentials.json --token /path/to/your/tokens.json
Run the server:
# Standard mode gdrive-mcp # HTTP mode gdrive-mcp --http
To integrate with Claude Desktop, add the following configuration to your claude_desktop_config.json
:
"mcpServers": { "google_drive": { "command": "/path/to/your/venv/bin/gdrive-mcp", "args": [ "--token", "/path/to/your/tokens.json" ] } }
Replace the paths with your actual paths:
command
: Path to the gdrive-mcp executable in your virtual environmentargs[1]
: Path to your tokens.json file (generated during authentication setup)The project uses:
Development dependencies can be installed with:
pip install -e ".[dev]"
MIT License
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!