Skip to content

Commit b1404a4

Browse files
committed
fix some markdown formatting
1 parent e062760 commit b1404a4

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/client.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
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
136134
func Example_elicitation() {
137135
ctx := context.Background()

docs/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ There are a couple different ways to investigate traffic to an HTTP transport
5959
The 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

0 commit comments

Comments
 (0)