Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Enterprise Managed Authorization - Clarifying Agent vs User Identity

未关闭
#13 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞

调研方向

Start by reviewing the Enterprise-Managed Authorization profile and the current access-token identity model described in the issue, especially the user sub and client client_id claims. Determine whether agent-versus-user execution context is intended to be conveyed to resource servers or is out of scope, then document the answer and expected handling for enterprise API providers.

由索引模型根据 Issue 内容生成。

描述

While reviewing the Enterprise-Managed Authorization profile for MCP, I had a question from the perspective of an enterprise API provider (i.e., systems behind an MCP Server).

In the current flow, access tokens ultimately presented to MCP Resource Servers identify a user (sub) and a client (client_id). However, it is not clear how a downstream API or system can determine whether a request is being executed directly by the human user, or by an autonomous or semi-autonomous agent acting on the user’s behalf.

From the API’s point of view, these cases appear indistinguishable (please correct me if I am wrong), which effectively results in the agent fully impersonating the user at the backend system.

In many enterprise environments, this distinction is important for:

  • API-level policy enforcement (e.g., different rules for human vs delegated/agent actions)
  • Audit and regulation requirements
  • Explicit restrictions on silent or opaque user impersonation by agents

This raises a couple of clarification questions:

  • Is the current assumption that MCP Clients are treated purely as passive user agents (similar to browsers or CLIs)?
  • If not, is there an intended mechanism (in this spec or elsewhere) to convey “acting on behalf of” or execution context to resource servers so they can apply agent-aware policies?
  • If this is considered out of scope for the Enterprise Managed Authorization profile, where is this distinction expected to be handled?
主要语言
MDX
星标
164
派生
54
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

modelcontextprotocol/ext-auth 的其他 Issue

查看 modelcontextprotocol/ext-auth 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。