systemmcpserver

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: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SecretInfoToolName added in v0.17.0

func SecretInfoToolName(serverName string) string

SecretInfoToolName returns the credential toolName used to store token exchange secrets for the given system MCP server. Exported for use by API handlers.

Types

type Handler

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

func New

func New(gptClient *gptscript.GPTScript, mcpLoader *mcp.SessionManager, serverURL string) *Handler

func (*Handler) CleanupDeployment

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

CleanupDeployment handles cleanup when SystemMCPServer is deleted

func (*Handler) EnsureDeployment

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

EnsureDeployment automatically deploys the server if Enabled=true and fully configured

func (*Handler) EnsureSecretInfo added in v0.17.0

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

EnsureSecretInfo ensures an OAuthClient and token exchange credentials exist for the system MCP server.

Jump to

Keyboard shortcuts

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