Skip to content

Track SEP-3371 (consistent SDK extension points): gaps on main #1354

Backlog

Description

@sambhav

SEP-3371 (Consistent SDK Extension Points) was accepted by Core Maintainer vote on 28 November 2026. I'm the SEP author, and this issue tracks where main stands against it.

The SEP defines three public extension points for protocol version 2026-07-28 and later: extension registration, custom methods, and JSON-RPC middleware. The API shape is the SDK's choice; only the outcomes are required. The requirements are MUST for Tier 1 SDKs and SHOULD for other SDKs. It takes effect with the first specification release after the SEP reaches Final.

Where main stands

Preliminary assessment based on published APIs and documentation, rather than an exhaustive commit-pinned source read. Nothing was built or run, so corrections are welcome. Unverified items are not claims of missing functionality.

Area Status Detail
Registration Partial McpFeature groups server contributions; identifier-based registration in both roles not established.
Capabilities Partial Features contribute server capabilities; extension-owned settings in both roles need verification.
Dependencies Not verified Core-capability and extension dependency checks.
Lifecycle Not verified Registered-extension introspection and atomic installation.
Custom requests Partial Modern server features provide custom handlers; typed registration and client equivalents need verification.
Custom notifications Not verified Registration and sending in both roles.
Method conflicts Partial Duplicate server method registrations are rejected; cross-kind and client conflicts need verification.
Middleware coverage Not verified General JSON-RPC middleware in both directions and roles.
Middleware abilities Not verified Mutation, early return and notification suppression.
Streams Not verified Reactive streaming exists; per-message middleware coverage is not established.
Ordering Not verified Application and extension middleware composition.
Stability Not verified Stability of the relevant modern APIs.
Documentation Partial Modern server documentation describes features; SEP-specific coverage needs verification.
Packaging docs (SHOULD) Not verified Third-party extension packaging and compatibility.

Main gaps

  1. Establish identifier-based extension registration and dependency semantics.
  2. Establish client-side custom method and notification coverage.
  3. Establish general JSON-RPC middleware and per-message reactive stream coverage.

Not verified

  • Items marked not verified or partially covered in the table.
  • Preservation of unknown and nested _meta keys.
  • Cleanup on cancellation, failure and early return.
  • Exact current source revision and complete public API coverage.

Conformance

The conformance approach is proposed in modelcontextprotocol/conformance#606. It would have the SDK's conformance fixtures install small synthetic extensions built only on the SDK's public APIs.

What would help

  • Corrections to the table above.
  • A maintainer view on which gaps you would close and how; the SEP leaves the design to each SDK.
  • Whether a maintainer has time to work on this with me. I can help with the conformance fixture.

AI assistance: this preliminary assessment and write-up were prepared with ChatGPT at my direction.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions