# NousResearch/hermes-agent · MCP cross-profile connection identity adoption bug

## Open now

- Nothing open on GitHub.

A bug where multiplexed profiles incorrectly adopt MCP connections opened under a different profile's identity or secret-source environment. The fixes enforce that a profile only adopts a shared connection when the computed identity matches its own.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #124119. Verify it addresses your case.
- **Recommended:** read PR #124119 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-124119`. 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.67`: 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.

## Closed / duplicate issues

- #122665: \[Bug\]: multiplexed profiles adopt another profile's MCP connection opened with that profile's secret-source env / identity header

## Prior & competing PRs

- **#124119: fix(mcp): a profile only adopts a shared connection whose resolved identity matches its own**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/gateway/test_multiplex_mcp_discovery.py`, `tests/tools/test_mcp_multiplex_connection_keys.py`, `tests/tools/test_mcp_shared_connection_resolved_identity.py`, `tools/mcp_tool.py`, `tools/mcp_tool_registration.py`, `tools/mcp_tool_server_run.py`, `tools/mcp_tool_transport.py`
- **#122666: fix(mcp): a profile only adopts a shared connection whose resolved identity matches its own**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `684f7e99274714c4cb27c55d7ccc83af8166a731`, `#124119`
- **#123233: fix(mcp): compare effective connection inputs before cross-profile adoption**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `684f7e99274714c4cb27c55d7ccc83af8166a731`, `#124119`

## Fix status

- Merged to main in PR #124119 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-26`.
