indelible-mcp 4.1.2 → 4.1.4
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/package.json +1 -1
- package/src/index.js +16 -12
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -256,7 +256,7 @@ Commands:
|
|
|
256
256
|
|
|
257
257
|
function printHelp() {
|
|
258
258
|
console.log(`
|
|
259
|
-
Indelible MCP — Blockchain memory for Claude Code (v4.1.
|
|
259
|
+
Indelible MCP — Blockchain memory for Claude Code (v4.1.4)
|
|
260
260
|
|
|
261
261
|
Setup:
|
|
262
262
|
indelible-mcp setup --wif=KEY --pin=PIN Import and encrypt your private key
|
|
@@ -468,7 +468,7 @@ function readStdin() {
|
|
|
468
468
|
|
|
469
469
|
const SERVER_INFO = {
|
|
470
470
|
name: 'indelible',
|
|
471
|
-
version: '4.1.
|
|
471
|
+
version: '4.1.4',
|
|
472
472
|
description: 'Blockchain-backed memory and code storage for Claude Code'
|
|
473
473
|
}
|
|
474
474
|
|
|
@@ -763,13 +763,17 @@ async function runWizard() {
|
|
|
763
763
|
allGood = false
|
|
764
764
|
}
|
|
765
765
|
|
|
766
|
-
// MCP registered
|
|
767
|
-
const claudeSettings = join(homedir(), '.claude', 'settings.json')
|
|
766
|
+
// MCP registered — check both config locations
|
|
768
767
|
let mcpOk = false
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
768
|
+
for (const cfgPath of [
|
|
769
|
+
join(homedir(), '.claude.json'),
|
|
770
|
+
join(homedir(), '.claude', 'settings.json')
|
|
771
|
+
]) {
|
|
772
|
+
try {
|
|
773
|
+
const s = JSON.parse(readFileSync(cfgPath, 'utf8'))
|
|
774
|
+
if (s?.mcpServers?.indelible) { mcpOk = true; break }
|
|
775
|
+
} catch {}
|
|
776
|
+
}
|
|
773
777
|
console.log(mcpOk ? ' ✓ MCP registered with Claude Code' : ' ✗ MCP not registered')
|
|
774
778
|
if (!mcpOk) allGood = false
|
|
775
779
|
|
|
@@ -847,10 +851,10 @@ async function runWizard() {
|
|
|
847
851
|
if (!mcpOk && claudeOk) {
|
|
848
852
|
console.log(' Fixing: registering MCP with Claude Code...')
|
|
849
853
|
try {
|
|
850
|
-
execSync('claude mcp add indelible -- indelible-mcp', { stdio: 'pipe' })
|
|
854
|
+
execSync('claude mcp add --scope user indelible -- indelible-mcp', { stdio: 'pipe' })
|
|
851
855
|
console.log(' ✓ MCP registered')
|
|
852
856
|
} catch {
|
|
853
|
-
console.log(' Run this yourself: claude mcp add indelible -- indelible-mcp')
|
|
857
|
+
console.log(' Run this yourself: claude mcp add --scope user indelible -- indelible-mcp')
|
|
854
858
|
}
|
|
855
859
|
}
|
|
856
860
|
if (!hooksOk) {
|
|
@@ -924,11 +928,11 @@ async function runWizard() {
|
|
|
924
928
|
// Register MCP with Claude Code
|
|
925
929
|
console.log(' Registering Indelible with Claude Code...')
|
|
926
930
|
try {
|
|
927
|
-
execSync('claude mcp add indelible -- indelible-mcp', { stdio: 'pipe' })
|
|
931
|
+
execSync('claude mcp add --scope user indelible -- indelible-mcp', { stdio: 'pipe' })
|
|
928
932
|
console.log(' ✓ MCP registered\n')
|
|
929
933
|
} catch {
|
|
930
934
|
console.log(' Could not register automatically.')
|
|
931
|
-
console.log(' Run this yourself: claude mcp add indelible -- indelible-mcp\n')
|
|
935
|
+
console.log(' Run this yourself: claude mcp add --scope user indelible -- indelible-mcp\n')
|
|
932
936
|
}
|
|
933
937
|
|
|
934
938
|
config = await loadConfig()
|