mcpbackend

package
v0.10.383 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResultsRenderer

func NewResultsRenderer() resultsRenderer

func NewStackqlMCPBackendService

func NewStackqlMCPBackendService(
	isReadOnly bool,
	txnOrchestrator tsm_physio.Orchestrator,
	handlerCtx handler.HandlerContext,
	logger *logrus.Logger,
) (mcp_server.Backend, error)

func NewStackqlMCPReverseProxyService

func NewStackqlMCPReverseProxyService(
	isReadOnly bool,
	dsn string,
	db *sql.DB,
	handlerCtx handler.HandlerContext,
	logger *logrus.Logger,
) (mcp_server.Backend, error)

Types

type StackqlInterrogator

type StackqlInterrogator interface {
	GetShowProviders(dto.HierarchyInput, string) (string, error)
	GetShowServices(dto.HierarchyInput, string) (string, error)
	GetShowResources(dto.HierarchyInput, string) (string, error)
	GetShowMethods(dto.HierarchyInput) (string, error)
	// GetShowTables(dto.HierarchyInput) (string, error)
	GetDescribeTable(dto.HierarchyInput) (string, error)
	GetForeignKeys(dto.HierarchyInput) (string, error)
	FindRelationships(dto.HierarchyInput) (string, error)
	GetQuery(dto.QueryInput) (string, error)
	GetQueryJSON(dto.QueryJSONInput) (string, error)
	// GetListTableResources(dto.HierarchyInput) (string, error)
	// GetReadTableResource(mcp_server.HierarchyInput) (string, error)
	GetPromptWriteSafeSelectTool() (string, error)
}

func NewSimpleStackqlInterrogator

func NewSimpleStackqlInterrogator() StackqlInterrogator

Jump to

Keyboard shortcuts

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