Robert Findley
3430e2242e
mcp: add Capabilities fields to ServerOptions and ClientOptions (#713)
This allows users to configure default capabilities, disable defaults,
or suppress listChanged notifications by setting ListChanged: false.
Key changes:
- Add ServerOptions.Capabilities and ClientOptions.Capabilities fields.
- Merge user-provided capabilities with dynamically-added ones (tools,
prompts, resources, sampling, elicitation).
- Check ListChanged before sending list-changed notifications.
- Deprecate HasPrompts, HasResources, HasTools on ServerOptions.
- Remove unreleased ElicitationModes field from ClientOptions.
- Add clone methods to capability structs using shallowClone helper.
- Add synctest-based tests for notification behavior (go1.25).
- Add TestClientCapabilitiesOverWire and TestServerCapabilitiesOverWire
- Document the new Capabilities API in docs/
Updates #706
|
2025-12-11 20:17:46 -05:00 |
| .. |
|
docs
|
mcp: add Capabilities fields to ServerOptions and ClientOptions (#713)
|
2025-12-11 20:17:46 -05:00 |
|
jsonrpc2
|
mcp: clarify documentation for the streamable transports
|
2025-12-10 10:46:10 -05:00 |
|
readme
|
Update readme generation instructions
|
2025-10-06 10:57:13 -04:00 |
|
util
|
internal/util: move FieldJSONInfo into jsonschema/util (#251)
|
2025-08-06 12:07:57 -04:00 |
|
xcontext
|
x/tools: modernize interface{} -> any
|
2025-02-19 15:14:27 -08:00 |