indra_db_mcp 0.1.2 → 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/package.json +1 -1
  2. package/src/index.ts +44 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indra_db_mcp",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "MCP server for indra_db - a content-addressed graph database for versioned thoughts",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -85,7 +85,15 @@ The thought will be embedded for semantic search, allowing you to find it later
85
85
  by meaning rather than exact words. Each thought becomes a node that can be
86
86
  connected to others, forming a web of understanding.
87
87
 
88
- This is how you think out loud - make your reasoning visible and traceable.`,
88
+ This is how you think out loud - make your reasoning visible and traceable.
89
+
90
+ PROACTIVE TRIGGERS - Use this tool when you notice yourself:
91
+ - Making a key observation or having an "aha" moment
92
+ - Identifying an important pattern or insight
93
+ - Drawing a conclusion from analysis
94
+ - Forming a hypothesis or assumption
95
+ - Noting something surprising or unexpected
96
+ - Making a decision with rationale worth preserving`,
89
97
  {
90
98
  content: z.string().describe("The thought to capture - be specific and self-contained"),
91
99
  id: z.string().optional().describe("Optional memorable identifier (e.g., 'key-insight-about-X'). Auto-generated if not provided."),
@@ -188,7 +196,12 @@ Use this to:
188
196
  - Review the current state of understanding
189
197
  - Plan what connections to make
190
198
 
191
- Returns all thoughts with their IDs and content.`,
199
+ Returns all thoughts with their IDs and content.
200
+
201
+ PROACTIVE TRIGGERS - Use this when:
202
+ - Starting a new session (see what context already exists)
203
+ - Feeling lost about what's been captured so far
204
+ - Looking for orphan thoughts that need connections`,
192
205
  {},
193
206
  async () => {
194
207
  try {
@@ -220,7 +233,13 @@ Relationship types (use what fits, or create your own):
220
233
  - "similar_to" → These thoughts express related ideas
221
234
  - "relates_to" → General connection (when type is unclear)
222
235
 
223
- The web of connections IS your understanding made visible.`,
236
+ The web of connections IS your understanding made visible.
237
+
238
+ PROACTIVE TRIGGERS - Use this after creating a thought when you notice:
239
+ - The new thought builds on or extends a previous one (derives_from)
240
+ - The new thought provides evidence for a prior claim (supports)
241
+ - The new thought contradicts something you noted earlier (contradicts)
242
+ - Multiple thoughts form a logical sequence (precedes, causes)`,
224
243
  {
225
244
  from: z.string().describe("Source thought ID - the starting point of the relationship"),
226
245
  to: z.string().describe("Target thought ID - what the source connects to"),
@@ -316,7 +335,14 @@ Use this to:
316
335
  - Check if you've already captured something similar
317
336
  - Surface related ideas you may have forgotten
318
337
 
319
- Higher scores = more semantically similar.`,
338
+ Higher scores = more semantically similar.
339
+
340
+ PROACTIVE TRIGGERS - Use this tool when you:
341
+ - Start working on a new task (search for related prior work)
342
+ - Need context on a topic you've explored before
343
+ - Want to avoid duplicating previous insights
344
+ - Are about to make a decision (check if you've reasoned about this)
345
+ - Feel like "I think I've thought about this before"`,
320
346
  {
321
347
  query: z.string().describe("What you're looking for - describe the meaning/concept"),
322
348
  limit: z.number().min(1).max(100).default(10).describe("Maximum results to return"),
@@ -346,7 +372,13 @@ Good checkpoint messages describe WHY, not just what:
346
372
  - "Refined hypothesis after finding contradicting evidence"
347
373
  - "Branching to explore alternative approach"
348
374
 
349
- Checkpoints let you see how understanding evolved over time.`,
375
+ Checkpoints let you see how understanding evolved over time.
376
+
377
+ PROACTIVE TRIGGERS - Use this when:
378
+ - Completing a logical unit of thinking or analysis
379
+ - Finishing exploration of one approach before trying another
380
+ - Reaching a conclusion or decision point
381
+ - Before major changes to your mental model`,
350
382
  {
351
383
  message: z.string().describe("What this checkpoint represents - focus on the WHY"),
352
384
  },
@@ -398,7 +430,13 @@ Use this when:
398
430
  - Trying an alternative approach
399
431
  - Saving current state before major changes
400
432
 
401
- You can always come back to main, or merge insights later.`,
433
+ You can always come back to main, or merge insights later.
434
+
435
+ PROACTIVE TRIGGERS - Use this when you notice yourself thinking:
436
+ - "What if we tried it a different way?"
437
+ - "Let me explore this alternative before committing"
438
+ - "I'm not sure this will work, but let's see"
439
+ - "There are two valid approaches here"`,
402
440
  {
403
441
  name: z.string().describe("Name for the new branch (e.g., 'explore-alternative', 'hypothesis-b')"),
404
442
  },