Documentation
¶
Overview ¶
Package app provides the shared application core used by both the MCP server and the CLI. It handles module initialization, proxy connection, sandbox setup, and semantic search indices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
ModuleRegistry *module.Registry
Sandbox sandbox.Service
ProxyClient proxy.Client
LocalProxy proxy.Server
Cartographoor cartographoor.CartographoorClient
// contains filtered or unexported fields
}
App contains the shared core components used by both the MCP server and CLI.
func (*App) ArmDiscoveryRefresh ¶ added in v0.32.0
ArmDiscoveryRefresh enables the background discovery hook and installs the registrar used to register resources for modules that activate after the server is built (e.g. a local Kurtosis datasource appearing later). It runs one refresh immediately to catch datasources discovered while the hook was still disarmed.
func (*App) Build ¶
Build initializes all shared components in dependency order: register modules -> sandbox -> proxy -> init modules -> module startup -> cartographoor.