indelible-mcp 3.2.1 → 3.4.0

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
@@ -1,158 +1,82 @@
1
- # Indelible MCP Server
2
-
3
- Blockchain-backed memory for Claude Code. Save your AI conversations permanently on BSV.
4
-
5
- ## Quick Start
6
-
7
- ```bash
8
- npm install -g indelible-mcp
9
- indelible-mcp --show-config
10
- ```
11
-
12
- Copy the config output and paste it into your Claude Code settings, then restart Claude Code.
13
-
14
- ## Setup
15
-
16
- ### 1. Sign Up at indelible.one
17
-
18
- Sign in with Google at [indelible.one](https://indelible.one). Your BSV private key (WIF) is generated automatically and shown in Settings.
19
-
20
- ### 2. Install
21
-
22
- ```bash
23
- npm install -g indelible-mcp
24
- ```
25
-
26
- ### 3. Import Your Key
27
-
28
- ```bash
29
- indelible-mcp setup --wif=YOUR_KEY
30
- ```
31
-
32
- Paste the WIF from your indelible.one Settings page. This saves it to `~/.indelible/config.json`.
33
-
34
- **Your key never leaves your machine.**
35
-
36
- ### 4. Configure Claude Code
37
-
38
- Run:
39
- ```bash
40
- indelible-mcp --show-config
41
- ```
42
-
43
- Add the output to your Claude Code settings:
44
-
45
- ```json
46
- {
47
- "mcpServers": {
48
- "indelible": {
49
- "command": "indelible-mcp"
50
- }
51
- }
52
- }
53
- ```
54
-
55
- ### 5. Restart Claude Code
56
-
57
- Close and reopen VS Code (or your Claude Code client).
58
-
59
- ### 6. Fund Your Wallet
60
-
61
- Send a small amount of BSV (~$0.01) to your address for transaction fees.
62
-
63
- ## Tools
64
-
65
- ### `setup_wallet`
66
- Import your BSV wallet from indelible.one. Only needed once.
67
-
68
- ```
69
- "Import my wallet" or indelible-mcp setup --wif=YOUR_KEY
70
- ```
71
-
72
- ### `save_session`
73
- Save the current conversation to the blockchain.
74
-
75
- ```
76
- "Save this session to blockchain"
77
- ```
78
-
79
- ### `load_context`
80
- Load previous sessions from the blockchain. Automatically includes your active AI style if one is saved.
81
-
82
- ```
83
- "Load my previous context"
84
- ```
85
-
86
- ### `save_file`
87
- Save a single file to the blockchain, encrypted with your key.
88
-
89
- ```
90
- "Save this file to the blockchain"
91
- ```
92
-
93
- ### `load_file`
94
- Load a file from the blockchain by transaction ID.
95
-
96
- ```
97
- "Load file from tx abc123..."
98
- ```
99
-
100
- ### `save_project`
101
- Save an entire project directory to the blockchain.
102
-
103
- ```
104
- "Save this project to the blockchain"
105
- ```
106
-
107
- ### `load_project`
108
- Load a project from the blockchain by transaction ID.
109
-
110
- ```
111
- "Load project from tx abc123..."
112
- ```
113
-
114
- ### `save_style`
115
- Save an AI interaction style (rules/preferences) to blockchain.
116
-
117
- ```
118
- "Save my AI style to blockchain"
119
- ```
120
-
121
- ### `load_style`
122
- Load an AI interaction style from blockchain. Called automatically by `load_context`.
123
-
124
- ```
125
- "Load my AI style"
126
- ```
127
-
128
- ### `update_vault_index`
129
- Update the on-chain vault index with metadata for all saved files and projects.
130
-
131
- ```
132
- "Update my vault index"
133
- ```
134
-
135
- ## How It Works
136
-
137
- 1. Your conversations are encrypted with AES-256-GCM using your WIF-derived key
138
- 2. Encrypted data is stored on the BSV blockchain via OP_RETURN
139
- 3. Only you can decrypt your data (using your WIF)
140
- 4. Sessions are chained together for continuity
141
-
142
- ## View Your Data
143
-
144
- Visit [indelible.one](https://indelible.one) and sign in with Google to see all your saved sessions and code.
145
-
146
- ## Cost
147
-
148
- ~1 satoshi per byte. A typical session costs less than $0.01.
149
-
150
- ## Changelog
151
-
152
- ### 3.2.1
153
- - Security fix: removed remote fallback paths
154
- - All operations now route exclusively through SPV bridge
155
-
156
- ## License
157
-
158
- MIT
1
+ # Indelible MCP Server
2
+
3
+ Blockchain-backed memory for Claude Code. Save your AI conversations permanently on BSV.
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ npm install -g indelible-mcp
9
+ indelible-mcp setup
10
+ ```
11
+
12
+ ## Setup
13
+
14
+ ### 1. Install & Create Wallet
15
+
16
+ ```bash
17
+ npm install -g indelible-mcp
18
+ indelible-mcp setup
19
+ ```
20
+
21
+ This generates a BSV keypair locally (your private key never leaves your machine) and registers with the Indelible server.
22
+
23
+ ### 2. Fund Your Wallet
24
+
25
+ Send a small amount of BSV to the address shown after setup. Any BSV wallet works (HandCash, RelayX, etc.).
26
+
27
+ ### 3. Add MCP Config to Claude Code
28
+
29
+ Run `indelible-mcp --show-config` to get your config, or add this to your Claude Code `settings.json`:
30
+
31
+ ```json
32
+ {
33
+ "mcpServers": {
34
+ "indelible": {
35
+ "command": "indelible-mcp"
36
+ }
37
+ }
38
+ }
39
+ ```
40
+
41
+ ## Usage
42
+
43
+ Once configured, just talk to Claude Code naturally:
44
+
45
+ - **"Save this session to blockchain"** - saves your conversation
46
+ - **"Load my previous context"** - restores past sessions
47
+ - **"Delta save"** - saves only new messages (cheaper, faster)
48
+
49
+ ### Auto-Save & Auto-Restore
50
+
51
+ Indelible automatically saves before Claude Code compacts your context, and restores your sessions after compaction. Nothing is lost.
52
+
53
+ ### CLI Commands
54
+
55
+ ```
56
+ indelible-mcp setup Generate wallet & register
57
+ indelible-mcp setup --migrate Derive API key from existing wallet
58
+ indelible-mcp save Save current session
59
+ indelible-mcp save --summary XYZ Save with custom summary
60
+ indelible-mcp load Load context from blockchain
61
+ indelible-mcp load --sessions=5 Load N sessions
62
+ indelible-mcp status Show account status
63
+ indelible-mcp hook pre-compact Pre-compaction save hook
64
+ indelible-mcp hook post-compact Post-compaction restore hook
65
+ ```
66
+
67
+ ## How It Works
68
+
69
+ 1. Your conversation is encrypted locally with your WIF key
70
+ 2. An OP_RETURN transaction is built and signed locally using `@bsv/sdk`
71
+ 3. The signed transaction is broadcast via Indelible's SPV bridge
72
+ 4. Your private key **never** leaves your machine
73
+
74
+ ## Security
75
+
76
+ - **Zero-knowledge encryption** - your WIF-derived AES-256-GCM key encrypts all data before it touches the network
77
+ - **Self-sovereign keys** - generated locally with `@bsv/sdk`, never transmitted
78
+ - **Immutable storage** - once on BSV, your data cannot be altered or deleted
79
+
80
+ ## Learn More
81
+
82
+ [indelible.one](https://indelible.one)
package/package.json CHANGED
@@ -1,35 +1,39 @@
1
- {
2
- "name": "indelible-mcp",
3
- "version": "3.2.1",
4
- "description": "MCP server for Indelible AI - blockchain-backed memory for Claude Code",
5
- "type": "module",
6
- "main": "index.js",
7
- "bin": {
8
- "indelible-mcp": "index.js"
9
- },
10
- "files": [
11
- "index.js",
12
- "lib/",
13
- "tools/",
14
- "README.md"
15
- ],
16
- "scripts": {
17
- "start": "node index.js"
18
- },
19
- "keywords": [
20
- "mcp",
21
- "claude",
22
- "indelible",
23
- "blockchain",
24
- "bsv",
25
- "ai-memory"
26
- ],
27
- "author": "",
28
- "license": "MIT",
29
- "dependencies": {
30
- "@anthropic-ai/sdk": "^0.52.0",
31
- "@bsv/sdk": "^1.1.23",
32
- "cross-keychain": "^1.1.0",
33
- "node-fetch": "^3.3.2"
34
- }
35
- }
1
+ {
2
+ "name": "indelible-mcp",
3
+ "version": "3.4.0",
4
+ "description": "Blockchain-backed memory and code storage for Claude Code. Save AI conversations and source code permanently on BSV.",
5
+ "type": "module",
6
+ "main": "src/index.js",
7
+ "bin": {
8
+ "indelible-mcp": "src/index.js"
9
+ },
10
+ "files": [
11
+ "src/"
12
+ ],
13
+ "scripts": {
14
+ "start": "node src/index.js",
15
+ "build": "bun build --compile src/index.js --outfile dist/indelible.exe",
16
+ "build:all": "bun build --compile --target=bun-windows-x64 src/index.js --outfile dist/indelible-win-x64.exe && bun build --compile --target=bun-linux-x64 src/index.js --outfile dist/indelible-linux-x64 && bun build --compile --target=bun-darwin-arm64 src/index.js --outfile dist/indelible-darwin-arm64"
17
+ },
18
+ "keywords": [
19
+ "claude-code",
20
+ "mcp",
21
+ "blockchain",
22
+ "bsv",
23
+ "memory",
24
+ "context",
25
+ "indelible",
26
+ "code-vault",
27
+ "encrypted-storage"
28
+ ],
29
+ "license": "MIT",
30
+ "repository": {
31
+ "type": "git",
32
+ "url": "https://github.com/indelibleai/indelible-mcp"
33
+ },
34
+ "homepage": "https://indelible.one",
35
+ "dependencies": {
36
+ "@bsv/sdk": "1.10.1",
37
+ "cross-keychain": "^1.1.0"
38
+ }
39
+ }