You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run docker with docker run -i --rm --mount type=bind,source=/path/to/gcp-oauth.keys.json,target=/gcp-oauth.keys.json -v mcp-gdrive:/gdrive-server -e GDRIVE_OAUTH_PATH=/gcp-oauth.keys.json -e "GDRIVE_CREDENTIALS_PATH=/gdrive-server/credentials.json" -p 3000:3000 mcp/gdrive auth
Follow oauth link
Log in
This site can't be reached on redirect_uri
Expected behavior
Logging in to work
Logs
None
Additional context
Looks like docker only exposes 3000 but the redirect_uri is set to trying http://localhost:37423/ . Tried exposing 37423 but no luck
The text was updated successfully, but these errors were encountered:
❯ docker run -i --rm --mount type=bind,source=/Users/mambo/mcp-servers/gcp-oauth.keys.json,target=/gcp-oauth.keys.json -v ./mcp-gdrive:/gdrive-server -e GDRIVE_OAUTH_PATH=/gcp-oauth.keys.json -e "GDRIVE_CREDENTIALS_PATH=/gdrive-server/credentials.json" -p 3000:3000 mcp/gdrive auth
Launching auth flow…
(node:1) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Open this URL in your browser: https://accounts.google.com/o/oauth2/v2/auth?redirect_uri=http%3A%2F%2Flocalhost%3A3000%2F&access_type=offline&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive.readonly&response_type=code&client_id=xxxx
Credentials saved. You can now run the server.
Describe the bug
Instructions on https://github.com/modelcontextprotocol/servers/tree/main/src/gdrive do not work, oauth redirect 404s.
To Reproduce
Steps to reproduce the behavior:
docker run -i --rm --mount type=bind,source=/path/to/gcp-oauth.keys.json,target=/gcp-oauth.keys.json -v mcp-gdrive:/gdrive-server -e GDRIVE_OAUTH_PATH=/gcp-oauth.keys.json -e "GDRIVE_CREDENTIALS_PATH=/gdrive-server/credentials.json" -p 3000:3000 mcp/gdrive auth
redirect_uri
Expected behavior
Logging in to work
Logs
None
Additional context
Looks like docker only exposes 3000 but the redirect_uri is set to trying http://localhost:37423/ . Tried exposing 37423 but no luck
The text was updated successfully, but these errors were encountered: