mcp

package
v0.7.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 9 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 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

func (s *Server) StartStdio() error

StartStdio starts the server on Standard Input/Output. This blocks until the connection closes.

Jump to

Keyboard shortcuts

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