Documentation
¶
Overview ¶
Package server wires the AskUserQuestion tool into an MCP server.
The tool's schema, validation rules, and canonical answer formatting come from github.com/dreamware-nz/askuserquestion-go so this package stays focused on protocol plumbing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Resolver ¶
type Resolver interface {
Ask(ctx context.Context, req askuserquestion.Request) ([]askuserquestion.Answer, error)
}
Resolver is the abstraction the MCP tool handler calls to actually surface the question to a human. The default implementation is a browser-based picker (internal/browser), but tests and alternative frontends can supply their own.
Click to show internal directories.
Click to hide internal directories.