Documentation
¶
Overview ¶
Package mcpserver exposes pano to AI agents over the Model Context Protocol. Every tool is a thin call into the control API client; rendering is tuned for token efficiency and every result ends with a "next:" hint so agents can escalate from list → summary → path → raw without guessing.
Index ¶
Constants ¶
const Instructions = `` /* 1483-byte string literal not displayed */
Instructions is sent to clients at initialize (kept under 2 KB: Claude Code truncates longer instructions).
Variables ¶
This section is empty.
Functions ¶
func FormatDecrypt ¶
FormatDecrypt renders the decrypt policy with every list in full.
func FormatMobile ¶
FormatMobile renders the LAN listener and every device seen, in full.
func FormatRows ¶
FormatRows renders flows as a fixed-column text table.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps the MCP server with its dependencies.
func (*Server) HTTPHandler ¶
HTTPHandler returns a Streamable HTTP handler (stateless) for mounting on the daemon's loopback port.