server

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MCPServer

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

MCPServer handles MCP protocol communication

func NewMCPServer

func NewMCPServer(db *database.DBManager) *MCPServer

NewMCPServer creates a new MCP server

func (*MCPServer) Run

func (s *MCPServer) Run(ctx context.Context) error

Run starts the MCP server with stdio transport

func (*MCPServer) RunSSE

func (s *MCPServer) RunSSE(ctx context.Context, addr string, endpoint string) error

RunSSE starts the MCP server over SSE at the given address and endpoint

Jump to

Keyboard shortcuts

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