mcp

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, host string, token string, queryParams map[string]string, toolSet ToolSet) error

func ServeWithClient added in v0.13.0

func ServeWithClient(ctx context.Context, nullifyClient *client.NullifyClient, queryParams map[string]string, toolSet ToolSet) error

func ValidToolSets added in v0.13.0

func ValidToolSets() []string

ValidToolSets returns all valid tool set names for flag validation.

Types

type ToolSet added in v0.13.0

type ToolSet string

ToolSet controls which MCP tools are registered.

const (
	ToolSetDefault  ToolSet = "default"
	ToolSetAll      ToolSet = "all"
	ToolSetMinimal  ToolSet = "minimal"
	ToolSetFindings ToolSet = "findings"
	ToolSetAdmin    ToolSet = "admin"
)

Jump to

Keyboard shortcuts

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