@mcpfn/core 0.0.1 → 0.0.2

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
@@ -1,5 +1,16 @@
1
1
  # McpFn Core
2
2
 
3
+ `defineMcpFnServer()` creates a side-effect-free declaration whose registry and
4
+ manifest are shared by runtime, tests, and release tooling. Call
5
+ `declaration.createServer()` once per transport connection. Existing
6
+ `createMcpFnServer()` usage remains supported.
7
+
8
+ Declare protocol capabilities on `defineMcpFnServer()`. Per-connection runtime
9
+ options provide context, visibility, task storage, and transport behavior but
10
+ cannot add capabilities, so `declaration.manifest()` and every runtime manifest
11
+ remain byte-for-byte identical. When combining a supplied registry with inline
12
+ definitions, the declaration clones the registry before adding them.
13
+
3
14
  `@mcpfn/core` is the shared MCP runtime for Superfunctions. It delegates wire protocol and transport behavior to the official Model Context Protocol SDK while providing the pieces product code needs to remain stable:
4
15
 
5
16
  - an explicit, validated tool, resource, template, and prompt registry;