# NousResearch/hermes-agent · MCP OAuth user association and per-run metadata

## Open now

- 1 issue, 2 PRs open on GitHub.
- #78174: \[Feature\]: Associate MCP OAuth authorization with the requesting user
- PR #79449: feat(mcp): associate OAuth tokens with requesting user and surface consent in chat
- PR #104866: feat(gateway): server-scoped per-run MCP metadata

These items cover associating MCP OAuth tokens and authorization with the requesting user, surfacing consent in chat, and adding server-scoped per-run MCP metadata at the gateway level.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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.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.

## Open related issues

- #78174: \[Feature\]: Associate MCP OAuth authorization with the requesting user

## Prior & competing PRs

- **#79449: feat(mcp): associate OAuth tokens with requesting user and surface consent in chat**. open
  - maintainer direction: category `silent_close`; implication `active`
  - files: `gateway/platforms/base.py`, `gateway/run.py`, `hermes_cli/config_defaults.py`, `hermes_cli/mcp_config.py`, `hermes_cli/subcommands/mcp.py`, `hermes_cli/web_server.py`, `tests/hermes_cli/test_mcp_config.py`, `tests/tools/test_mcp_circuit_breaker.py`, `tests/tools/test_mcp_gateway_oauth.py`, `tests/tools/test_mcp_oauth_integration.py`, `tests/tools/test_mcp_oauth_per_user_identity.py`, `tests/tools/test_mcp_tool_401_handling.py`, `tools/mcp_gateway_oauth.py`, `tools/mcp_oauth.py`, `tools/mcp_oauth_identity.py`, `tools/mcp_oauth_manager.py`, `tools/mcp_tool.py`, `website/docs/user-guide/features/mcp.md`
- **#104866: feat(gateway): server-scoped per-run MCP metadata**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `70886be29be77dbaa137ece093de696c3ddb7c2e`, `c8aa5608c24e3636e77c267650c0f1f52e44adb0`, `c4a5deeffa959f8ebc891e02c5bcf767aff1dd2a`, `#27922`, `#41887`, `#85816`, `#104866`, `#64938`, `#99594`
  - files: `gateway/platforms/api_server.py`, `gateway/platforms/api_server_runs.py`, `tests/gateway/test_api_server_mcp_meta.py`, `tests/gateway/test_api_server_mcp_meta_profiles.py`, `tools/mcp_run_meta.py`, `tools/mcp_tool_handlers.py`, `website/docs/user-guide/features/api-server.md`

## Fix status

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