go-sdk/examples/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Amsterdam 32cf71de3a
mcp: change tool handler design (#325)
Change the design of tool handlers by removing genericity from the common path.
- `ToolHandler` gets the args as a `json.RawMessage`. Using Server.AddTool does no unmarshaling or schema validation.
- `ToolHandlerFor`, installed with `AddTool`, are the only generic pieces.

TODO:
uncomment and fix some tests
2025-08-20 19:36:34 -04:00
..
completion mcp: introduce Requests (#267) 2025-08-12 17:49:50 -04:00
custom-transport mcp: change tool handler design (#325) 2025-08-20 19:36:34 -04:00
hello mcp: change tool handler design (#325) 2025-08-20 19:36:34 -04:00
memory mcp: change tool handler design (#325) 2025-08-20 19:36:34 -04:00
rate-limiting examples: add a 'listeverything' client example, and reorganize 2025-08-06 11:46:59 -04:00
sequentialthinking mcp: change tool handler design (#325) 2025-08-20 19:36:34 -04:00
sse mcp: change tool handler design (#325) 2025-08-20 19:36:34 -04:00