Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(mgr *mcpserver.Manager, latticeDir, configPath, transport, host string, idx *embed.Index) *mcp.Server
NewServer creates an MCP server with all tools registered. configPath is the path to mcp.json used for persisting dynamic server registrations. transport and host describe how the gateway itself is being served, so register_server can gate registration when bound to a non-loopback HTTP address (see ADR-0001). idx may be nil — find_tools degrades gracefully with a helpful error message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.