@@ -6,13 +6,14 @@ module, once it exists. -->
66
77[ ![ PkgGoDev] ( https://pkg.go.dev/badge/golang.org/x/tools )] ( https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk )
88
9- This repository contains an implementation of the official Go software
10- development kit (SDK) for the Model Context Protocol (MCP).
9+ This repository contains a unreleased implementation of the official Go
10+ software development kit (SDK) for the Model Context Protocol (MCP).
1111
12- ** WARNING** : The SDK is currently unstable and subject to breaking changes.
13- Please test it out and file bug reports or API proposals. The [ TODO] ( #todo )
14- section below outlines outstanding release blockers. We aim to release a stable
15- version of the SDK in August, 2025.
12+ ** WARNING** : The SDK should be considered unreleased, and is currently unstable
13+ and subject to breaking changes. Please test it out and file bug reports or API
14+ proposals, but don't use it in real projects. See the issue tracker for known
15+ issues and missing features. We aim to release a stable version of the SDK in
16+ August, 2025.
1617
1718## Package documentation
1819
@@ -70,7 +71,7 @@ func main() {
7071 log.Fatal (" tool failed" )
7172 }
7273 for _ , c := range res.Content {
73- log.Print (c.Text )
74+ log.Print (c.(*mcp. TextContent ). Text )
7475 }
7576}
7677```
@@ -94,7 +95,7 @@ type HiParams struct {
9495
9596func SayHi (ctx context .Context , cc *mcp .ServerSession , params *mcp .CallToolParamsFor [HiParams ]) (*mcp .CallToolResultFor [any ], error ) {
9697 return &mcp.CallToolResultFor [any]{
97- Content: []* mcp.ContentBlock { mcp.NewTextContent ( " Hi " + params.Name ) },
98+ Content: []mcp.Content {& mcp.TextContent {Text: " Hi " + params.Name } },
9899 }, nil
99100}
100101
@@ -111,18 +112,6 @@ func main() {
111112
112113The ` examples/ ` directory contains more example clients and servers.
113114
114- ## TODO
115-
116- The following TODOs block the release of this SDK:
117-
118- - Better support for resumability in the Streamable HTTP transport: a
119- server-side event store and client-side retry configuration.
120- - OAuth support (or examples of implementing OAuth using middleware).
121- - Support for the changes in the
122- [ 2025-06-18] ( https://modelcontextprotocol.io/specification/2025-06-18/changelog )
123- version of the MCP spec.
124- - More examples and documentation.
125-
126115## Design
127116
128117The design doc for this SDK is at [ design.md] ( ./design/design.md ) , which was
0 commit comments