indra_db_mcp 0.1.0 → 0.1.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 CHANGED
@@ -47,7 +47,7 @@ Add to your `claude_desktop_config.json`:
47
47
  "command": "bun",
48
48
  "args": ["run", "/path/to/indra_db_mcp/src/index.ts"],
49
49
  "env": {
50
- "INDRA_DB_PATH": "~/.thoughts.indra"
50
+ "INDRA_DB_PATH": "~/.indra"
51
51
  }
52
52
  }
53
53
  }
@@ -58,10 +58,10 @@ Add to your `claude_desktop_config.json`:
58
58
 
59
59
  | Variable | Description | Default |
60
60
  |----------|-------------|---------|
61
- | `INDRA_DB_PATH` | Path to database file | `./thoughts.indra` (local) |
61
+ | `INDRA_DB_PATH` | Path to database file | `./.indra` (hidden file) |
62
62
 
63
63
  When `INDRA_DB_PATH` is set, uses that path (supports `~` for home directory).
64
- When unset, creates `thoughts.indra` in the current working directory.
64
+ When unset, creates a hidden `.indra` file in the current working directory.
65
65
 
66
66
  ## Available Tools
67
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indra_db_mcp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "MCP server for indra_db - a content-addressed graph database for versioned thoughts",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -151,15 +151,15 @@ function resolveDatabasePath(): string {
151
151
  // 1. Check environment variable
152
152
  const envPath = process.env.INDRA_DB_PATH;
153
153
  if (envPath) {
154
- // If explicitly set, use global path
154
+ // If explicitly set, use that path
155
155
  if (envPath.startsWith("~")) {
156
156
  return join(homedir(), envPath.slice(1));
157
157
  }
158
158
  return envPath;
159
159
  }
160
160
 
161
- // 2. Default to local directory for development
162
- return join(process.cwd(), "thoughts.indra");
161
+ // 2. Default to hidden .indra file in current directory
162
+ return join(process.cwd(), ".indra");
163
163
  }
164
164
 
165
165
  // ============================================================================