Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server-gdrive disconnects after 3.517 seconds due to googleapis initialization delay #466

Open
shin-mo opened this issue Jan 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@shin-mo
Copy link

shin-mo commented Jan 3, 2025

Description
The server-gdrive plugin consistently disconnects after 3.517 seconds due to googleapis module loading all APIs instead of only the required Drive API.

Steps to Reproduce
Configure server-gdrive in Claude Desktop
Attempt server connection
Server disconnects after exactly 3.517 seconds
Technical Details
Node.js version: v22.12.0
OS: macOS
Claude Desktop version: Latest
server-gdrive version: 0.7.7
Analysis
googleapis package loads all API modules (~100+)
Memory usage: ~750MB
Initialization delay: 335ms + 416ms
Consistent timeout at 3.517 seconds
Logs
2025-01-01T06:21:22.263Z [info] Attempting to connect to MCP server filesystem...
2025-01-01T06:21:22.266Z [info] Attempting to connect to MCP server brave-search...
2025-01-01T06:21:22.266Z [info] Attempting to connect to MCP server notion...
2025-01-01T06:21:22.266Z [info] Attempting to connect to MCP server gdrive...
2025-01-01T06:21:22.275Z [info] Connected to MCP server brave-search!
2025-01-01T06:21:22.275Z [info] Connected to MCP server filesystem!
2025-01-01T06:21:22.276Z [info] Connected to MCP server notion!
2025-01-01T06:21:22.279Z [info] Connected to MCP server gdrive!
2025-01-01T06:21:25.796Z [info] MCP server gdrive disconnected.

Expected Behavior
Server should maintain connection
Only Drive API should be loaded
Memory usage should be ~100MB
Additional Notes
Other MCP servers (filesystem, brave-search, notion) work correctly
Issue appears to be in the googleapis implementation within server-gdrive

@shin-mo shin-mo added the bug Something isn't working label Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant