mcp

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeWithClient added in v0.13.0

func ServeWithClient(ctx context.Context, apiClient *api.Client, toolSet ToolSet) error

ServeWithClient runs the MCP server over stdio, driving the generated api.Client. Tenant/owner scoping travels in the client's default query params.

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