systemmcpserver

package
v0.26.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCredentialsForSystemServer added in v0.20.0

func GetCredentialsForSystemServer(ctx context.Context, gatewayClient *gateway.Client, server v1.SystemMCPServer) (map[string]string, error)

GetCredentialsForSystemServer retrieves all credentials for the given system MCP server and returns them as a single map of env vars.

func IsSystemServerConfigured added in v0.20.0

func IsSystemServerConfigured(ctx context.Context, gatewayClient *gateway.Client, server v1.SystemMCPServer) bool

IsSystemServerConfigured checks if all required configuration is present

Types

type Handler

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

func New

func New(gatewayClient *gateway.Client, 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

Jump to

Keyboard shortcuts

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