Skip to content

Overview page says -32003 for a missing client capability, the spec says -32021 #31

Closed

Description

@AndresSaa

Hi, and thanks for the extension and the spec. It has been fun to build against.

A small docs nit I found while wiring up the error path. The overview (index.md) says a server that requires task support returns -32003 (Missing Required Client Capability), and the example shows "code": -32003. The 2026-07-28 spec uses -32021 for the same case, four times in tasks.md, including the error-handling section for clients that did not declare the extension. -32003 never appears there.

I'm following the spec page, so I assume -32021 is the intended one and the overview just needs a refresh. Could you confirm? Happy to send a one-line PR if that helps.

Activity

  1. added
    documentation
    on Oct 15, 2026
  2. LucaButBoring commented on Oct 15, 2026

    @LucaButBoring
    Contributor

    Sorry for the delay, yes, that was an oversight and -32021 is the intended one - would appreciate a PR if you have a second 👀

    This was because modelcontextprotocol/modelcontextprotocol#2907 updated the error codes just prior to the spec release and this drifted out of sync.

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

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions