Open
Description
Describe the bug
When running npx @modelcontextprotocol/server-gdrive auth
, the command fails with a MODULE_NOT_FOUND
error, as it cannot find gcp-oauth.keys.json
.
Error Message
Error: Cannot find module '/Users/quantum_rt_server/.npm/_npx/901beb8b1a496dd2/node_modules/gcp-oauth.keys.json'
Require stack:
/Users/quantum_rt_server/.npm/_npx/901beb8b1a496dd2/node_modules/@google-cloud/local-auth/build/src/index.js
What I've Tried
The command fails even when credentials are provided using standard methods:
- Setting the
GOOGLE_APPLICATION_CREDENTIALS
environment variable. The commandecho $GOOGLE_APPLICATION_CREDENTIALS
confirms the variable is set correctly in my shell, but the tool still ignores it. - Placing a valid
gcp-oauth.keys.json
file in the current working directory. - Providing a direct path to the credentials file as a command-line argument.
Environment:
- OS: macOS
- Shell: zsh