go-sdk/internal/jsonrpc2
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Amsterdam 2b9c6bff50 internal/mcp: handle synthetic responses in conformance test
Modify the conformance test driver to support outgoing responses.
They are returned for incoming requests in order.

Add a test that returns a file resource, which involves the server
sending a roots/list request to the client.

Change-Id: Ie7eb69a8c99ccbf11721518cfffb21244c03e532
Reviewed-on: https://go-review.googlesource.com/c/tools/+/677475
Commit-Queue: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2025-05-30 08:16:23 -07:00
..
conn.go internal/mcp: implement HTTP SSE transport 2025-04-23 19:15:20 -07:00
frame.go internal/mcp: add batching support 2025-04-22 14:39:09 -07:00
jsonrpc2.go x/tools: modernize interface{} -> any 2025-02-19 15:14:27 -08:00
jsonrpc2_test.go internal/mcp: an MCP SDK prototype 2025-04-22 14:37:47 -07:00
messages.go internal/mcp: handle synthetic responses in conformance test 2025-05-30 08:16:23 -07:00
net.go internal/jsonrpc2_v2: update for go1.16+ 2025-05-27 10:50:54 -07:00
serve.go internal/mcp: implement HTTP SSE transport 2025-04-23 19:15:20 -07:00
serve_test.go internal/mcp: an MCP SDK prototype 2025-04-22 14:37:47 -07:00
wire.go x/tools: modernize interface{} -> any 2025-02-19 15:14:27 -08:00
wire_test.go x/tools: modernize interface{} -> any 2025-02-19 15:14:27 -08:00