@memstack/mcp 0.6.4 → 0.7.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 +30 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +12194 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +12132 -0
- package/dist/index.js.map +1 -0
- package/package.json +5 -4
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MemStackConfig, MemStack } from '@memstack/core';
|
|
2
|
+
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
3
|
+
|
|
4
|
+
declare function loadConfig(): Promise<{
|
|
5
|
+
config: MemStackConfig;
|
|
6
|
+
defaultActorId: string;
|
|
7
|
+
}>;
|
|
8
|
+
|
|
9
|
+
declare function createServer({ config, defaultActorId, ms: providedMs, }: {
|
|
10
|
+
config: MemStackConfig;
|
|
11
|
+
defaultActorId: string;
|
|
12
|
+
/** Reuse an existing MemStack instance instead of constructing one from config. Used by HTTP mode to avoid reconnecting storage per request. */
|
|
13
|
+
ms?: MemStack;
|
|
14
|
+
}): Server;
|
|
15
|
+
|
|
16
|
+
export { createServer, loadConfig };
|