ruby-sdk/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dak2 e7fafddf94 Fix JSON-RPC notification format in Streamable HTTP transport
Update send_notification method to properly construct JSON-RPC notification objects with jsonrpc version and method fields.
This ensures notifications conform to the JSON-RPC 2.0 specification when sent over HTTP transport.

https://www.jsonrpc.org/specification#notification

Another goal is to standardise the `send_notification` interface.
Before the revision, it was sufficient to pass the method and parameters in the case of stdio.
However, in the case of Streamable, a hash based on the JSON-RPC specification must be passed.
2025-07-26 17:58:31 +09:00
..
mcp Fix JSON-RPC notification format in Streamable HTTP transport 2025-07-26 17:58:31 +09:00
instrumentation_test_helper.rb Internal Release 0.5.1 2025-05-08 17:38:05 -04:00
test_helper.rb rename lib/{model_context_protocol => mcp} 2025-05-29 17:11:40 -04:00