# NousResearch/hermes-agent · MCP OAuth client placeholder overwrite bug fix

## Open now

- 1 issue, 2 PRs open on GitHub.
- #108253: \[Bug\]: Unified dashboard wipes profile OAuth MCP token and rewrites client_id as ${VAR} placeholder
- PR #108269: fix(mcp): never treat an unresolved ${VAR} placeholder as the OAuth client identity
- PR #140308: MCP OAuth: an unset ${VAR} client ID is treated as unset on every flow, never sent or stored (salvage #108269, inspired by Cursor)

A bug caused unresolved ${VAR} placeholder strings to overwrite valid OAuth client identities in MCP configurations. Fixes prevent placeholder values from being treated as or written over real OAuth client credentials.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Open related issues

- #108253: \[Bug\]: Unified dashboard wipes profile OAuth MCP token and rewrites client_id as ${VAR} placeholder

## Prior & competing PRs

- **#108269: fix(mcp): never treat an unresolved ${VAR} placeholder as the OAuth client identity**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#140308`
  - files: `tests/tools/test_mcp_oauth.py`, `tools/mcp_oauth.py`
- **#108984: fix(mcp): refuse to overwrite OAuth client with unresolved placeholder (#108253)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#108269`, `#108253`, `#108269`
- **#140308: MCP OAuth: an unset ${VAR} client ID is treated as unset on every flow, never sent or stored (salvage #108269, inspired by Cursor)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `7575ff7620d787fbff20a9a47199ec414c5006de`
  - files: `tests/tools/test_mcp_oauth.py`, `tools/mcp_oauth.py`, `tools/mcp_oauth_provider.py`

## Fix status

- No merged fix on record.
- Subsystem: `mcp`
