Documentation
¶
Overview ¶
Package mcpserver implements the Model Context Protocol (stdio) server for honey.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶ added in v0.3.6
func NewServer(cfg *config.File, enf *policy.Enforcer, searchReg *searchrun.Registry, execReg hostexec.Registry) *mcp.Server
NewServer builds the honey MCP server with its tools registered and the given config and (optional) policy enforcer wired in. Transport is the caller's choice — Run uses stdio; tests use an in-memory transport. A nil enforcer leaves OPA opt-in; built-in critical command-risk denies always apply.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.