From cccc71cac6486cb17b577b94aee9ac365eb914b9 Mon Sep 17 00:00:00 2001 From: Sam Thanawalla Date: Fri, 22 Aug 2025 14:47:47 +0000 Subject: [PATCH] mcp/examples: move elicitation example into example folder Rename and move the example into the examples folder. --- .../server/elicitation/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename mcp/elicitation_example_test.go => examples/server/elicitation/main.go (98%) 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()