Skip to content

Capabilities API + server/discover handler #2896

Open

Description

@maxisbey

Tracks: #2804 #2793

Let servers/clients actually configure what they advertise (currently pre-computed), surface the extensions map, and provide the default server/discover handler that returns it.

What's in it

  • Rework get_capabilities() / InitializationOptions so capabilities are configurable, not pre-computed.
  • The extensions capability map surfaced on both client and server.
  • Default server/discover handler: capabilities, serverInfo, supportedVersions, instructions (cache-hint defaults from Caching hints (ttlMs / cacheScope) #2899).

Conformance

  • (the discover checks live inside server-stateless)
  • Together with Backwards compatibility & version negotiation, New HTTP serving path (modern + dual-era), subscriptions/listen, Context object (layered, per-request): server-stateless

Dependencies

References

Activity

  1. added
    v2
    spec-2026-07-28
    on Jun 17, 2026
  2. self-assigned this
    on Jun 18, 2026
  3. added
    enhancement
    P2
    on Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2enhancementspec-2026-07-28v2

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions