Versions in this module Expand all Collapse all v0 v0.22.0 Aug 26, 2026 Changes in this version + const ServerName + type Capabilities struct + Prompts []*mcp.Prompt + ResourceTemplates []*mcp.ResourceTemplate + Resources []*mcp.Resource + Tools []*mcp.Tool + func (c *Capabilities) Get(name string) any + func (c *Capabilities) Names() []string + type DBExecuteQueryColumn struct + Name string + Type string + type DBExecuteQueryInput struct + Parameters []string + Pooled bool + Query string + Role string + ServiceID string + TimeoutSeconds int + func (DBExecuteQueryInput) Schema() *jsonschema.Schema + type DBExecuteQueryOutput struct + ExecutionTime string + Notice string + ResultSets []ResultSet + Truncated bool + Warning string + func (DBExecuteQueryOutput) Schema() *jsonschema.Schema + type DBSchemaInput struct + Comments bool + Definitions bool + Internal bool + Pooled bool + Role string + SchemaName string + ServiceID string + func (DBSchemaInput) Schema() *jsonschema.Schema + type DBSchemaOutput struct + SchemaText string + Warning string + func (DBSchemaOutput) Schema() *jsonschema.Schema + type MetricLabelFilterInput struct + Key string + Value string + type ProxyClient struct + func NewProxyClient(ctx context.Context, url string, logger *slog.Logger) (*ProxyClient, error) + func (p *ProxyClient) Close() error + func (p *ProxyClient) RegisterPrompts(ctx context.Context, server *mcp.Server) error + func (p *ProxyClient) RegisterResourceTemplates(ctx context.Context, server *mcp.Server) error + func (p *ProxyClient) RegisterResources(ctx context.Context, server *mcp.Server) error + func (p *ProxyClient) RegisterTools(ctx context.Context, server *mcp.Server) error + type ResourceInfo struct + CPU string + Memory string + type ResultSet struct + Columns []DBExecuteQueryColumn + CommandTag string + Rows *[][]any + RowsAffected int64 + Truncated bool + type Server struct + func NewServer(ctx context.Context, app *common.App, logger *slog.Logger) (*Server, error) + func (s *Server) Close() error + func (s *Server) HTTPHandler() http.Handler + func (s *Server) ListCapabilities(ctx context.Context) (*Capabilities, error) + func (s *Server) StartStdio(ctx context.Context) error + type ServiceCreateInput struct + Addons []string + CPUMemory string + Name string + Region *string + Replicas int + SetDefault bool + Wait bool + WithPassword bool + func (ServiceCreateInput) Schema() *jsonschema.Schema + type ServiceCreateOutput struct + Message string + PasswordStorage *common.PasswordStorageResult + Service ServiceDetail + func (ServiceCreateOutput) Schema() *jsonschema.Schema + type ServiceDetail struct + ConnectionString string + Created string + DirectEndpoint string + Name string + Password string + PoolerEndpoint string + Region string + Replicas int + Resources *ResourceInfo + ServiceID string + Status string + Type string + func (ServiceDetail) Schema() *jsonschema.Schema + type ServiceForkInput struct + CPUMemory string + ForkStrategy api.ForkStrategy + Name string + ServiceID string + SetDefault bool + TargetTime *time.Time + Wait bool + WithPassword bool + func (ServiceForkInput) Schema() *jsonschema.Schema + type ServiceForkOutput struct + Message string + PasswordStorage *common.PasswordStorageResult + Service ServiceDetail + func (ServiceForkOutput) Schema() *jsonschema.Schema + type ServiceGetInput struct + ServiceID string + WithPassword bool + func (ServiceGetInput) Schema() *jsonschema.Schema + type ServiceGetOutput struct + Service ServiceDetail + func (ServiceGetOutput) Schema() *jsonschema.Schema + type ServiceInfo struct + Created string + Name string + Region string + Resources *ResourceInfo + ServiceID string + Status string + Type string + func (ServiceInfo) Schema() *jsonschema.Schema + type ServiceListInput struct + func (ServiceListInput) Schema() *jsonschema.Schema + type ServiceListOutput struct + Services []ServiceInfo + func (ServiceListOutput) Schema() *jsonschema.Schema + type ServiceLogsInput struct + Node *int + ServiceID string + Since *time.Time + Tail int + Until *time.Time + func (ServiceLogsInput) Schema() *jsonschema.Schema + type ServiceLogsOutput struct + Logs []string + func (ServiceLogsOutput) Schema() *jsonschema.Schema + type ServiceMetricsAvailableInput struct + ServiceID string + func (ServiceMetricsAvailableInput) Schema() *jsonschema.Schema + type ServiceMetricsAvailableOutput struct + Series []string + func (ServiceMetricsAvailableOutput) Schema() *jsonschema.Schema + type ServiceMetricsSeriesInput struct + BucketSeconds int + Filters []MetricLabelFilterInput + Fn string + From string + MetricName string + Role string + ServiceID string + To string + func (ServiceMetricsSeriesInput) Schema() *jsonschema.Schema + type ServiceMetricsSeriesOutput struct + Series []api.MetricSeries + func (ServiceMetricsSeriesOutput) Schema() *jsonschema.Schema + type ServiceResizeInput struct + CPUMemory string + ServiceID string + Wait bool + func (ServiceResizeInput) Schema() *jsonschema.Schema + type ServiceResizeOutput struct + Message string + Resources *ResourceInfo + Status string + func (ServiceResizeOutput) Schema() *jsonschema.Schema + type ServiceStartInput struct + ServiceID string + Wait bool + func (ServiceStartInput) Schema() *jsonschema.Schema + type ServiceStartOutput struct + Message string + Status string + func (ServiceStartOutput) Schema() *jsonschema.Schema + type ServiceStopInput struct + ServiceID string + Wait bool + func (ServiceStopInput) Schema() *jsonschema.Schema + type ServiceStopOutput struct + Message string + Status string + func (ServiceStopOutput) Schema() *jsonschema.Schema + type ServiceUpdatePasswordInput struct + Password string + ServiceID string + func (ServiceUpdatePasswordInput) Schema() *jsonschema.Schema + type ServiceUpdatePasswordOutput struct + Message string + PasswordStorage *common.PasswordStorageResult + func (ServiceUpdatePasswordOutput) Schema() *jsonschema.Schema