Skip to content

T4 - add request metadata, result type, cache hints, error codes, discover schemas types #242

Closed

Description

@kubinio123

Target branch: 2026-07-28-protocol-support

  • MetaKeys object with the reserved _meta keys (progressToken, io.modelcontextprotocol/protocolVersion,
    clientInfo, clientCapabilities, logLevel, subscriptionId, serverInfo, traceparent, tracestate,
    baggage) and helpers to read and write typed values in Option[Map[String, Json]].
  • ResultType (Complete, InputRequired, Other(String)) and resultType: Option[ResultType] on every result type.
  • CacheScope (Public, Private) and ttlMs, cacheScope on ListToolsResponse, ListPromptsResult,
    ListResourcesResult, ListResourceTemplatesResult, ReadResourceResult.
  • DiscoverParams and DiscoverResult for server/discover.
  • Error codes -32020, -32021, -32022 with typed data (supported, requested, requiredCapabilities).
  • extensions: Option[Map[String, Json]] on ClientCapabilities and ServerCapabilities.
  • Schema test cases for each type against the 2026-07-28 schema.

Spec:

Conformance scenarios that must pass after this task: none.

Docs: no.

Activity

  1. changed the title [-]T4 - add request metadata, result type, cache hints, error codes, discover schemas[/-] [+]T4 - add request metadata, result type, cache hints, error codes, discover schemas types[/+] on Sep 6, 2026
  2. kubinio123 commented on Sep 29, 2026

    @kubinio123
    CollaboratorAuthor

    Closed by #260

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions