You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ai/mcp/server/knowledge-base/openapi.yaml
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,14 @@ paths:
61
61
summary: Start Database
62
62
operationId: start_database
63
63
description: |
64
-
Starts the ChromaDB database instance as a background process.
64
+
Starts the ChromaDB database instance as a background process, or connects to an existing one.
65
+
66
+
**Behavior:**
67
+
- **Managed:** If no database is running on the configured port, this tool spawns a new process managed by this server. This process will be automatically cleaned up when the agent session ends.
68
+
- **External:** If a database is already running, this tool simply confirms the connection. The server acts as a client and will NOT kill the database on exit.
69
+
70
+
**Multi-Agent / Swarm Recommendation:**
71
+
For workflows involving multiple concurrent agents, it is **highly recommended** to start the database externally using `npm run ai:server` before starting the agents. This prevents unexpected disconnects for other agents when the "owner" agent exits.
65
72
66
73
**When to Use:**
67
74
Use this tool if a `healthcheck` reveals that the database process is not running.
@@ -87,8 +94,15 @@ paths:
87
94
description: |
88
95
Stops the running ChromaDB database instance.
89
96
97
+
**Debug / Maintenance Tool:**
98
+
This tool is generally **not required** for standard workflows. The server now implements automatic process cleanup (for managed instances) when the session concludes.
99
+
100
+
**Effect:**
101
+
- **Managed:** Stops the process spawned by this server.
102
+
- **External:** **No effect.** The server cannot stop a database it did not start.
103
+
90
104
**When to Use:**
91
-
Use this tool to shut down the database process at the end of a session to free up resources.
105
+
Use this only for debugging, forcing a restart, or freeing up resources in a long-running environment where the agent session itself does not exit.
Copy file name to clipboardExpand all lines: ai/mcp/server/memory-core/openapi.yaml
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,14 @@ paths:
66
66
summary: Start Database
67
67
operationId: start_database
68
68
description: |
69
-
Starts the ChromaDB database instance for the Memory Core as a background process.
69
+
Starts the ChromaDB database instance for the Memory Core as a background process, or connects to an existing one.
70
+
71
+
**Behavior:**
72
+
- **Managed:** If no database is running on the configured port, this tool spawns a new process managed by this server. This process will be automatically cleaned up when the agent session ends.
73
+
- **External:** If a database is already running (e.g., via `npm run ai:server-memory`), this tool simply confirms the connection. The server acts as a client and will NOT kill the database on exit.
74
+
75
+
**Multi-Agent / Swarm Recommendation:**
76
+
For workflows involving multiple concurrent agents, it is **highly recommended** to start the database externally using `npm run ai:server-memory` before starting the agents. This prevents unexpected disconnects for other agents when the "owner" agent exits.
70
77
71
78
**When to Use:**
72
79
Use this tool if a `healthcheck` reveals that the database process is not running.
@@ -92,8 +99,15 @@ paths:
92
99
description: |
93
100
Stops the running ChromaDB database instance for the Memory Core.
94
101
102
+
**Debug / Maintenance Tool:**
103
+
This tool is generally **not required** for standard workflows. The server now implements automatic process cleanup (for managed instances) when the session concludes.
104
+
105
+
**Effect:**
106
+
- **Managed:** Stops the process spawned by this server.
107
+
- **External:** **No effect.** The server cannot stop a database it did not start.
108
+
95
109
**When to Use:**
96
-
Use this tool to shut down the database process at the end of a session to free up resources.
110
+
Use this only for debugging, forcing a restart, or freeing up resources in a long-running environment where the agent session itself does not exit.
0 commit comments