Mirror of https://github.com/modelcontextprotocol/go-sdk — The official Go SDK for Model Context Protocol servers and clients. Maintained in collaboration with Google.
  • Go 99.7%
  • Shell 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Amsterdam 3e8ca36823 jsonschema: using hashing for uniqueItems
Determine if a slice contains unique items by hashing them.
This should take linear time on average, better than the previous
quadratic algorithm.

Change-Id: I8dc95bb6f29d802bdbc64bc7f7e698c71eae5ce7
Reviewed-on: https://go-review.googlesource.com/c/tools/+/669455
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2025-05-03 03:10:23 -07:00
examples internal/mcp: clean up handling of content 2025-05-01 19:15:30 -07:00
internal jsonschema: using hashing for uniqueItems 2025-05-03 03:10:23 -07:00
mcp mcp: remove ServerConnection 2025-05-02 13:30:38 -07:00