
A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

A Model Context Protocol server that integrates Google Drive for file listing, content retrieval, search, AI-powered content analysis, and organization insights.
Google Drive MCP Server is cataloged as an MCP server attributed to danfeder. A Model Context Protocol server that integrates Google Drive for file listing, content retrieval, search, AI-powered content analysis, and organization insights. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Google Drive MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It uses a secure OAuth2 flow with Google, session-based authentication, and automatic token refresh, requesting read-only Drive access.
No persistent storage of user data occurs; sessions are encrypted and managed.
README.md · 446f11aa33b3 · Fetched 2026-11-13 11:04:20 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
AI-powered Google Drive integration through Model Context Protocol (MCP) providing intelligent file management, content analysis, and organization insights.
list_files - List files and folders with advanced filtering and paginationget_file_content - Extract and retrieve file content with metadatasearch_files - Full-text search with relevance scoring and filteringanalyze_content - AI-powered content analysis with summarization and categorizationget_organization_insights - Drive organization analysis with actionable recommendationsgit clone <repository-url>
cd gdrive-sparc-mcp
npm install
Create Google Cloud Project
Enable Google Drive API
# Using gcloud CLI
gcloud services enable drive.googleapis.com
Create OAuth2 Credentials
http://localhost:3000/auth/callbackCreate .env file from template:
cp .env.example .env
Configure required environment variables:
# Google OAuth Configuration (Required)
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_REDIRECT_URI=http://localhost:3000/auth/callback
# Session Configuration (Required)
SESSION_SECRET=your-secure-session-secret-at-least-32-characters
# Optional Configuration
NODE_ENV=production
LOG_LEVEL=info
CACHE_TTL=300
CACHE_MAX_SIZE=1000
RATE_LIMIT_WINDOW=60000
RATE_LIMIT_MAX_REQUESTS=100
# Build TypeScript
npm run build
# Start server
npm start
# Or for development
npm run dev
| Variable | Required | Default | Description |
|---|---|---|---|
GOOGLE_CLIENT_ID | ✅ | - | Google OAuth2 Client ID |
GOOGLE_CLIENT_SECRET | ✅ | - | Google OAuth2 Client Secret |
GOOGLE_REDIRECT_URI | ✅ | - | OAuth2 Redirect URI |
SESSION_SECRET | ✅ | - | Session encryption secret (32+ chars) |
NODE_ENV | ❌ | development | Environment mode |
LOG_LEVEL | ❌ | info | Logging level (error, warn, info, debug) |
CACHE_TTL | ❌ | 300 | Cache TTL in seconds |
CACHE_MAX_SIZE | ❌ | 1000 | Maximum cache entries |
RATE_LIMIT_WINDOW | ❌ | 60000 | Rate limit window (ms) |
RATE_LIMIT_MAX_REQUESTS | ❌ | 100 | Max requests per window |
The server requests the following OAuth2 scopes:
https://www.googleapis.com/auth/drive.readonly - Read access to Google Drive fileshttps://www.googleapis.com/auth/userinfo.profile - Basic profile informationAdd to your MCP client configuration:
{
"mcpServers": {
"gdrive-sparc-mcp": {
"command": "node",
"args": ["path/to/gdrive-sparc-mcp/dist/server.js"]
}
}
}
{
"name": "list_files",
"arguments": {
"folderId": "optional-folder-id",
"recursive": true,
"maxResults": 50,
"orderBy": "modifiedTime"
}
}
{
"name": "search_files",
"arguments": {
"query": "project proposal",
"filters": {
"mimeTypes": ["application/pdf", "application/vnd.google-apps.document"]
},
"options": {
"maxResults": 20,
"includeSnippets": true
}
}
}
{
"name": "analyze_content",
"arguments": {
"fileIds": ["file-id-1", "file-id-2"],
"analysisOptions": {
"enableSummarization": true,
"enableCategorization": true,
"enableKeywordExtraction": true
}
}
}
{
"name": "get_organization_insights",
"arguments": {
"scope": {
"folderId": "optional-folder-id",
"includeSubfolders": true,
"fileLimit": 1000
},
"analysisOptions": {
"enableDuplicateDetection": true,
"enableStructureAnalysis": true
}
}
}
# Run all tests
npm test
# Run with coverage
npm run test:coverage
# Run specific test suite
npm test -- tests/auth/auth-service.test.ts
# Run integration tests
npm test -- tests/integration/
Test the MCP server functionality:
# Test server startup and tool listing
node test-server.js
Build Docker Image
docker build -t gdrive-sparc-mcp .
Run Container
docker run -d \
--name gdrive-mcp \
-p 3000:3000 \
--env-file .env \
gdrive-sparc-mcp
Environment Setup
# Set production environment
export NODE_ENV=production
export LOG_LEVEL=warn
# Configure production secrets
export SESSION_SECRET="your-production-session-secret"
export GOOGLE_CLIENT_ID="your-production-client-id"
export GOOGLE_CLIENT_SECRET="your-production-client-secret"
Process Management
# Using PM2
npm install -g pm2
pm2 start dist/server.js --name gdrive-mcp
pm2 save
pm2 startup
Health Monitoring
# Check server health
curl -X POST http://localhost:3000 \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# Check configuration validation
npm run build && node dist/server.js
# Enable debug logging
export LOG_LEVEL=debug
npm start
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Version: 1.0.0
Last Updated: 2025-01-30
Maintainer: SPARC Development Team
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Google Drive MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/gdrive-sparc-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.