standardnotes-mcp 3.0.1 → 3.1.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/CHANGELOG.md +37 -0
- package/README.md +91 -44
- package/SECURITY.md +2 -1
- package/dist/cli/clients.js +124 -0
- package/dist/cli/folders.js +63 -0
- package/dist/cli/install.js +58 -9
- package/dist/cli/login.js +13 -1
- package/dist/cli/setup.js +163 -59
- package/dist/config.js +30 -2
- package/dist/confirmDelete.js +88 -0
- package/dist/server.js +76 -85
- package/dist/slimTools.js +78 -0
- package/dist/sn/client.js +185 -40
- package/dist/sn/entitlement.js +25 -6
- package/dist/sn/frontmatter.js +15 -4
- package/dist/sn/markdownSections.js +16 -1
- package/dist/sn/protocol004.js +11 -8
- package/dist/sn/scope.js +34 -0
- package/dist/sn/session.js +21 -3
- package/dist/tools/daily.js +7 -19
- package/dist/tools/history.js +1 -1
- package/dist/tools/links.js +2 -9
- package/dist/tools/notes.js +142 -42
- package/dist/tools/smartviews.js +5 -5
- package/dist/tools/tags.js +1 -1
- package/dist/tools/templates.js +42 -32
- package/docs/self-hosted.md +1 -1
- package/docs/troubleshooting.md +9 -1
- package/package.json +2 -2
package/docs/troubleshooting.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
### "No session found. Run `standardnotes-mcp-login` to authenticate first."
|
|
4
4
|
|
|
5
|
-
The keychain lookup (`service: standardnotes-mcp`, `username: SN_EMAIL`) found nothing. (Sessions saved by versions before 3.0.0 under the old name `mcp-standardnotes` are moved over automatically on first start.) Make sure `SN_EMAIL`
|
|
5
|
+
The keychain lookup (`service: standardnotes-mcp`, `username: SN_EMAIL`) found nothing. (Sessions saved by versions before 3.0.0 under the old name `mcp-standardnotes` are moved over automatically on first start.) Make sure `SN_EMAIL` is the email you used at login. Capitals don't matter (since 3.1.0), but spelling and spaces do. `standardnotes-mcp-login` again if in doubt.
|
|
6
6
|
|
|
7
7
|
### "Account is not on protocol 004..."
|
|
8
8
|
|
|
@@ -56,6 +56,14 @@ pgrep -a gnome-keyring-daemon || sudo apt install gnome-keyring libpam-gnome-key
|
|
|
56
56
|
|
|
57
57
|
Then log out of the desktop and back in so PAM unlocks the `login` keyring. Over SSH (no PAM unlock) either run `standardnotes-mcp-login` from a desktop session instead, or export `DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/bus` and unlock the keyring with `gnome-keyring-daemon --unlock`.
|
|
58
58
|
|
|
59
|
+
### The AI sees no notes, or fewer than expected
|
|
60
|
+
|
|
61
|
+
Ask it to run the `server_status` tool. Under `policy.tagScopeStatus` it lists each `SN_READ_TAGS` and `SN_DENY_TAGS` entry and whether it matched a tag, with a warning for any that did not. An entry that matches no tag is skipped: a misspelled `SN_READ_TAGS` leaves the AI seeing nothing, and a misspelled `SN_DENY_TAGS` hides nothing. Fix the spelling in the client config (or re-run `standardnotes-mcp-setup`, which checks tag names against your vault) and restart the client.
|
|
62
|
+
|
|
63
|
+
### The AI says there are no templates
|
|
64
|
+
|
|
65
|
+
With a tag scope (`SN_READ_TAGS`), templates outside that scope are hidden by default, and on a free plan the Templates tag usually is outside it. Either tag each template with the AI's tag as well (e.g. Templates + WSD), or add `SN_SHARED_TEMPLATES=true` to that AI's config and restart it. See [Templates with tag scopes](../README.md#templates-with-tag-scopes). Templates in an `SN_DENY_TAGS` tag or marked `ai: no-access` stay hidden either way.
|
|
66
|
+
|
|
59
67
|
### I want to switch accounts
|
|
60
68
|
|
|
61
69
|
Wipe the current session from the keychain, then re-login:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "standardnotes-mcp",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Local MCP server for Standard Notes: gives AI assistants scoped, rule-governed access to your end-to-end encrypted notes, with free-plan support and OS-keychain login. Based on lozit/mcp-standardnotes (MIT).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "VTT",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@types/node": "^20.14.0",
|
|
76
76
|
"@typescript-eslint/eslint-plugin": "^8.74.0",
|
|
77
77
|
"@typescript-eslint/parser": "^8.74.0",
|
|
78
|
-
"eslint": "^
|
|
78
|
+
"eslint": "^10.16.0",
|
|
79
79
|
"tsx": "^4.15.0",
|
|
80
80
|
"typescript": "^5.4.0",
|
|
81
81
|
"vitest": "^4.1.8"
|