io.github.lozit/mcp-standardnotes

Registre officiel Autres

End-to-end encrypted access to a Standard Notes vault (protocol 004, local stdio only).

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

NPM package mcp-standardnotes
Claude Code
claude mcp add mcp-standardnotes -e 'SN_EMAIL=<SN_EMAIL>' -e 'SN_SERVER_URL=https://api.standardnotes.com' -e 'SN_CERT_FINGERPRINT=<SN_CERT_FINGERPRINT>' -- npx -y mcp-standardnotes@0.6.0
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "mcp-standardnotes": {
            "command": "npx",
            "args": [
                "-y",
                "mcp-standardnotes@0.6.0"
            ],
            "env": {
                "SN_EMAIL": "<SN_EMAIL>",
                "SN_SERVER_URL": "https://api.standardnotes.com",
                "SN_CERT_FINGERPRINT": "<SN_CERT_FINGERPRINT>"
            }
        }
    }
}

Variables d'environnement

  • SN_EMAIL obligatoire Standard Notes account email. The password is prompted once via `npx mcp-standardnotes-login` and the session is persisted in the OS keychain.
  • SN_SERVER_URL Standard Notes sync server URL. Defaults to the official cloud if unset.
  • SN_CERT_FINGERPRINT Optional SHA-256 TLS certificate fingerprint for pinning a self-hosted server.

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. mcp-standardnotes
  2. Why
  3. Features
  4. Requirements
  5. Quickstart
  6. Configuration
  7. Security at a glance
  8. Troubleshooting
  9. Logout
  10. Roadmap
  11. Contributing
  12. License
  13. Credits

mcp-standardnotes

Give Claude secure read/write access to your Standard Notes vault — end-to-end encrypted, local stdio only, zero cloud middleman.

Ask Claude to summarize your notes, draft new ones, organize tags, search across your vault — all while your master key stays on your machine. Works with Claude Code, Claude Desktop, and any MCP-compatible client.

Disclaimer. This is an unofficial third-party integration. Not affiliated with, endorsed by, or sponsored by Standard Notes Ltd. "Standard Notes" is a trademark of Standard Notes Ltd.

Why

  • 🔒 End-to-end encrypted. All decryption happens locally using audited libsodium primitives (Argon2id + XChaCha20-Poly1305 IETF). Your password never leaves RAM; your master key never leaves your machine.
  • 🔌 Local stdio only. No network port is ever opened by this server.
  • 🔑 OS keychain for session storage. macOS Keychain, Linux libsecret, Windows Credential Vault — never plaintext files.
  • ☁️ Works with the official cloud or self-hosted Standard Notes servers.

Features

ToolWhat it does
notes_list / notes_search / notes_getBrowse and search your notes (filter by tag with tag: "<uuid-or-title>")
notes_create / notes_update / notes_deleteWrite notes (markdown, super, code, rich-text, task, spreadsheet, plain-text)
notes_create_manyBatch-create up to 50 notes in one sync push
notes_statsVault stats: counts, sizes, oldest/newest/largest note
tags_list / tags_get / tags_create / tags_update / tags_deleteFull tag CRUD
tags_attach / tags_detachLink/unlink tags to notes
syncForce a sync with the server

notes_create and notes_update accept an optional tags: string[] (tag UUIDs) to link tags at write time.

Requirements

  • Node.js ≥ 20
  • A Standard Notes account on protocol 004 (default for any account created or upgraded since 2020)
  • macOS, Linux, or Windows with a working OS keychain

Quickstart

1. Install
npm install -g mcp-standardnotes

Or run from a clone if you prefer:

git clone https://github.com/lozit/mcp-standardnotes.git
cd mcp-standardnotes
npm install && npm run build
2. Log in once
mcp-standardnotes-login         # if installed globally
# or, from a clone:
npm run login

You'll be prompted for email and password. The password derives your master key in memory (Argon2id) and is never written to disk. An encrypted session is stored in your OS keychain; subsequent runs reuse it automatically. At the end of login, you're offered to wire the server into Claude Desktop in one step — accept it, restart Desktop, done.

