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 wraps the MCP server instance.
func NewServer ¶
func NewServer() *Server
NewServer initializes the MCP server with standard configuration.
func (*Server) AddTool ¶
func (s *Server) AddTool(tool mcp.Tool, handler func(context.Context, mcp.CallToolRequest) (*mcp.CallToolResult, error))
AddTool registers a tool with the server.
func (*Server) RegisterQualityTool ¶
func (s *Server) RegisterQualityTool()
RegisterQualityTool adds the 'run-quality-checks' tool to the server.
func (*Server) StartStdio ¶
StartStdio starts the server on Standard Input/Output. This blocks until the connection closes.
Click to show internal directories.
Click to hide internal directories.