# NousResearch/hermes-agent · MCP OAuth consent and token handling from chat platforms

## Open now

- 1 issue, 2 PRs open on GitHub.
- #78169: \[Feature\]: Surface headless MCP OAuth consent URLs in the originating platform
- PR #79449: feat(mcp): associate OAuth tokens with requesting user and surface consent in chat
- PR #140206: feat(gateway): /mcp — connect an OAuth MCP server from chat with the device flow

These items all concern connecting OAuth-protected MCP servers from a chat or gateway context. Themes include showing consent URLs in the originating platform, using a device flow via a /mcp command, and associating OAuth tokens with the requesting user.

## 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

- #78169: \[Feature\]: Surface headless MCP OAuth consent URLs in the originating platform

## 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`
- **#140206: feat(gateway): /mcp — connect an OAuth MCP server from chat with the device flow**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `a6d1abe8f3a7`
  - files: `apps/desktop/src/lib/desktop-slash-registry.json`, `gateway/run_busy.py`, `gateway/slash_commands.py`, `gateway/slash_commands_mcp.py`, `hermes_cli/commands.py`, `hermes_cli/commands_platforms.py`, `locales/af.yaml`, `locales/ar.yaml`, `locales/de.yaml`, `locales/en.yaml`, `locales/es.yaml`, `locales/fr.yaml`, `locales/ga.yaml`, `locales/hu.yaml`, `locales/it.yaml`, `locales/ja.yaml`, `locales/ko.yaml`, `locales/pt.yaml`, `locales/ru.yaml`, `locales/tr.yaml` (+11 more)

## Fix status

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