mcpcatalog

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCatalogFile

func DecodeCatalogFile[T any](path string, strict bool) ([]T, bool, error)

func NormalizeManifest

func NormalizeManifest(entry *types.MCPServerCatalogEntryManifest)

NormalizeManifest applies the same compatibility normalization used when Obot imports a catalog source.

func NormalizeSystemManifest

func NormalizeSystemManifest(entry *types.SystemMCPServerCatalogEntryManifest)

NormalizeSystemManifest applies the same compatibility normalization used when Obot imports a system catalog source.

func SanitizeName

func SanitizeName(name string) string

SanitizeName converts a catalog entry name to the RFC 1123-compatible form used when catalog entries are persisted.

func ValidateSourceFields

func ValidateSourceFields(entry types.MCPServerCatalogEntryManifest) error

func WalkCatalogFiles

func WalkCatalogFiles(root string) (iter.Seq2[string, error], bool, error)

WalkCatalogFiles returns catalog manifest paths selected by .obotcatalogs and .ignoreobotcatalogs, skipping hidden child directories. Traversal errors are yielded in the second value.

Types

type ValidationOptions

type ValidationOptions struct {
	MCP        mcp.ValidationOptions
	MCPBackend string
	GitManaged bool
}

Jump to

Keyboard shortcuts

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