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

synapsesync-mcp

v0.7.3

Published

MCP server for Synapse — capture AI sessions, distill knowledge, remember everything

Readme

synapsesync-mcp

Model Context Protocol (MCP) server for Synapse — shared AI context as files in a cloud workspace, available from Claude, Cursor, Windsurf, VS Code, and other MCP-capable tools.

npm version License: MIT

What you get

Your assistant can use tools such as read, write, search, tree, ls, and history on paths in your Synapse projects (for example decisions/, notes/, architecture/). The same workspace is visible in the browser at synapsesync.app and across devices and teammates you invite.

The published package talks to the public API at https://api.synapsesync.app. To use your own backend, build from source and change the API_URL constant in src/index.ts before npm run build.

Quick start

1. Install

npm install -g synapsesync-mcp

2. Commands & help

From your project directory:

synapsesync-mcp               # lists commands (interactive terminal)
synapsesync-mcp --help

3. Interactive setup (recommended)

Use arrow keys and Enter in menus (powered by @clack/prompts).

synapsesync-mcp wizard        # menu: sign up, log in, or paste API key

These write .mcp.json and, when detected, editor-specific files for Claude Code, Cursor, Windsurf, or VS Code. Editors launch the same package without a TTY and SYNAPSE_API_KEY set — that starts the MCP server, not the setup UI.

3. Manual MCP config

Create or extend your MCP configuration (e.g. Cursor .cursor/mcp.json, Claude .mcp.json, or your host’s equivalent):

{
  "mcpServers": {
    "synapse": {
      "command": "npx",
      "args": ["synapsesync-mcp"],
      "env": {
        "SYNAPSE_API_KEY": "<your-api-key>"
      }
    }
  }
}

Get an API key from synapsesync.appAccount → API keys.

CLI commands

Install once with npm install -g synapsesync-mcp, then run synapsesync-mcp <command>.

| Command | Purpose | |--------|---------| | synapsesync-mcp | In a TTY: show interactive menu. With no TTY + SYNAPSE_API_KEY: MCP server. | | synapsesync-mcp --help / -h / help | Show commands and usage. | | synapsesync-mcp wizard | Interactive menu (signup / login / API key) → writes configs. Requires TTY. | | synapsesync-mcp status | Show connection health and which editor configs Synapse is configured in. | | synapsesync-mcp refresh | Rotate the API key and update all editor configs. | | synapsesync-mcp whoami | Show the signed-in account, tier, and file count. | | synapsesync-mcp reset | Wipe all workspace data (keeps account + subscription). | | synapsesync-mcp uninstall | Remove all Synapse configs from this machine. |

Environment variables

| Variable | Required | Description | |----------|----------|-------------| | SYNAPSE_API_KEY | Yes for non-wizard / stdio mode | API key from Synapse. | | SYNAPSE_SOURCE | No | Label for where edits come from (default claude). Examples: cursor, chatgpt, copilot, windsurf. | | SYNAPSE_PROJECT | No | Default project name when the tool needs one (default My Workspace). | | SYNAPSE_PASSPHRASE | No | Optional client-side encryption passphrase (use with SYNAPSE_USER_EMAIL). | | SYNAPSE_USER_EMAIL | No | Email associated with encryption when using a passphrase. |

Requirements

  • Node.js 18+ recommended.
  • A valid Synapse API key (except while using the signup/login flow in the wizard).

Usage examples

Example 1: Store and retrieve an architecture decision

User prompt: "Remember that we chose Redis for the caching layer because of its pub/sub support."

Expected tool behavior: The assistant calls write to store the decision.

Tool: write
Input: { path: "decisions/chose-redis.md", content: "# Chose Redis for caching\n\nWe chose Redis over Memcached for the caching layer because of its native pub/sub support, which we need for real-time cache invalidation across services." }
Output: "Wrote decisions/chose-redis.md (194 chars)"

Example 2: Search for relevant context

User prompt: "What do we know about the authentication flow?"

Expected tool behavior: The assistant calls search with a semantic query.

Tool: search
Input: { query: "authentication flow" }
Output:
2 results:

[1] architecture/auth-flow.md
  dir: architecture/ | updated: 3/28/2026
  # Auth Flow  We use JWT tokens with short-lived access tokens (15min) and long-lived refresh tokens (30 days). The auth middleware validates tokens on every request...

[2] decisions/session-storage.md
  dir: decisions/ | updated: 3/25/2026
  # Session storage decision  Chose Supabase Auth for session management because it handles refresh token rotation automatically...

Example 3: Browse workspace structure and read a file

User prompt: "What context do we have for this project?"

Expected tool behavior: The assistant calls tree to see the workspace, then read to load relevant files.

Tool: tree
Input: {}
Output:
.
  architecture
    auth-flow.md
    gateway.md
  decisions
    chose-redis.md
    session-storage.md
  notes
    standup-2026-03-28.md

Tool: read
Input: { path: "architecture/gateway.md" }
Output:
path: architecture/gateway.md | updated: 3/27/2026 | source: claude
---
# API Gateway Architecture

All public traffic routes through a Cloudflare Worker that handles auth, rate limiting, and request routing...

Security notes

  • Treat SYNAPSE_API_KEY like a password; do not commit it to git.
  • Prefer environment variables or your editor’s secret storage for keys.

Privacy policy

Synapse collects and stores the context files you create in your workspace. For the full privacy policy, see synapsesync.app/privacy.

Data handling summary:

  • What we store: Workspace files (context, notes, decisions), account info (email), and API keys.
  • Encryption: Optional end-to-end encryption via SYNAPSE_PASSPHRASE. When enabled, content is encrypted client-side before transmission — the server never sees plaintext.
  • Third-party sharing: We do not sell or share your data with third parties. Workspace data is only accessible to you and teammates you explicitly invite.
  • Data location: Hosted on Cloudflare Workers and Supabase (Postgres). Data resides in the provider’s default regions.
  • Deletion: You can delete any file or your entire account at any time. Deleted data is permanently removed.
  • Support: github.com/metanmai/synapse/issues or email via your Synapse account.

Links

License

MIT — see the LICENSE file in the repository.