mcp

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallToolOverMcp

func CallToolOverMcp(t *testing.T, server *mcp.Server, toolName string, toolInput any) (*mcp.CallToolResult, error)

CallToolOverMcp invokes a tool through a full MCP client-server connection.

func TestMcpClient

func TestMcpClient(t *testing.T) *mcp.Client

TestMcpClient creates a test MCP client for testing purposes.

func TestMcpServer

func TestMcpServer(t *testing.T) *mcp.Server

TestMcpServer creates a test MCP server for testing purposes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL