# NousResearch/hermes-agent · Pass session user ID in MCP tool calls

## Open now

- 1 issue, 2 PRs open on GitHub.
- #91426: MCP tools/call should carry gateway session user id for per-user authorization
- PR #91427: feat(tools): pass gateway session user id on MCP tools/call
- PR #91469: feat(tools): attach session user id to MCP call_tool metadata

These items address attaching or forwarding the gateway session user ID when making MCP tools/call requests. The goal is to enable per-user authorization context to be carried through to tool invocations.

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

- #91426: MCP tools/call should carry gateway session user id for per-user authorization

## Prior & competing PRs

- **#91427: feat(tools): pass gateway session user id on MCP tools/call**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `51c204afa0121df451bd376de48898ee3a8cb1db`, `fc9cbc872d8050c22f1192b16bc5ff4aed471e10`, `443d4387b514655a8b090825079f0966d11e2511`, `#91427`, `#91426`, `#44654`, `#527`, `#81149`, `#42122`
  - files: `cli-config.yaml.example`, `plugins/platforms/feishu/adapter.py`, `plugins/platforms/feishu/feishu_meeting_invite.py`, `plugins/platforms/wecom/callback_adapter.py`, `tests/gateway/test_feishu.py`, `tests/gateway/test_feishu_approval_buttons.py`, `tests/gateway/test_feishu_channel_prompts.py`, `tests/gateway/test_feishu_meeting_invite.py`, `tests/gateway/test_wecom_callback.py`, `tests/tools/test_mcp_circuit_breaker.py`, `tests/tools/test_mcp_session_identity_meta.py`, `tools/mcp_tool.py`, `website/docs/user-guide/features/mcp.md`
- **#91469: feat(tools): attach session user id to MCP call_tool metadata**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#91427`
  - files: `tools/mcp_tool_handlers.py`

## Fix status

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