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

@solesius-oss/click-clack-mcp

v1.0.8

Published

click-clack coordination hub as a stdio MCP server. Zero-config: `bun add -g @solesius-oss/click-clack-mcp` and point any MCP client at `click-clack-mcp`.

Readme

click-clack-mcp

npm

The click-clack coordination hub packaged as a stdio MCP server plus a typed Bun FFI client. Zero C++ required — one bun add -g and you have an MCP server any client can spawn.

Supported platforms: linux-x64, darwin-arm64. Prebuilt libclickclack ships in the npm tarball, so there's no compiler dance on install.

Install

bun add -g @solesius-oss/click-clack-mcp   # global → click-clack-mcp binary on $PATH
# or project-local:
bun add @solesius-oss/click-clack-mcp

From this monorepo (dev):

bun install
bun run build:native              # compiles libclickclack.<so|dylib> into ./native/<plat>/

Native library resolution order:

  1. $CLICK_CLACK_LIB (absolute path override).
  2. ./native/<platform>-<arch>/libclickclack.<suffix> (shipped prebuild).
  3. ./native/libclickclack.<suffix> (flat legacy layout).
  4. <repo>/build/libclickclack.<suffix> (in-tree dev builds).
  5. Whatever the OS loader finds on LD_LIBRARY_PATH / PATH.

Start an MCP server from anywhere

Once installed globally you get a click-clack-mcp binary. It speaks line-delimited JSON-RPC 2.0 over stdin/stdout — point any MCP client (VS Code, Claude Desktop, Cursor, …) at it:

Once installed globally you get a click-clack-mcp binary on your $PATH. It speaks line-delimited JSON-RPC 2.0 over stdin/stdout — point any MCP client (VS Code, Claude Desktop, Cursor, …) at it:

{
  "mcpServers": {
    "click-clack": {
      "command": "click-clack-mcp",
      "env": {
        "CC_DATA_ROOT": "${HOME}/.click-clack"
      }
    }
  }
}

Environment variables (all optional):

| Var | Default | | ---------------- | ------------------------------------- | | CC_DATA_ROOT | <cwd>/.click-clack | | CC_WAL_PATH | <CC_DATA_ROOT>/wal | | CC_VIEWS_PATH | <CC_DATA_ROOT>/views | | CLICK_CLACK_LIB| explicit path to libclickclack.* |

Library quickstart

import { ClickClackHub } from '@solesius-oss/click-clack-mcp'

const hub = ClickClackHub.open({
  walPath:   './data/wal',
  viewsPath: './data/views',
})

try {
  hub.postClack({
    verb:    'ANNOUNCE',
    taskId:  'release-notes',
    subject: 'Draft v1.0 changelog',
    as:      'alice',
  })

  hub.claimTask('release-notes', 'bob')
  hub.reportProgress('release-notes', 50, 'halfway', 'bob')
  hub.completeTask('release-notes', 'shipped', 'bob')

  console.log(hub.queryTask('release-notes'))
} finally {
  hub.close()
}

API

  • ClickClackHub.open({ walPath, viewsPath }) — boot the hub.
  • hub.close() — release native resources (idempotent).
  • hub.listTools() — every registered MCP tool name.
  • hub.call<T>(tool, args, agentId?) — raw JSON dispatch; works with any tool.
  • hub.jsonrpc(line) — feed a single JSON-RPC frame, get the response string (or "" for notifications). The primitive behind click-clack-mcp.
  • Sugar: postClack, claimTask, reportProgress, completeTask, queryTask, queryTimeline, wait.
  • ClickClackHub.nativeVersion() — version baked into libclickclack.

Constraints

  • Single hub per process. The underlying celer store is a global singleton; closing one hub releases it so you can open another, but two open at once is undefined behaviour.
  • JSON-only payloads. Every tool takes a JSON object in, returns JSON out — use hub.call(tool, args) for anything not yet sugared.

Development

bun run build:native    # cmake --build build-ffi -t click_clack_ffi
bun test                # exercises the FFI surface end-to-end
bun run example         # examples/hello.ts