Overview
Google Drive MCP Server is a powerful Model Context Protocol (MCP) server that integrates seamlessly with Google Drive, enabling AI models to search, list, and read files from Google Drive.
To use the server, set up a Google Cloud Project, enable the Google Drive API, configure OAuth credentials, and run the server as a command line tool or integrate it with a desktop application.
- Full-text search capabilities for files in Google Drive. - Read file contents directly using Google Drive file IDs. - Automatic handling of various Google Workspace file types (e.g., Google Docs to Markdown, Google Sheets to CSV).
- Searching for documents in Google Drive.
- Reading and processing file contents programmatically.
- Integrating Google Drive functionalities into desktop applications.
Add to your AI client
Use these steps to connect Google Drive MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"felores-gdrive-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-felores-gdrive-mcp-server-mcp-mirror"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"felores-gdrive-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-felores-gdrive-mcp-server-mcp-mirror"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"felores-gdrive-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-felores-gdrive-mcp-server-mcp-mirror"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"felores-gdrive-mcp-server-mcp-mirror": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-felores-gdrive-mcp-server-mcp-mirror"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"felores-gdrive-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-felores-gdrive-mcp-server-mcp-mirror"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"felores-gdrive-mcp-server-mcp-mirror": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-felores-gdrive-mcp-server-mcp-mirror"
]
}
}
}FAQ
**What are the prerequisites for using the server?**
You need Node.js (v16 or higher), npm or yarn, a Google Cloud Project, and a Google account.
**Is the server secure?**
Yes, it uses OAuth 2.0 for secure authentication and stores sensitive credentials in a dedicated directory.
**Can I contribute to the project?**
Yes! Contributions are welcome, and you can submit a Pull Request.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1020,"uuid":"6da8cbad-9f00-4b36-b8db-798dc2152d21","name":"felores_gdrive-mcp-server","title":"Google Drive MCP Server","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2025-01-28T02:26:55.852Z","updated_at":"2025-02-23T07:13:15.512Z","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"gdrive,mcp-server,google-drive-integration","category":"cloud-platforms","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/felores_gdrive-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]