purecontext-mcp 1.1.4 → 1.1.6
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 +5 -5
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/02-installation.md +25 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -84,7 +84,7 @@ You should start from docs/README.md.
|
|
|
84
84
|
### Claude Code
|
|
85
85
|
|
|
86
86
|
```bash
|
|
87
|
-
claude mcp add purecontext-mcp -- npx purecontext-mcp
|
|
87
|
+
claude mcp add purecontext-mcp -- npx purecontext-mcp@latest
|
|
88
88
|
```
|
|
89
89
|
|
|
90
90
|
### Claude Desktop
|
|
@@ -96,7 +96,7 @@ Edit `~/.claude/claude_desktop_config.json`:
|
|
|
96
96
|
"mcpServers": {
|
|
97
97
|
"purecontext": {
|
|
98
98
|
"command": "npx",
|
|
99
|
-
"args": ["purecontext-mcp"]
|
|
99
|
+
"args": ["purecontext-mcp@latest"]
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -111,7 +111,7 @@ Create `.cursor/mcp.json` in your project (or `~/.cursor/mcp.json` for global):
|
|
|
111
111
|
"mcpServers": {
|
|
112
112
|
"purecontext": {
|
|
113
113
|
"command": "npx",
|
|
114
|
-
"args": ["purecontext-mcp"]
|
|
114
|
+
"args": ["purecontext-mcp@latest"]
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
}
|
|
@@ -126,7 +126,7 @@ Open Windsurf Settings → MCP section, or edit the MCP config file directly:
|
|
|
126
126
|
"mcpServers": {
|
|
127
127
|
"purecontext": {
|
|
128
128
|
"command": "npx",
|
|
129
|
-
"args": ["purecontext-mcp"]
|
|
129
|
+
"args": ["purecontext-mcp@latest"]
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
}
|
|
@@ -142,7 +142,7 @@ Create `.vscode/mcp.json` in your project:
|
|
|
142
142
|
"purecontext": {
|
|
143
143
|
"type": "stdio",
|
|
144
144
|
"command": "npx",
|
|
145
|
-
"args": ["purecontext-mcp"]
|
|
145
|
+
"args": ["purecontext-mcp@latest"]
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.1.6";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.1.6';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/docs/02-installation.md
CHANGED
|
@@ -236,9 +236,33 @@ purecontext-mcp config --check
|
|
|
236
236
|
|
|
237
237
|
## Upgrading
|
|
238
238
|
|
|
239
|
+
Run the command that matches how you installed PureContext:
|
|
240
|
+
|
|
241
|
+
**Installed with Volta:**
|
|
242
|
+
```bash
|
|
243
|
+
volta install purecontext-mcp
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
**Installed with npm globally:**
|
|
247
|
+
```bash
|
|
248
|
+
npm install -g purecontext-mcp@latest
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
**Running via npx (no global install):** npx may serve a cached older version. Force the latest:
|
|
239
252
|
```bash
|
|
240
|
-
|
|
253
|
+
npx purecontext-mcp@latest
|
|
241
254
|
```
|
|
255
|
+
To always get the latest version automatically, use `purecontext-mcp@latest` in your MCP client config instead of the bare package name.
|
|
256
|
+
|
|
257
|
+
**Installed from source:**
|
|
258
|
+
```bash
|
|
259
|
+
cd /path/to/purecontext-mcp
|
|
260
|
+
git pull
|
|
261
|
+
npm install
|
|
262
|
+
npm run build
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
> **Note:** `npm update -g purecontext-mcp` does not work reliably — use `npm install -g purecontext-mcp@latest` instead.
|
|
242
266
|
|
|
243
267
|
Index files (SQLite databases) are forward-compatible within a major version. After upgrading from `1.x` to `1.y`, existing indexes continue to work. A major version upgrade (e.g., `1.x` → `2.0`) may require a re-index — the CLI will warn if it detects an incompatible index version.
|
|
244
268
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "purecontext-mcp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "Token-efficient source code navigation MCP server for AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "npm run build:server && npm run build:ui",
|
|
65
|
-
"build:server": "tsc",
|
|
65
|
+
"build:server": "node scripts/generate-version.mjs && tsc",
|
|
66
66
|
"build:ui": "npm --prefix src/ui run build",
|
|
67
67
|
"dev": "concurrently \"tsc --watch\" \"npm --prefix src/ui run dev\"",
|
|
68
68
|
"test": "vitest run",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
82
82
|
"@types/js-yaml": "^4.0.9",
|
|
83
|
-
"better-sqlite3": "^
|
|
83
|
+
"better-sqlite3": "^11.9.0",
|
|
84
84
|
"chokidar": "^3.6.0",
|
|
85
85
|
"hnswlib-wasm": "^0.8.2",
|
|
86
86
|
"ignore": "^7.0.5",
|