freshjots-mcp is a Model Context Protocol (MCP) server for connecting Fresh Jots notes to AI assistants. MCP is an open standard for connecting AI assistants with external tools and data; it can be thought of as a universal adapter, so a single integration works across multiple compatible clients. The server communicates with the Fresh Jots REST API via a bearer token and exposes note and folder operations as MCP tools, enabling MCP clients such as Claude Desktop, Claude Code, and Cursor to read and write notes directly.
Main capabilities Note tools: list_notes, read_note, create_note, append_to_note, update_note, delete_note, move_note. Folder tools: list_folders, create_folder, rename_folder, delete_folder. Among these, append_to_note is a standout feature: it appends content to a note by exact filename (for example, ai-sessions.txt) and automatically creates that note on first write. It can be called repeatedly to accumulate logs, such as AI session records, cron output, or a continuous journal.
Usage Runtime requirements are Node.js 18 or later and a Fresh Jots API token (Dev or Team plan); the token looks like mn_… and can be created at https://freshjots.com/settings/api_tokens . It is currently not yet published to npm and must be built from source; after building, the runnable server is dist/index.js. The server reads configuration from environment variables: FRESHJOTS_TOKEN (required; FRESHJOTS_API_TOKEN is also accepted); FRESHJOTS_BASE_URL (optional, defaults to https://freshjots.com/api/v1,可指向自托管或 staging instance); FRESHJOTS_PASSPHRASE (optional, enables client-side encryption). In Claude Desktop, you can edit claude_desktop_config.json (Settings → Developer → Edit Config) to add the configuration; using single quotes '${FRESHJOTS_TOKEN}' stores a reference rather than the secret, which Claude Code expands from the shell environment at startup, so you need to keep export FRESHJOTS_TOKEN=mn_… in your shell configuration; you can also pass the literal token directly with -e FRESHJOTS_TOKEN=mn_…. In Cursor, you can add it to ~/.cursor/mcp.json or to .cursor/mcp.json within the project. After publishing to npm, you can use command: "npx", args: ["-y", "freshjots-mcp"] instead of a local path.
Encryption options After setting FRESHJOTS_PASSPHRASE, the server can save notes that Fresh Jots cannot read. create_note and append_to_note accept an encrypt: true parameter, encrypting the body locally before it leaves the machine and marking the note as client-side encrypted; read_note accepts decrypt: true to read it decrypted. The model handles plaintext, while Fresh Jots stores only ciphertext; the user holds the only key, and if the passphrase is lost the note cannot be recovered. Encryption is enabled per note and is limited to personal notes (not applicable to team notes); note titles and metadata remain plaintext. The format (fj1: AES-256-CBC + HMAC-SHA256, PBKDF2) is interoperable with the JS, Python, Ruby, and shell clients; see https://freshjots.com/encrypted-notes。
Use cases and limitations Suitable for scenarios such as writing AI agent output into Fresh Jots notes, recording coding sessions, and letting assistants search and update notebooks. Limitations include: notes via the API are plain text; rich-text (Trix) notes can be listed and read, but only plain-text notes can be created or edited; encryption is limited to personal notes and titles/metadata are not encrypted; currently it must be built from source, and an npm release is not yet available. The project is under the MIT license, copyright Goran Arsov.