@gainable.dev/mcp-server 0.1.1 → 0.1.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 (2) hide show
  1. package/dist/index.js +6 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -17,6 +17,12 @@ const userConfig = UserConfigSchema.parse({
17
17
  httpHost: '127.0.0.1',
18
18
  connectionString: config.mongodbUri,
19
19
  telemetry: 'disabled',
20
+ // 24h idle timeout — sessions are long-lived (Weavy agent conversations)
21
+ idleTimeoutMs: 86400000,
22
+ notificationTimeoutMs: 82800000,
23
+ // Weavy manages session IDs externally — accept any session ID without requiring initialize
24
+ // This prevents 404 "session not found" after sidecar restarts
25
+ externallyManagedSessions: true,
20
26
  disabledTools: [
21
27
  'drop-database', 'drop-collection', 'create-collection',
22
28
  'list-databases', 'rename-collection', 'drop-index',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainable.dev/mcp-server",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Scoped MCP server for Gainable in-app copilot agents — wraps mongodb-mcp-server with per-app data isolation",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",