go-sdk/internal/jsonrpc2
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rob Findley 1204b93a85 internal/mcp: add batching support
Update the jsonrpc2 MCP framer to support both incoming and outgoing
batches. In order to achieve this, we must correlate the framed Reader
and Writer, which is not explicitly supported by the jsonrpc2 API, but
does work. A note is left to revisit the Framer interface.

Change-Id: If060cb5822da067833db20d58f5f112a0528da91
Reviewed-on: https://go-review.googlesource.com/c/tools/+/667295
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2025-04-22 14:39:09 -07:00
..
conn.go x/tools: modernize interface{} -> any 2025-02-19 15:14:27 -08: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 x/tools: modernize interface{} -> any 2025-02-19 15:14:27 -08:00
net.go internal/jsonrpc2_v2: rework Connection concurrency 2022-10-31 15:02:00 +00:00
serve.go internal/mcp: an MCP SDK prototype 2025-04-22 14:37:47 -07:00
serve_go116.go all: upgrade go directive to at least 1.23.0 [generated] 2025-02-18 06:38:13 -08:00
serve_pre116.go all: upgrade go directive to at least 1.23.0 [generated] 2025-02-18 06:38:13 -08: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