File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 11<!-- Autogenerated by weave; DO NOT EDIT -->
22# MCP Go SDK
33
4+ *** BREAKING CHANGES***
5+
6+ The latest version contains breaking changes:
7+
8+ - Server.AddTools is replaced by Server.AddTool.
9+
10+ - NewServerTool is replaced by AddTool. AddTool takes a Tool rather than a name and description, so you can
11+ set any field on the Tool that you want before associating it with a handler.
12+
13+ - ToolOptions are gone. If you don't want AddTool to infer a JSON Schema for you, you can construct one
14+ as a struct literal.
15+
16+ - AddPrompts, AddResources and AddResourceTemplates are similarly replaced by singular methods which pair the
17+ feature with a handler. The ServerXXX types have been removed.
18+
419[ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/modelcontextprotocol/go-sdk )] ( https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk )
520
621This repository contains an unreleased implementation of the official Go
Original file line number Diff line number Diff line change 11# MCP Go SDK
22
3+ *** BREAKING CHANGES***
4+
5+ The latest version contains breaking changes:
6+
7+ - Server.AddTools is replaced by Server.AddTool.
8+
9+ - NewServerTool is replaced by AddTool. AddTool takes a Tool rather than a name and description, so you can
10+ set any field on the Tool that you want before associating it with a handler.
11+
12+ - ToolOptions are gone. If you don't want AddTool to infer a JSON Schema for you, you can construct one
13+ as a struct literal.
14+
15+ - AddPrompts, AddResources and AddResourceTemplates are similarly replaced by singular methods which pair the
16+ feature with a handler. The ServerXXX types have been removed.
17+
318[ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/modelcontextprotocol/go-sdk )] ( https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk )
419
520This repository contains an unreleased implementation of the official Go
You can’t perform that action at this time.
0 commit comments