surfaces

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package surfaces projects standalone runtime and interactive tool specs into visible MCP surfaces and dynamic catalog routes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToolCatalog

func AddToolCatalog(catalog *actioncatalog.Catalog, specs []actioncatalog.SurfaceToolSpec, opts CatalogOptions) (*actioncatalog.Catalog, error)

AddToolCatalog projects surface specs into a catalog used by Dynamic discovery/execution.

func ServerMaintenanceToolSpecs

func ServerMaintenanceToolSpecs(updater *autoupdate.Updater) []actioncatalog.SurfaceToolSpec

ServerMaintenanceToolSpecs returns updater-backed visible server maintenance tools.

func StandaloneToolSpecs

func StandaloneToolSpecs(client *gitlabclient.Client) []actioncatalog.SurfaceToolSpec

StandaloneToolSpecs returns visible utility tools that remain outside ordinary GitLab API meta-tool dispatchers.

func ToolGroupSpecs

ToolGroupSpecs groups surface specs into catalog group specs.

Types

type CatalogOptions

type CatalogOptions struct {
	ReadOnlyOnly     bool
	ExcludeToolNames []string
}

CatalogOptions controls projection of standalone surface tools into an action catalog.

Jump to

Keyboard shortcuts

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