Expand description
The supported embedding surface: build (NodeBuilder) and drive (Node) a full
in-process mesh node. The node is its OWN mesh identity under its OWN root directory —
it never touches the per-user daemon’s state, socket, or singleton lock, so it coexists
freely with a running mcpmesh daemon (and with other embedded nodes under other roots).
Structs§
- Node
- A running in-process node. Dropping it does NOT stop serving — call
shutdown. - Node
Builder - Build a
Node: pick a root directory, optionally inject aConfig, thenstart.
Enums§
- Start
Error - Everything that can refuse a
NodeBuilder::start. Embedders branch onDataDirInUse(another node owns this root — one node per root, enforced by redb’s exclusive database lock) andConfig(a malformedconfig.toml/ programmatic config, worth showing to a human); everything else is opaque infrastructure failure.