Documentation
¶
Overview ¶
Package mcp serves Flowbot capabilities over Streamable HTTP at /mcp.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ToolSpec ¶
type ToolSpec struct {
Name string
Group string
Operation string
Description string
Mutation bool
Kind string
Input []hub.ParamDef
Scopes []string
}
ToolSpec is one MCP tool advertised on /mcp.
func BuildCatalog ¶
func BuildCatalog(descs []hub.Descriptor, include, exclude []string) []ToolSpec
BuildCatalog returns capability, pipeline/workflow/function, and hub tools after deny-list and mcp.include / mcp.exclude filters.
func FilterByScopes ¶
FilterByScopes keeps tools the token is allowed to call.
Click to show internal directories.
Click to hide internal directories.