@alfe.ai/mcp-bundler 0.3.2 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,6 +10,32 @@ Part of [**Alfe**](https://alfe.ai) — the operating system for AI agents: buil
10
10
  npm install @alfe.ai/mcp-bundler
11
11
  ```
12
12
 
13
+ ## Runtime model
14
+
15
+ `Store` is the owner-only on-disk source of truth, `Manager` serializes
16
+ configuration mutations and reconciles them into a live `McpBundler`, and the
17
+ bundler supervises child connections while exposing one collision-safe tool
18
+ catalogue. Tool listing and routing use the same resolved catalogue, so every
19
+ advertised name is callable.
20
+
21
+ The store and child MCP protocol are executable-data boundaries:
22
+ configuration, catalogues, schemas, arguments, results, stderr, and errors are
23
+ validated and bounded. Existing malformed stores fail closed instead of being
24
+ replaced with an empty registry. Store files are read without following
25
+ symlinks and are tightened to owner-only permissions.
26
+
27
+ ```typescript
28
+ import { Manager, McpBundler } from '@alfe.ai/mcp-bundler';
29
+
30
+ const bundler = new McpBundler();
31
+ const manager = new Manager();
32
+ await manager.loadIntoBundler(bundler);
33
+ await manager.addServer(
34
+ { command: 'npx', args: ['-y', 'example-mcp'] },
35
+ { id: 'example', owner: 'manual' },
36
+ );
37
+ ```
38
+
13
39
  ## Links
14
40
 
15
41
  - 🌐 Website: <https://alfe.ai>