obsidian-sync-mcp 0.5.3 → 0.5.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/README.md +4 -2
- package/dist/main.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,12 +57,13 @@ docker run -p 8787:8787 \
|
|
|
57
57
|
-e COUCHDB_USER=admin -e COUCHDB_PASSWORD=yourpassword \
|
|
58
58
|
-e COUCHDB_DATABASE=obsidian -e VAULT_NAME=MyVault \
|
|
59
59
|
-e COUCHDB_PASSPHRASE=your-encryption-passphrase \
|
|
60
|
+
-e COUCHDB_OBFUSCATE_PROPERTIES=false \
|
|
60
61
|
-e MCP_AUTH_TOKEN=yourpassword \
|
|
61
62
|
-e BASE_URL=https://your-server-url \
|
|
62
63
|
ghcr.io/es617/obsidian-sync-mcp:latest
|
|
63
64
|
```
|
|
64
65
|
|
|
65
|
-
Set `COUCHDB_PASSPHRASE` if you use E2E encryption in LiveSync. Set `BASE_URL` to your public URL (required for OAuth callbacks when agents connect over HTTPS).
|
|
66
|
+
Set `COUCHDB_PASSPHRASE` if you use E2E encryption in LiveSync. Set `COUCHDB_OBFUSCATE_PROPERTIES=true` **only if** "Obfuscate Properties" is also enabled in your LiveSync settings — must match, or writes will silently fail to sync. Set `BASE_URL` to your public URL (required for OAuth callbacks when agents connect over HTTPS).
|
|
66
67
|
|
|
67
68
|
Your MCP endpoint is `https://your-app.fly.dev/mcp` (Fly.io) or `https://your-server:8787/mcp` (Docker behind HTTPS).
|
|
68
69
|
|
|
@@ -164,11 +165,12 @@ COUCHDB_USER=admin \
|
|
|
164
165
|
COUCHDB_PASSWORD=yourpassword \
|
|
165
166
|
COUCHDB_DATABASE=obsidian \
|
|
166
167
|
COUCHDB_PASSPHRASE=your-encryption-passphrase \
|
|
168
|
+
COUCHDB_OBFUSCATE_PROPERTIES=false \
|
|
167
169
|
VAULT_NAME=MyVault \
|
|
168
170
|
npx obsidian-sync-mcp
|
|
169
171
|
```
|
|
170
172
|
|
|
171
|
-
Omit `COUCHDB_PASSPHRASE` if you don't use E2E encryption in LiveSync.
|
|
173
|
+
Omit `COUCHDB_PASSPHRASE` if you don't use E2E encryption in LiveSync. Set `COUCHDB_OBFUSCATE_PROPERTIES=true` **only if** "Obfuscate Properties" is also enabled in your LiveSync settings — must match, or writes will silently fail to sync.
|
|
172
174
|
|
|
173
175
|
**Or with Docker:**
|
|
174
176
|
|
package/dist/main.js
CHANGED
|
@@ -1003,7 +1003,7 @@ if (VAULT_PATH) {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
var serverOptions = {
|
|
1005
1005
|
name: "obsidian-sync-mcp",
|
|
1006
|
-
version: "0.5.
|
|
1006
|
+
version: "0.5.4",
|
|
1007
1007
|
instructions: "Access and manage an Obsidian vault. You can read, write, list, search, move, and delete markdown notes. Every tool response includes an Obsidian deep link. Always show this link to the user using the format [obsidian://open?vault=...&file=...](obsidian://open?vault=...&file=...) so it is both clickable and visible as a URL."
|
|
1008
1008
|
};
|
|
1009
1009
|
var auth = null;
|
|
@@ -1056,7 +1056,7 @@ server.start({
|
|
|
1056
1056
|
transportType: "httpStream",
|
|
1057
1057
|
httpStream: { port: PORT, endpoint: "/mcp", host: process.env.HOST ?? "0.0.0.0" }
|
|
1058
1058
|
});
|
|
1059
|
-
console.log(`obsidian-sync-mcp v${"0.5.
|
|
1059
|
+
console.log(`obsidian-sync-mcp v${"0.5.4"} listening on port ${PORT}`);
|
|
1060
1060
|
process.on("unhandledRejection", (err) => {
|
|
1061
1061
|
console.error("Unhandled rejection:", err);
|
|
1062
1062
|
});
|
package/package.json
CHANGED