MCP Server v1.3.0

What’s New

It’s got more token-efficient when updating notes by an agent!

patch-note tool

A new tool that lets AI agents update a note’s Markdown body by sending a unified diff patch instead of the entire body. This is much more efficient for making small edits to large notes, as it significantly reduces token usage.

  • Accepts _id, _rev, and a patch string in standard unified diff format
  • Returns a clear error when the patch fails to apply
  • Uses the jsdiff library with exact matching (no fuzzy)

update-note improvements

The update-note tool now only requires _id and _rev. All other fields (bookId, title, body, status, tags) are optional — only the fields you provide will be updated. Previously, all fields were required even when changing a single property.

Changes

  • Migrated to registerTool / registerResource / registerPrompt APIs — replaced all deprecated server.tool(), server.resource(), and server.prompt() calls with the new config-object-based registration methods from @modelcontextprotocol/sdk
  • Bumped dependencies — updated @modelcontextprotocol/sdk, zod, @types/node, typescript, and prettier to their latest versions
  • Added skipLibCheck to tsconfig — resolves type conflicts with newer SDK type definitions
1 Like