mcp

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ToolRegistry

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

ToolRegistry manages the creation and registration of database tools

func NewToolRegistry

func NewToolRegistry(mcpServer *server.MCPServer, databaseUseCase *usecase.DatabaseUseCase) *ToolRegistry

NewToolRegistry creates a new tool registry

func (*ToolRegistry) RegisterAllTools

func (tr *ToolRegistry) RegisterAllTools()

RegisterAllTools registers all available database tools

func (*ToolRegistry) RegisterMockTools added in v1.4.1

func (tr *ToolRegistry) RegisterMockTools()

RegisterMockTools registers mock database tools when no real connections are available

Jump to

Keyboard shortcuts

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