mcp

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Initialize(ctx context.Context, params *mcp.InitializeParams, debug bool, serverSession *mcp.ServerSession, server *mcp.Server) error
	Session() *mcp.ClientSession
	GetClient() *mcp.Client
	AddRoots(roots []*mcp.Root)
}

Client interface wraps the official MCP SDK client with our legacy interface

func NewRemoteMCPClient added in v0.13.0

func NewRemoteMCPClient(config *catalog.ServerConfig) Client

func NewStdioCmdClient

func NewStdioCmdClient(name string, command string, env []string, args ...string) Client

Jump to

Keyboard shortcuts

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