Skip to content

Add delegated end-user context proposal - #3239

Open
axiak wants to merge 1 commit into
modelcontextprotocol:mainfrom
axiak:main
Open

Add delegated end-user context proposal#3239
axiak wants to merge 1 commit into
modelcontextprotocol:mainfrom
axiak:main

Conversation

@axiak

@axiak axiak commented Aug 14, 2026

Copy link
Copy Markdown

Summary

Adds a draft Extensions Track SEP for io.modelcontextprotocol/delegated-end-user-context. The proposal defines per-request end-user identity and verification context for MCP clients that act on behalf of multiple users over one connection.

The extension lets servers publish tool and resource-scope policies for anonymous, claimed, and verified users. Clients may narrow those policies but cannot expand them. Servers enforce the resulting policy, scope data to the asserted end user, and can require signed JWT assertions for higher-trust requests.

Motivation and Context

Customer-facing MCP clients often use broad connector credentials while serving anonymous and authenticated visitors with different access levels. MCP does not currently provide a standard way to convey the end user's identity, verification level, or permitted data scope per request.

This proposal uses extension negotiation for server-defined policies and request _meta for end-user context. It avoids new JSON-RPC methods and supports concurrent users and verification upgrades without reconnecting.

How Has This Been Tested?

  • Ran npm run check:seps successfully.
  • The proposal includes request, response, policy-negotiation, identity-verification, and denial examples. No reference implementation is included yet.

Breaking Changes

None. The extension is additive and opt-in. Clients and servers that do not negotiate it continue using standard MCP behavior.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

Additional context

This proposal is seeking a sponsor. An example server implementation is available.

Describe a per-request identity and verification context for delegated MCP access, with server-defined policies that clients can only narrow and server-enforced data scopes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant