@nano-step/nano-brain 2026.6.303 → 2026.6.305

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/README.md +40 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -32,7 +32,42 @@ nano-brain is a persistent memory server for AI coding agents that solves sessio
32
32
 
33
33
  ## Quick Start
34
34
 
35
- ### Option A: Via npx (no Go required)
35
+ ### Option A: Via MCP (recommended for AI agents)
36
+
37
+ Add to your MCP client config — no install required if the server is already running:
38
+
39
+ ```json
40
+ {
41
+ "mcp": {
42
+ "nano-brain": {
43
+ "type": "remote",
44
+ "url": "http://localhost:3100/mcp"
45
+ }
46
+ }
47
+ }
48
+ ```
49
+
50
+ ### Option B: Install globally (fast, no cold-start overhead)
51
+
52
+ ```bash
53
+ npm install -g @nano-step/nano-brain
54
+
55
+ # Start PostgreSQL + pgvector
56
+ docker run -d --name nanobrain-pg -p 5432:5432 \
57
+ -e POSTGRES_USER=nanobrain -e POSTGRES_PASSWORD=nanobrain -e POSTGRES_DB=nanobrain_dev \
58
+ pgvector/pgvector:pg17
59
+
60
+ # Start Ollama + pull embedding model
61
+ ollama pull nomic-embed-text
62
+
63
+ # Check prerequisites
64
+ nano-brain doctor
65
+
66
+ # Start server
67
+ nano-brain serve -d
68
+ ```
69
+
70
+ ### Option C: Via npx (no install, slower cold-start)
36
71
 
37
72
  ```bash
38
73
  # Start PostgreSQL + pgvector
@@ -44,17 +79,17 @@ docker run -d --name nanobrain-pg -p 5432:5432 \
44
79
  ollama pull nomic-embed-text
45
80
 
46
81
  # Check prerequisites
47
- npx @nano-step/nano-brain@beta doctor
82
+ npx @nano-step/nano-brain@latest doctor
48
83
 
49
84
  # Start server
50
- npx @nano-step/nano-brain@beta
85
+ npx @nano-step/nano-brain@latest
51
86
  ```
52
87
 
53
- > **Also available as:** `npx nano-brain@beta` (unscoped alias)
88
+ > **Also available as:** `npx nano-brain@latest` (unscoped alias)
54
89
  >
55
90
  > **Note:** Do NOT run `npx nano-brain` from the nano-brain source directory — npm will resolve the local package instead of the registry. Run from any other directory.
56
91
 
57
- ### Option B: Build from source
92
+ ### Option D: Build from source
58
93
 
59
94
  ```bash
60
95
  # Build
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nano-step/nano-brain",
3
- "version": "2026.6.303",
3
+ "version": "2026.6.305",
4
4
  "description": "Persistent memory and code intelligence for AI coding agents",
5
5
  "bin": {
6
6
  "nano-brain": "npm/run.js"