From 42f419fff41368866fee4c3a16c5d2856095d8d3 Mon Sep 17 00:00:00 2001 From: Sam Thanawalla <17936816+samthanawalla@users.noreply.github.com> Date: Fri, 22 Aug 2025 11:01:48 -0400 Subject: [PATCH] mcp/examples: move elicitation example into example folder (#354) 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 526a488..59bc25c 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()