Help us shape the future of Go! Take the 2026 Go Developer Survey

mcp

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result = toolcore.Result

type Service

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

func New

func New(manager *mcpclient.Manager, envs *envstore.Store) *Service

func (*Service) Call

func (s *Service) Call(ctx context.Context, args map[string]any) (Result, error)

func (*Service) Inspect

func (s *Service) Inspect(ctx context.Context, args map[string]any) (Result, error)

func (*Service) Manage

func (s *Service) Manage(ctx context.Context, args map[string]any) (Result, error)

func (*Service) Search

func (s *Service) Search(ctx context.Context, args map[string]any) (Result, error)

type ToolError

type ToolError = toolcore.ToolError

Jump to

Keyboard shortcuts

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