go-sdk/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rob Findley 7a7d49dc2a internal/mcp: clean up SSE server shutdown.
Add a bit more theory around SSE transport shutdown, and some
documentation of the SSE transport protocol itself. Additionally, remove
a TODO to avoid the use of channel buffering for message queues in http
transports; instead, always write to message buffers in a select
statement containing a read from the done channel. The bounded size of
message buffers then serves to create backpressure for an overloaded
server.

Change-Id: I5701c5b95a5ae73d796a634e434f41dfcdbddf51
Reviewed-on: https://go-review.googlesource.com/c/tools/+/668237
Reviewed-by: Jonathan Amsterdam <jba@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Robert Findley <rfindley@google.com>
2025-04-28 09:44:29 -07:00
..
client.go internal/mcp: implement ping, and test request interleaving 2025-04-23 19:15:29 -07:00
content.go internal/mcp: an MCP SDK prototype 2025-04-22 14:37:47 -07:00
mcp.go internal/mcp: implement cancellation 2025-04-23 19:15:39 -07:00
mcp_test.go internal/mcp/internal/jsonschema: schema definition 2025-04-25 08:33:53 -07:00
server.go internal/mcp: implement cancellation 2025-04-23 19:15:39 -07:00
sse.go internal/mcp: clean up SSE server shutdown. 2025-04-28 09:44:29 -07:00
sse_test.go internal/mcp: implement ping, and test request interleaving 2025-04-23 19:15:29 -07:00
tool.go internal/mcp/internal/jsonschema: schema definition 2025-04-25 08:33:53 -07:00
transport.go internal/mcp: implement cancellation 2025-04-23 19:15:39 -07:00
transport_test.go internal/mcp: implement HTTP SSE transport 2025-04-23 19:15:20 -07:00
util.go internal/mcp: implement ping, and test request interleaving 2025-04-23 19:15:29 -07:00