hermes - 💡(How to fix) Fix [Bug]: GoogleDrive MCP server fails to pass the "hermes mcp login gdrivemcpserver" stage with correct configuration [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Fix Action

Fixed

Code Example

Report     https://paste.rs/jJGw8
agent.log  https://paste.rs/p8mM6

---
RAW_BUFFERClick to expand / collapse

Bug Description

I am trying to connect GoogleDrive's MCP server to Hermes. This was fixed a few days ago as a result of me raising #35437 with this PR. I tested with that commit, but while the login now fails as expected, even after providing the right credentials (clientID and clientSecret) the login command still fails. I used a completely new Hermes installation to test just this. In the log files and the descriptions below you might see different names for the mcp servers I added throught my testing. This is unintentional and I hope it does not add any confusion.

Steps to Reproduce

  1. In Google Cloud Console, create a project with the following Enabled APIs:<img width="421" height="1210" alt="Image" src="https://github.com/user-attachments/assets/bade3316-c34f-4a05-9ba4-b09253f1b8a1" />
  2. Create an Oauth2 ClientID and note the client_id:
<img width="1879" height="195" alt="Image" src="https://github.com/user-attachments/assets/02bf3b07-7b6c-4a8b-966c-b4cb14889ef1" /> 3. Create a Client secret and note the client_secret: <img width="693" height="175" alt="Image" src="https://github.com/user-attachments/assets/cff350e5-8a47-4412-b66d-37d36a3e1b8a" />
  1. Edit the Hermes config.yaml
  2. Add a new MCP server configuration:<img width="1429" height="246" alt="Image" src="https://github.com/user-attachments/assets/1cf4c7d9-b9de-4171-851d-d6b8a868f73f" />I'm not sure if the url/client_id/client_secret sections require or not quotes. In the documentation here I see quotes, but I tried with or without, and neither fixed the issue.
  3. execute "hermes mcp login googledrivemcpserver"

Expected Behavior

Successful Oauth authentication

Actual Behavior

<img width="1905" height="520" alt="Image" src="https://github.com/user-attachments/assets/f74ef0dc-b5ad-468b-b278-13f16709d125" />

Affected Component

Skills (skill loading, skill hub, skill guard)

Messaging Platform (if gateway-related)

No response

Debug Report

Report     https://paste.rs/jJGw8
agent.log  https://paste.rs/p8mM6

Operating System

Ubuntu 24.04.2

Python Version

3.12.3

Hermes Version

Hermes Agent v0.15.1 (2026.5.29) Project: /home/vrosu/.hermes/hermes-agent Python: 3.11.15 OpenAI SDK: 2.24.0 Up to date

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

After adding the mcp server entry in config.yaml and after performing the login command, I see the corresponding .client.json being created in .../mcp-tokens

<img width="1393" height="514" alt="Image" src="https://github.com/user-attachments/assets/2af40d5b-490e-47b5-908d-a7e00996a90b" />

I removed the file, then attempted the login command and it's being recreated each time, just the login flow does not succeed.

Proposed Fix (optional)

  1. Fix
  2. Or in case this is a documentation issue and the corresponding Oauth2 Client needs to be created with another type (not desktop), it should be mentioned in the documentation

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Bug]: GoogleDrive MCP server fails to pass the "hermes mcp login gdrivemcpserver" stage with correct configuration [1 pull requests]