Bundle
MCP server support (-lib net_server)
McpRequestHandler->ErrorCode
JSON-RPC 2.0 error codes the handler answers with: PARSE_ERROR for a body that is not JSON (HTTP 400), INVALID_REQUEST for JSON that is not a request object or has a member of the wrong type (HTTP 400, or 413 for a body over MAX_BODY_SIZE), METHOD_NOT_FOUND, INVALID_PARAMS and INTERNAL_ERROR for a well-formed request (HTTP 200, the error in the JSON-RPC reply)
Items
- PARSE_ERROR = -32700
- INVALID_REQUEST = -32600
- METHOD_NOT_FOUND = -32601
- INVALID_PARAMS = -32602
- INTERNAL_ERROR = -32603