@@ -33,7 +33,7 @@ The SDK consists of several importable packages:
3333 their own transports.
3434- The
3535 [ ` github.com/modelcontextprotocol/go-sdk/auth ` ] ( https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/auth )
36- package provides some primitives for supporting oauth .
36+ package provides some primitives for supporting OAuth .
3737- The
3838 [ ` github.com/modelcontextprotocol/go-sdk/oauthex ` ] ( https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/oauthex )
3939 package provides extensions to the OAuth protocol, such as ProtectedResourceMetadata.
@@ -78,7 +78,7 @@ func main() {
7878 // Create a server with a single tool.
7979 server := mcp.NewServer (&mcp.Implementation {Name: " greeter" , Version: " v1.0.0" }, nil )
8080 mcp.AddTool (server, &mcp.Tool {Name: " greet" , Description: " say hi" }, SayHi)
81- // Run the server over stdin/stdout, until the client disconnects
81+ // Run the server over stdin/stdout, until the client disconnects.
8282 if err := server.Run (context.Background (), &mcp.StdioTransport {}); err != nil {
8383 log.Fatal (err)
8484 }
@@ -106,7 +106,7 @@ func main() {
106106 // Create a new client, with no features.
107107 client := mcp.NewClient (&mcp.Implementation {Name: " mcp-client" , Version: " v1.0.0" }, nil )
108108
109- // Connect to a server over stdin/stdout
109+ // Connect to a server over stdin/stdout.
110110 transport := &mcp.CommandTransport {Command: exec.Command (" myserver" )}
111111 session , err := client.Connect (ctx, transport, nil )
112112 if err != nil {
0 commit comments