Documentation
¶
Index ¶
- func GetCredentialsForSystemServer(ctx context.Context, gptClient *gptscript.GPTScript, server v1.SystemMCPServer) (map[string]string, error)
- func IsSystemServerConfigured(ctx context.Context, gptClient *gptscript.GPTScript, server v1.SystemMCPServer) bool
- func SecretInfoToolName(serverName string) string
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCredentialsForSystemServer ¶ added in v0.20.0
func GetCredentialsForSystemServer(ctx context.Context, gptClient *gptscript.GPTScript, 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, gptClient *gptscript.GPTScript, server v1.SystemMCPServer) bool
IsSystemServerConfigured checks if all required configuration is present
func SecretInfoToolName ¶ added in v0.17.0
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 (*Handler) CleanupDeployment ¶
CleanupDeployment handles cleanup when SystemMCPServer is deleted
func (*Handler) EnsureDeployment ¶
EnsureDeployment automatically deploys the server if Enabled=true and fully configured
Click to show internal directories.
Click to hide internal directories.