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 with tool handlers.
func (*Server) CallTool ¶ added in v0.1.4
func (s *Server) CallTool(ctx context.Context, name string, argsJSON json.RawMessage) (*mcp.CallToolResult, error)
CallTool invokes a tool handler directly by name, bypassing MCP transport.
func (*Server) StartWatcher ¶ added in v0.1.2
StartWatcher launches the background file-change polling goroutine. It stops when ctx is cancelled.
Click to show internal directories.
Click to hide internal directories.