Documentation
¶
Overview ¶
Package mcptest builds the stdio MCP test server and returns a tool/mcp provider for smoke tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(t *testing.T) (agentkit.ToolProvider, string)
NewProvider wires tool/mcp against a temp mcp.json that launches the test stdio server. The returned root is the MCP server's allowed filesystem root.
func ServerBinaryAndRoot ¶
ServerBinaryAndRoot returns the built test MCP server binary and a fresh allowed root directory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.