server

package
v0.0.0-...-ccebe83 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server implements the MCP server

func NewServer

func NewServer(
	transport mcp.Transport,
	mcpService domain.MCPService,
	logger domain.Logger,
	tracer domain.Tracer,
	metrics domain.Metrics,
) *Server

NewServer creates a new MCP server

func (*Server) Run

func (s *Server) Run() error

Run starts the MCP server

func (*Server) Shutdown

func (s *Server) Shutdown() error

Shutdown gracefully shuts down the server

Jump to

Keyboard shortcuts

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