diff --git a/mcp/elicitation_example_test.go b/examples/server/elicitation/main.go similarity index 98% rename from mcp/elicitation_example_test.go rename to examples/server/elicitation/main.go index 526a4881..59bc25cf 100644 --- a/mcp/elicitation_example_test.go +++ b/examples/server/elicitation/main.go @@ -2,7 +2,7 @@ // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file. -package mcp_test +package main import ( "context" @@ -13,7 +13,7 @@ import ( "github.com/modelcontextprotocol/go-sdk/mcp" ) -func Example_elicitation() { +func main() { ctx := context.Background() clientTransport, serverTransport := mcp.NewInMemoryTransports()