go-sdk/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Amsterdam f8098af1c5 internal/mcp: NewClient takes Transport
Pass the client Transport to NewClient instead of Connect.
Combine the ConnectionOptions with the ClientOptions.

Change-Id: I3acd6cf6d5bf46666742f2a73e2acaef2057ea77
Reviewed-on: https://go-review.googlesource.com/c/tools/+/670215
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2025-05-06 12:19:25 -07:00
..
protocol internal/mcp/protocol: move out of mcp/internal, as it's used in the API 2025-05-06 10:18:38 -07:00
client.go internal/mcp: NewClient takes Transport 2025-05-06 12:19:25 -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: NewClient takes Transport 2025-05-06 12:19:25 -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: NewClient takes Transport 2025-05-06 12:19:25 -07:00
mcp_test.go internal/mcp: NewClient takes Transport 2025-05-06 12:19:25 -07:00
prompt.go internal/mcp/protocol: move out of mcp/internal, as it's used in the API 2025-05-06 10:18:38 -07:00
prompt_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
server.go internal/mcp/protocol: move out of mcp/internal, as it's used in the API 2025-05-06 10:18:38 -07:00
server_example_test.go internal/mcp: NewClient takes Transport 2025-05-06 12:19:25 -07:00
sse.go internal/mcp: add more package documentation, examples 2025-05-01 18:30:42 -07:00
sse_example_test.go internal/mcp: NewClient takes Transport 2025-05-06 12:19:25 -07:00
sse_test.go internal/mcp: NewClient takes Transport 2025-05-06 12:19:25 -07:00
tool.go internal/mcp/protocol: move out of mcp/internal, as it's used in the API 2025-05-06 10:18:38 -07:00
tool_test.go internal/mcp: move jsonschema out of mcp/internal 2025-05-05 13:17:44 -07:00
transport.go internal/mcp: NewClient takes Transport 2025-05-06 12:19:25 -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