toon-memory 1.0.2 → 1.0.3

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.
Files changed (3) hide show
  1. package/bin/mcp.js +14 -0
  2. package/mcp/server.js +20966 -0
  3. package/package.json +3 -2
package/bin/mcp.js ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env node
2
+
3
+ // MCP server wrapper - runs the TypeScript server via tsx
4
+ import { execSync } from "child_process"
5
+ import { dirname, join } from "path"
6
+ import { fileURLToPath } from "url"
7
+
8
+ const __dirname = dirname(fileURLToPath(import.meta.url))
9
+ const serverPath = join(__dirname, "..", "src", "mcp", "server.ts")
10
+
11
+ execSync(`npx tsx "${serverPath}"`, {
12
+ stdio: "inherit",
13
+ cwd: process.cwd(),
14
+ })