npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rozek/sds-mcp-server-yjs

v0.0.13

Published

MCP server for shareable-data-store (Y.js CRDT backend)

Readme

@rozek/sds-mcp-server-yjs

MCP (Model Context Protocol) server for the shareable-data-store (SDS) family, using the Y.js CRDT backend. Exposes all SDS store and entry operations as MCP tools so that AI agents can manage CRDT stores, entries, items, links, tokens, and batch workflows through the standard MCP tool-calling interface.

Built on top of @rozek/sds-mcp-server.


Prerequisites

| requirement | details | | --- | --- | | Node.js 22.5+ | required to run sds-mcp-server-yjs. Download from nodejs.org. | | MCP client | any host that speaks the Model Context Protocol (Claude Desktop, custom agent, etc.) | | SDS server | only required for network operations (sds_store_sync, sds_store_ping, sds_token_issue). All local read/write tools work entirely offline. | | JWT tokens | server operations need a client token (scope read or write) or an admin token (scope admin). |

All clients and servers connected to the same relay must use the same CRDT backend. Use @rozek/sds-mcp-server-yjs together with @rozek/sds-websocket-server and @rozek/sds-command-yjs.

SQLite support is built directly into Node.js 22.5+ — no native addon and no build toolchain is needed.

Note: Run pnpm build (or npm run build) in this package directory before starting the server for the first time. The dist/ directory is not included in the repository.


Installation

pnpm add @rozek/sds-mcp-server-yjs

Or use without installation via npx:

npx @rozek/sds-mcp-server-yjs

Running without Installation

Register the server in your MCP host configuration using npx as the command:

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "sds": {
      "command": "npx",
      "args": [ "-y", "@rozek/sds-mcp-server-yjs" ]
    }
  }
}

Configuration

Server-level defaults

You can pre-configure default values for StoreId, PersistenceDir, ServerURL, Token, and AdminToken so that individual tool calls do not need to repeat them.

CLI arguments:

| argument | applies to | | --- | --- | | --store <id> | default StoreId for all tools | | --data-dir <path> | default PersistenceDir for all tools | | --server <url> | default ServerURL for sync/token tools | | --token <jwt> | default client Token for sync tools | | --admin-token <jwt> | default AdminToken for sds_token_issue |

Environment variables:

| variable | applies to | | --- | --- | | SDS_STORE_ID | default StoreId for all tools | | SDS_DATA_DIR | default PersistenceDir for all tools | | SDS_SERVER_URL | default ServerURL for sync/token tools | | SDS_TOKEN | default client Token for sync tools | | SDS_ADMIN_TOKEN | default AdminToken for sds_token_issue |

Precedence (highest to lowest): tool parameter → CLI argument → environment variable → built-in default (~/.sds for PersistenceDir).


Tools

See @rozek/sds-mcp-server for the complete tool reference. All 20 tools available in sds-mcp-server-yjs are identical to those in sds-mcp-server — the only difference is the CRDT backend used to store and synchronise data.

| category | tools | | --- | --- | | store | sds_store_info, sds_store_ping, sds_store_sync, sds_store_destroy, sds_store_export, sds_store_import | | entry | sds_entry_create, sds_entry_get, sds_entry_list, sds_entry_update, sds_entry_move, sds_entry_delete, sds_entry_restore, sds_entry_purge | | trash | sds_trash_list, sds_trash_purge_all, sds_trash_purge_expired | | tree | sds_tree_show | | token | sds_token_issue | | batch | sds_batch |


License

MIT License © Andreas Rozek