A server that provides a Machine Control Protocol (MCP) interface to search, access, and interact with Google Drive files and folders, enabling AI assistants to work with Google Drive content.
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!