Documentation
¶
Index ¶
- func ErrorResult(msg string) any
- func New(name string, version string) *mcp.Server
- func Required(schema any, names []string) any
- func Schema(props []SchemaProperty) map[string]any
- func Serve(server *mcp.Server) error
- func TextResult(text string) any
- func Tool(server *mcp.Server, name, description string, schema any, handler ToolHandler)
- type SchemaProperty
- type ToolHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorResult ¶
func Schema ¶
func Schema(props []SchemaProperty) map[string]any
func TextResult ¶
Types ¶
type SchemaProperty ¶
Click to show internal directories.
Click to hide internal directories.