11<!-- Autogenerated by weave; DO NOT EDIT -->
2- # MCP Go SDK
2+ # MCP Go SDK v0.2.0
33
44*** BREAKING CHANGES***
55
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- - Tool options have been removed. If you don't want AddTool to infer a JSON Schema for you, you can construct one
14- as a struct literal, or using any other code that suits you.
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.
6+ This version contains breaking changes.
7+ See the [ release notes] (
8+ https://github.com/modelcontextprotocol/go-sdk/releases/tag/v0.2.0 ) for details.
189
1910[ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/modelcontextprotocol/go-sdk )] ( https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk )
2011
@@ -41,7 +32,7 @@ open-ended discussion. See CONTRIBUTING.md for details.
4132
4233## Package documentation
4334
44- The SDK consists of two importable packages:
35+ The SDK consists of three importable packages:
4536
4637- The
4738 [ ` github.com/modelcontextprotocol/go-sdk/mcp ` ] ( https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/mcp )
@@ -51,6 +42,10 @@ The SDK consists of two importable packages:
5142 [ ` github.com/modelcontextprotocol/go-sdk/jsonschema ` ] ( https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/jsonschema )
5243 package provides an implementation of [ JSON
5344 Schema] ( https://json-schema.org/ ) , used for MCP tool input and output schema.
45+ - The
46+ [ ` github.com/modelcontextprotocol/jsonrpc ` ] ( https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/jsonschema ) package is for users implementing
47+ their own transports.
48+
5449
5550## Example
5651
0 commit comments