mcp

package
v0.5.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(version string, sysdigClient sysdig.ExtendedClientWithResponsesInterface) *Handler

func (*Handler) AsSSE

func (h *Handler) AsSSE(mountPath string) http.Handler

func (*Handler) AsStreamableHTTP

func (h *Handler) AsStreamableHTTP(mountPath string) http.Handler

func (*Handler) RegisterTools

func (h *Handler) RegisterTools(tools ...mcpTool)

func (*Handler) ServeInProcessClient

func (h *Handler) ServeInProcessClient() (*client.Client, error)

func (*Handler) ServeStdio

func (h *Handler) ServeStdio(ctx context.Context, stdin io.Reader, stdout io.Writer) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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