pkm-mcp-server 1.3.2 → 1.3.3
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/CHANGELOG.md +5 -0
- package/README.md +3 -3
- package/init.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.3.3] - 2026-03-21
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- Use `pkm-mcp-server@latest` in npx registration command to ensure users always get the latest version (previously npx could serve stale cached versions)
|
|
13
|
+
|
|
9
14
|
## [1.3.2] - 2026-03-21
|
|
10
15
|
|
|
11
16
|
### Fixed
|
package/README.md
CHANGED
|
@@ -114,7 +114,7 @@ node cli.js init
|
|
|
114
114
|
If you prefer to skip the wizard, register directly with the Claude CLI:
|
|
115
115
|
|
|
116
116
|
```bash
|
|
117
|
-
claude mcp add -s user -e VAULT_PATH=/absolute/path/to/your/vault -- obsidian-pkm npx -y pkm-mcp-server
|
|
117
|
+
claude mcp add -s user -e VAULT_PATH=/absolute/path/to/your/vault -- obsidian-pkm npx -y pkm-mcp-server@latest
|
|
118
118
|
```
|
|
119
119
|
|
|
120
120
|
For a source install:
|
|
@@ -134,7 +134,7 @@ claude mcp remove obsidian-pkm
|
|
|
134
134
|
claude mcp add -s user \
|
|
135
135
|
-e VAULT_PATH=/absolute/path/to/your/vault \
|
|
136
136
|
-e OPENAI_API_KEY=sk-... \
|
|
137
|
-
-- obsidian-pkm npx -y pkm-mcp-server
|
|
137
|
+
-- obsidian-pkm npx -y pkm-mcp-server@latest
|
|
138
138
|
```
|
|
139
139
|
|
|
140
140
|
This enables `vault_semantic_search` and `vault_suggest_links`. Uses `text-embedding-3-large` with a SQLite + sqlite-vec index stored at `.obsidian/semantic-index.db`. The index rebuilds automatically — delete the DB file to force a full re-embed.
|
|
@@ -280,7 +280,7 @@ All paths passed to tools are relative to vault root. The server includes path s
|
|
|
280
280
|
You need C++ build tools. See [Prerequisites](#prerequisites) for your platform. On Linux, `sudo apt install build-essential python3` usually fixes it.
|
|
281
281
|
|
|
282
282
|
**Server starts but all tool calls fail with ENOENT**
|
|
283
|
-
Your `VAULT_PATH` is wrong or missing. The server validates this at startup and exits with a clear error. Re-register with the correct path: `claude mcp remove obsidian-pkm && claude mcp add -s user -e VAULT_PATH=/correct/path -- obsidian-pkm npx -y pkm-mcp-server`
|
|
283
|
+
Your `VAULT_PATH` is wrong or missing. The server validates this at startup and exits with a clear error. Re-register with the correct path: `claude mcp remove obsidian-pkm && claude mcp add -s user -e VAULT_PATH=/correct/path -- obsidian-pkm npx -y pkm-mcp-server@latest`
|
|
284
284
|
|
|
285
285
|
**`vault_write` says "no templates available"**
|
|
286
286
|
Run `pkm-mcp-server init` to install templates, or copy the `templates/` files from this repo into your vault's `05-Templates/` directory. The server loads templates from there at startup.
|
package/init.js
CHANGED
|
@@ -192,7 +192,7 @@ export async function dirSize(dirPath) {
|
|
|
192
192
|
export function detectInstallType(filePath) {
|
|
193
193
|
const thisFile = filePath || fileURLToPath(import.meta.url);
|
|
194
194
|
if (thisFile.includes("node_modules")) {
|
|
195
|
-
return { command: "npx", args: ["-y", "pkm-mcp-server"] };
|
|
195
|
+
return { command: "npx", args: ["-y", "pkm-mcp-server@latest"] };
|
|
196
196
|
}
|
|
197
197
|
const cliPath = path.join(path.dirname(thisFile), "cli.js");
|
|
198
198
|
return { command: "node", args: [cliPath] };
|