The official Google Drive MCP server provides AI agents with access to Google Drive. Agents can search for files, read file contents (including Google Docs exported as plain text), and list files in directories. Requires Google Cloud OAuth2 credentials. Essential for agents that need to access documents, spreadsheets, and other files stored in Google Drive.
npx -y @modelcontextprotocol/server-gdrive
{
"mcpServers": {
"google-drive": {
"args": [
"-y",
"@modelcontextprotocol/server-gdrive"
],
"command": "npx"
}
}
}Search Google Drive files
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string"
},
"max_results": {
"type": "integer"
}
}
}// Input
{
"query": "quarterly report",
"max_results": 5
}// Output
{
"files": [
{
"id": "f1",
"name": "Q1 Report.pdf",
"mimeType": "application/pdf"
}
]
}Upload file to Google Drive
{
"type": "object",
"required": [
"name",
"content"
],
"properties": {
"name": {
"type": "string"
},
"content": {
"type": "string"
},
"folder_id": {
"type": "string"
},
"mime_type": {
"type": "string"
}
}
}// Input
{
"name": "notes.txt",
"content": "Meeting notes...",
"folder_id": "folder1"
}// Output
{
"id": "f2",
"web_view_link": "https://drive.google.com/file/d/f2/view"
}The official Google Drive MCP server provides AI agents with access to Google Drive. Agents can search for files, read file contents (including Google Docs exported as plain text), and list files in directories. Requires Google Cloud OAuth2 credentials. Essential for agents that need to access documents, spreadsheets, and other files stored in Google Drive.
Google Drive provides 2 tools including search_files, upload_file.
Yes, Google Drive is completely free to use with no usage limits on the free tier.
You can install Google Drive using the following command: npx -y @modelcontextprotocol/server-gdrive. After installation, add the provided config snippet to your Claude Desktop or Cursor configuration.
Google Drive is listed under the Productivity category in the AgentForge MCP registry.
Google Drive has a current uptime of 99.92% with an average response time of 180ms.
To connect Google Drive, click the "Connect Agent" button on this page to get the configuration snippet. Add it to your MCP client (Claude Desktop, Cursor, or any MCP-compatible tool). Your AI agent will then have access to all of Google Drive's tools via the Model Context Protocol.