Versions in this module Expand all Collapse all v0 v0.1.2 Jul 4, 2026 v0.1.1 Jun 25, 2026 Changes in this version + type MCPServer struct + func NewServer(name string) *MCPServer + func NewTokServer() *MCPServer + func (s *MCPServer) HandleRequest(ctx context.Context, method string, params map[string]interface{}) (interface{}, error) + func (s *MCPServer) ListTools() []ToolDef + func (s *MCPServer) RegisterTool(name, description string, schema map[string]interface{}, handler ToolHandler) + type ToolDef struct + Description string + InputSchema map[string]interface{} + Name string + type ToolHandler func(ctx context.Context, params map[string]interface{}) (interface{}, error)