config-production.json•1.61 kB
{
"google": {
"clientId": "${GOOGLE_CLIENT_ID}",
"clientSecret": "${GOOGLE_CLIENT_SECRET}",
"redirectUri": "${GOOGLE_REDIRECT_URI}",
"scopes": [
"https://www.googleapis.com/auth/drive.readonly",
"https://www.googleapis.com/auth/documents.readonly"
],
"applicationName": "Google Drive MCP Server Production"
},
"cache": {
"directory": "/var/cache/google-drive-mcp",
"maxSize": "5GB",
"defaultTTL": 7200,
"cleanupInterval": 600,
"enableCompression": true
},
"processing": {
"maxFileSize": "500MB",
"supportedMimeTypes": [
"application/vnd.google-apps.document",
"application/pdf",
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"text/plain",
"text/markdown",
"text/html",
"application/vnd.google-apps.presentation",
"application/vnd.google-apps.spreadsheet"
],
"chunkSize": 8000,
"summaryLength": 1000,
"maxConcurrentFiles": 5,
"enableOCR": true
},
"server": {
"port": "${PORT:-3000}",
"logLevel": "warn",
"requestTimeout": 60000,
"enableHealthCheck": true,
"enableMetrics": true
},
"retry": {
"maxRetries": 5,
"baseDelay": 2000,
"maxDelay": 30000,
"backoffFactor": 2
},
"security": {
"enableRateLimiting": true,
"maxRequestsPerMinute": 120,
"enableCORS": true,
"allowedOrigins": [
"https://your-domain.com"
]
},
"monitoring": {
"enableLogging": true,
"logDirectory": "/var/log/google-drive-mcp",
"enableMetrics": true,
"metricsPort": 9090
}
}