Skip to content

Commit 9fd89cd

Browse files
committed
README for v0.2.0
1 parent b4febf1 commit 9fd89cd

File tree

2 files changed

+18
-28
lines changed

2 files changed

+18
-28
lines changed

README.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
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

internal/readme/README.src.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
1-
# MCP Go SDK
1+
# MCP Go SDK v0.2.0
22

33
***BREAKING CHANGES***
44

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-
- Tool options have been removed. If you don't want AddTool to infer a JSON Schema for you, you can construct one
13-
as a struct literal, or using any other code that suits you.
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.
5+
This version contains breaking changes.
6+
See the [release notes](
7+
https://github.com/modelcontextprotocol/go-sdk/releases/tag/v0.2.0) for details.
178

189
[![PkgGoDev](https://pkg.go.dev/badge/github.com/modelcontextprotocol/go-sdk)](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk)
1910

@@ -40,7 +31,7 @@ open-ended discussion. See CONTRIBUTING.md for details.
4031

4132
## Package documentation
4233

43-
The SDK consists of two importable packages:
34+
The SDK consists of three importable packages:
4435

4536
- The
4637
[`github.com/modelcontextprotocol/go-sdk/mcp`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/mcp)
@@ -50,6 +41,10 @@ The SDK consists of two importable packages:
5041
[`github.com/modelcontextprotocol/go-sdk/jsonschema`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/jsonschema)
5142
package provides an implementation of [JSON
5243
Schema](https://json-schema.org/), used for MCP tool input and output schema.
44+
- The
45+
[`github.com/modelcontextprotocol/jsonrpc`](https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/jsonschema) package is for users implementing
46+
their own transports.
47+
5348

5449
## Example
5550

0 commit comments

Comments
 (0)