mcpservercatalogentry

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler added in v0.17.0

type Handler struct {
	// contains filtered or unexported fields
}

Handler handles operations for MCP server catalog entries

func NewHandler added in v0.17.0

func NewHandler(gClient *gptscript.GPTScript) *Handler

NewHandler creates a new Handler with the given GPTScript client

func (*Handler) CleanupNestedCompositeEntries added in v0.17.0

func (*Handler) CleanupNestedCompositeEntries(req router.Request, _ router.Response) error

CleanupNestedCompositeServers removes component servers with composite runtimes from composite catalog entries. This handler cleans up entries that were created before API validation to prevent nested composite servers.

func (*Handler) CleanupUnusedOAuthCredentials added in v0.17.0

func (h *Handler) CleanupUnusedOAuthCredentials(req router.Request, _ router.Response) error

CleanupUnusedOAuthCredentials removes OAuth credentials for remote catalog entries that no longer require static OAuth configuration.

func (*Handler) DeleteEntriesWithoutRuntime added in v0.17.0

func (h *Handler) DeleteEntriesWithoutRuntime(req router.Request, _ router.Response) error

func (*Handler) DetectCompositeDrift added in v0.17.0

func (*Handler) DetectCompositeDrift(req router.Request, _ router.Response) error

DetectCompositeDrift detects when a composite catalog entry's component snapshots have drifted from their source catalog entries or multi-user servers

func (*Handler) EnsureOAuthCredentialStatus added in v0.17.0

func (h *Handler) EnsureOAuthCredentialStatus(req router.Request, _ router.Response) error

EnsureOAuthCredentialStatus updates the OAuthCredentialConfigured status field for remote catalog entries that require static OAuth.

func (*Handler) EnsureUserCount added in v0.17.0

func (*Handler) EnsureUserCount(req router.Request, _ router.Response) error

EnsureUserCount ensures that the user count for an MCP server catalog entry is up to date.

func (*Handler) RemoveOAuthCredentials added in v0.17.0

func (h *Handler) RemoveOAuthCredentials(req router.Request, _ router.Response) error

RemoveOAuthCredentials removes OAuth credentials when a catalog entry is deleted.

func (*Handler) UpdateManifestHashAndLastUpdated added in v0.17.0

func (*Handler) UpdateManifestHashAndLastUpdated(req router.Request, _ router.Response) error

UpdateManifestHashAndLastUpdated updates the manifest hash and last updated timestamp when configuration changes

Jump to

Keyboard shortcuts

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