Jonathan Amsterdam
71265ba130
internal/mcp: adjust content types
...
- Change the names of some content-related types to better match
the spec. Most notably, rename Resource to EmbeddedResource,
because the former has a different meaning in the spec.
- Use []byte intead of string where the spec says "base64-encoded data."
- Unexport EmbeddedResource.ToWire.
Change-Id: I9f65efaadadda1b3abc0e58c64a743af1a72852c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/671362
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Bypass: Jonathan Amsterdam <jba@google.com>
Commit-Queue: Jonathan Amsterdam <jba@google.com>
2025-05-13 08:21:01 -07:00
..
protocol
internal/mcp: adjust content types
2025-05-13 08:21:01 -07:00
client.go
internal/mcp: implement roots
2025-05-13 07:52:49 -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: adjust content types
2025-05-13 08:21:01 -07:00
content_test.go
internal/mcp: adjust content types
2025-05-13 08:21:01 -07:00
features.go
internal/mcp/protocol: featureSet[T]
2025-05-12 11:03:35 -07:00
mcp.go
internal/mcp: rename ClientConnection to ServerConnection
2025-05-07 10:17:38 -07:00
mcp_test.go
internal/mcp: implement roots
2025-05-13 07:52:49 -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
root.go
internal/mcp: implement roots
2025-05-13 07:52:49 -07:00
server.go
internal/mcp: implement roots
2025-05-13 07:52:49 -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