go-sdk/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rob Findley e0d4191c70 internal/mcp: a new extensibility point for HTTP transports
Expose the SSEServerTransport type, so that clients can customize the
handling of sessions and endpoints by writing their own HTTP handler.
This is similar to the behavior of the typescript SDK.

Also, finish documenting transports in the design doc.

Change-Id: Ief5aa8424ba2946a9615e366969a4750f40224a8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/671015
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
2025-05-08 12:19:33 -07:00
..
protocol internal/mcp/protocol: spell "Id" idiomatically 2025-05-08 08:22:14 -07:00
client.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
cmd.go internal/mcp: add a command transport for connecting to a sidecar 2025-05-01 17:43:04 -07:00
cmd_test.go internal/mcp: rename Make* to New* 2025-05-07 09:32:55 -07:00
content.go internal/mcp/protocol: move out of mcp/internal, as it's used in the API 2025-05-06 10:18:38 -07:00
content_test.go internal/mcp/protocol: move out of mcp/internal, as it's used in the API 2025-05-06 10:18:38 -07:00
mcp.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
mcp_test.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
prompt.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
prompt_test.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
server.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
server_example_test.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
sse.go internal/mcp: a new extensibility point for HTTP transports 2025-05-08 12:19:33 -07:00
sse_example_test.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
sse_test.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
tool.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
tool_test.go internal/mcp: rename ClientConnection to ServerConnection 2025-05-07 10:17:38 -07:00
transport.go internal/mcp/protocol: spell "Id" idiomatically 2025-05-08 08:22:14 -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