File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 11<!-- Autogenerated by weave; DO NOT EDIT -->
22# Support for MCP client features
33
4- 1 . [ Roots] ( #roots )
5- 1 . [ Sampling] ( #sampling )
6- 1 . [ Elicitation] ( #elicitation )
4+ 1. [Roots](#roots)
5+ 1. [Sampling](#sampling)
6+ 1. [Elicitation](#elicitation)
77
88## Roots
99
@@ -130,8 +130,6 @@ otherwise, elicitation returns an error.
130130** Server-side** : To use eliciation from the server, call
131131[ ` ServerSession.Elicit ` ] ( https://pkg.go.dev/github.com/modelcontextprotocol/go-sdk/mcp#ServerSession.Elicit ) .
132132
133- // go get golang.org/x/example/docs/../../mcp
134-
135133``` go
136134func Example_elicitation () {
137135 ctx := context.Background ()
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ There are a couple different ways to investigate traffic to an HTTP transport
5959The first is to use an HTTP middleware:
6060
6161``` go
62- func ExampleStreamableHTTPHandler_httpMiddleware () {
62+ func ExampleStreamableHTTPHandler_middleware () {
6363 server := mcp.NewServer (&mcp.Implementation {Name: " server" , Version: " v0.1.0" }, nil )
6464 handler := mcp.NewStreamableHTTPHandler (func (r *http.Request ) *mcp.Server {
6565 return server
You can’t perform that action at this time.
0 commit comments