go-sdk/examples/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Robert Findley 964574b818
mcp: allow any value for schemas (#517)
As discussed at length in
https://github.com/modelcontextprotocol/go-sdk/issues/518, coupling our
schema fields to
jsonschema.Schema limits our user's ability to use a different schema
package, and makes it impossible for our client to talk to some
backends.

This CL relaxes the type of `*jsonschema.Schema` fields to be of type
`any`, which is a breaking change but is unlikely to affect most server
code. (It *is* a nontrivial change for clients).

Fixes https://github.com/modelcontextprotocol/go-sdk/issues/518
2025-09-26 11:55:54 -04:00
..
auth-middleware mcp: update to jsonschema that does not validate structs (#511) 2025-09-22 15:28:04 -04:00
basic mcp/examples: move server example into example folder (#357) 2025-08-26 09:13:30 -04:00
completion docs: document completion support (#495) 2025-09-18 14:27:35 -04:00
custom-transport all: remove ServerRequest[T] for concrete T (#342) 2025-08-21 12:10:53 -04:00
distributed mcp: set default logging level to info (#411) 2025-09-04 11:10:39 -04:00
elicitation mcp/examples: move elicitation example into example folder (#354) 2025-08-22 11:01:48 -04:00
everything examples/server/distributed: a stateless distributed server 2025-09-02 14:32:12 -04:00
hello examples: add an everything example, and simplify hello 2025-08-22 14:00:37 -04:00
memory examples/server/memory: fix misleading code (#369) 2025-08-25 16:48:10 -04:00
middleware examples/server/middleware: log tool result (#400) 2025-09-03 11:34:02 -04:00
rate-limiting mcp: update to jsonschema that does not validate structs (#511) 2025-09-22 15:28:04 -04:00
sequentialthinking all: remove ServerRequest[T] for concrete T (#342) 2025-08-21 12:10:53 -04:00
sse SSE: Add support for SSE handler options (#508) 2025-09-19 13:01:57 -04:00
toolschemas mcp: allow any value for schemas (#517) 2025-09-26 11:55:54 -04:00