package
Version:
v0.21.0
Opens a new window with list of versions in this module.
Published: Mar 12, 2026
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ServeStdio runs the MCP server on the given reader/writer (typically stdin/stdout).
It reads newline-delimited JSON-RPC requests and writes responses.
Server handles MCP protocol messages by delegating to existing JSON-RPC handlers.
NewServer creates an MCP server backed by the given JSON-RPC handler context.
HandleRequest processes a single MCP JSON-RPC request and returns a response.
type Tool struct {
Name string `json:"name"`
Description string `json:"description"`
InputSchema json.RawMessage `json:"inputSchema"`
}
Tool describes an MCP tool with its input schema.
ToolsDef returns the list of MCP tools exposed by waza.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.