go-sdk/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Amsterdam aebd244981
mcp: new API for features (#88)
BREAKING CHANGE

Change the API for adding tools, prompts, resources and resource
templates to a server.

The ServerXXX types are gone along with the plural Add methods
(AddTools, AddPrompts etc.)
Instead there are single Add methods (AddTool, AddPrompt).
In addition, instead of NewServerTool, there is AddTool[In, Out].

Fixes #73.
2025-07-07 14:54:52 -04:00
..
jsonrpc2 mcp: use correct ResourceNotFound code (#35) 2025-06-25 14:57:07 -04:00
readme mcp: new API for features (#88) 2025-07-07 14:54:52 -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