3. Hook it up to Claude

Claude Desktop (macOS / Windows) — easiest path, run:

mcp-standardnotes-install

This writes the right entry (absolute Node + binary paths, your email from the keychain) into ~/Library/Application Support/Claude/claude_desktop_config.json (or %APPDATA%/Claude/claude_desktop_config.json on Windows), backing up any existing config first. Quit Claude Desktop fully (⌘Q) and relaunch.

Claude Code — let the claude CLI do it:

mcp-standardnotes-install code   # prints the exact `claude mcp add` command

Or add to ~/.claude.json / .mcp.json manually:

{
  "mcpServers": {
    "mcp-standardnotes": {
      "type": "stdio",
      "command": "mcp-standardnotes",
      "env": { "SN_EMAIL": "you@example.com" }
    }
  }
}

Then /mcp to reconnect.

Any other MCP client — run node dist/index.js with SN_EMAIL set in the environment. Transport is stdio.

Self-hosting Standard Notes? See docs/self-hosted.md for the docker-compose recipe and how to pin your TLS certificate.

Want a remote agent (Hermes on a VPS, self-hosted LangGraph, etc.) to use your vault? See docs/remote-agent-bridge.md for the full Cloudflare Tunnel + MCP Portals setup. Your master key stays on your Mac; the agent talks to a public HTTPS endpoint gated by a Cloudflare service token, and Portals handles automatic MCP tool discovery, multi-server bundling, and Access application generation.

Configuration

VariableDefaultDescription
SN_EMAILrequiredYour SN account email. Must match what you used with npm run login.
SN_SERVER_URLhttps://api.standardnotes.comSync server URL. Change for self-hosted instances.
KEYCHAIN_SERVICEmcp-standardnotesOverride the keychain service name (useful for multiple accounts).
SN_CERT_FINGERPRINTunsetSHA-256 TLS cert pin for self-hosted servers (64 hex chars, colons optional). See docs/self-hosted.md.

Security at a glance

  • Password in RAM only during key derivation. Never logged, never stored.
  • Session + master key hex → OS keychain only. Never plaintext files.
  • stdio transport only. No HTTP port, ever.
  • All logs go to stderr, routed through a redactor that masks passwords, keys, JWTs, and token-like strings.
  • All tool inputs validated by zod.
  • npm audit HIGH/CRITICAL is a merge blocker in CI.
  • Only the protocol 004 framing is implemented locally; all cryptographic primitives come from libsodium-wrappers-sumo.

Full threat model and deep-dive: docs/protocol-004.md. Security policy, vulnerability reporting, and dependency-advisory notes: SECURITY.md.

Troubleshooting

Common issues and fixes: docs/troubleshooting.md.

Logout

SN_EMAIL=you@example.com mcp-standardnotes-logout
# or, from a clone:
SN_EMAIL=you@example.com npm run logout

Roadmap

Upcoming work tracked in ROADMAP.md.

Contributing

Contributions welcome. See CONTRIBUTING.md for setup, tests, and PR checklist.

License

MIT — use it, fork it, ship it.

Credits

Questions fréquentes

Qu'est-ce que io.github.lozit/mcp-standardnotes ?

End-to-end encrypted access to a Standard Notes vault (protocol 004, local stdio only).

Comment installer io.github.lozit/mcp-standardnotes ?

Il s'exécute sur votre machine. Dans Claude Code : claude mcp add mcp-standardnotes -e 'SN_EMAIL=<SN_EMAIL>' -e 'SN_SERVER_URL=https://api.standardnotes.com' -e 'SN_CERT_FINGERPRINT=<SN_CERT_FINGERPRINT>' -- npx -y mcp-standardnotes@0.6.0. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour io.github.lozit/mcp-standardnotes ?

Oui. Il attend SN_EMAIL, à renseigner dans sa configuration.

io.github.lozit/mcp-standardnotes est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient io.github.lozit/mcp-standardnotes ?

Il est publié par lozit. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.