Documentation
¶
Overview ¶
Package mcptest drives a server over the SDK's in-memory transport for tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSession ¶
NewSession connects an in-memory client to s, advertising no elicitation.
func NewSessionWithElicitation ¶
func NewSessionWithElicitation( tb testing.TB, s *mcp.Server, handler func( context.Context, *mcp.ElicitRequest, ) (*mcp.ElicitResult, error), ) *mcp.ClientSession
NewSessionWithElicitation is like NewSession but wires an elicit handler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.