handler

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCPHandler

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

MCPHandler registers all MCP tools with the server.

func (*MCPHandler) RegisterPrompts

func (h *MCPHandler) RegisterPrompts(srv *server.MCPServer, pool *pgxpool.Pool)

RegisterPrompts adds all MCP prompts to the server. Prompts are reusable prompt templates pre-filled with dynamic codebase context.

func (*MCPHandler) RegisterResources

func (h *MCPHandler) RegisterResources(srv *server.MCPServer, pool *pgxpool.Pool)

RegisterResources adds all MCP resources to the server. Resources expose structured, on-demand JSON data that AI can pull without calling a tool.

func (*MCPHandler) RegisterTools

func (h *MCPHandler) RegisterTools(srv *server.MCPServer)

RegisterTools adds all GoAtlas tools to the MCP server.

Jump to

Keyboard shortcuts

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