Skip to content

Errors created by the SDK should be restricted to codes -32000 to -32099 #85

Description

@jspahrsummers

This is the "server error" portion of the JSON-RPC error space, "reserved for implementation-defined server-errors."

Since MCP clients and servers are both JSON-RPC servers, it feels appropriate for the SDK to stay within this error code range—leaving the remaining error codes available for custom application usage.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions