go-sdk/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Robert Findley b34ba2149d
mcp: handle bad or missing params (#210)
Audit all cases where params must not be null, and enforce this using
methodInfo via a new methodFlags bitfield that parameterizes method
requirements. Write extensive conformance tests catching all the
(server-side) crashes that were possible.

We should go further and validate schema against the spec, but that is
more indirect, more complicated, and potentially slower. For now we
adopt this more explicit approach.

Still TODO in a subsequent CL: verify the client side of this with
client conformance tests.

Additionally, improve some error messages that were redundant or leaked
internal implementation details.

Fixes #195
2025-07-31 10:57:59 -04:00
..
jsonrpc2 mcp: handle bad or missing params (#210) 2025-07-31 10:57:59 -04:00
readme feat(devcontainer): Adds Dev Container configuration (#154) 2025-07-30 12:54:41 -04:00
util internal/mcp/internal/util: add Wrapf 2025-06-09 08:52:39 -07:00
xcontext x/tools: modernize interface{} -> any 2025-02-19 15:14:27 -08:00