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

@mcpbox/daruma

v2.0.13

Published

Daruma Cloud plugin — RFC 8628 device-code pairing and /v1 API client

Readme

@mcpbox/daruma@2 (Cloud + self-host)

MCPBox auth CLI for Daruma — RFC 8628 device-code pairing for MCPBox (mcpbox.ru) and bootstrap-token login for OSS self-host. Part of the @mcpbox scope on mcpbox.ru. Canonical contract: docs/plugin-auth-v1.md.

npm: @mcpbox/daruma

CLI binaries: mcpbox-daruma (primary), daruma (alias).

Combined setup

curl -fsSL https://mcpbox.ru/install.sh | sh

The installer requires Node.js and npx. It runs @mcpbox/mcpbox setup and @mcpbox/daruma setup in sequence.

Cloud npm CLI

npx @mcpbox/daruma login
npx @mcpbox/daruma login --no-open
npx @mcpbox/daruma session

DARUMA_CLOUD_URL=http://127.0.0.1:8081 npx @mcpbox/daruma login

Agent setup

Detect installed Codex, Cursor, and Claude Code clients, choose one scope, and install Daruma MCP, plugins/hooks, and policy for every detected client:

npx @mcpbox/daruma setup

Choose Repository to install one policy per detected client in the current repository, or Global to install policies for all detected clients in the user profile. Existing MCP and managed policy blocks are preserved without duplication.

For Codex, setup installs the canonical plugin from tupical/daruma/clients/codex-plugin into ~/plugins/daruma, registers it in the personal marketplace (~/.agents/plugins/marketplace.json), and enables daruma@personal in ~/.codex/config.toml, so it appears as installed in /plugins. During local development, set DARUMA_CODEX_PLUGIN_SOURCE to override the canonical source path.

Advanced targeted setup:

npx @mcpbox/daruma setup codex
npx @mcpbox/daruma setup cursor
npx @mcpbox/daruma setup claude
npx @mcpbox/daruma setup all

All supported clients use the hosted HTTP MCP endpoint with OAuth. Cursor setup also installs its rules and guard hooks. Claude Code setup installs the daruma-claude plugin with hooks. Codex setup installs the Daruma plugin.

Node-free MCP setup from the cabinet

Users without Node.js can connect agents from the Cloud cabinet:

  1. Open workspace → Connect agents.

  2. Select Cursor, Claude Code or Claude Desktop.

  3. For Cursor, click Add to Cursor or use this remote MCP config:

    {
      "mcpServers": {
        "daruma": {
          "type": "http",
          "url": "https://<cloud-origin>/v1/mcp"
        }
      }
    }
  4. For stdio clients, click Generate in Node-free MCP credentials.

  5. Save the generated JSON to:

    ~/.agents/daruma/credentials.json
  6. Download the Rust daruma binary from the generated command and put it on PATH.

  7. Configure the client command as daruma mcp.

Startup fallback:

daruma mcp
claude mcp add daruma -- daruma mcp

If daruma is not on PATH, use ~/.agents/daruma/bin/daruma mcp. If a prebuilt binary is not available for your platform, build it from source:

cargo install --git https://github.com/tupical/daruma daruma-cli

The generated token is shown once in the browser and is listed in workspace settings as an mcp-oauth token, so it can be revoked later without touching the agent machine.

Self-host (OSS :8080)

# After daruma-server wrote bootstrap.token (~/.agents/daruma/data/)
DARUMA_SELFHOST_URL=http://127.0.0.1:8080 npx @mcpbox/daruma login --mode self-host

npx @mcpbox/daruma session --mode self-host

Mode switch

npx @mcpbox/daruma use cloud
npx @mcpbox/daruma use self-host

Credentials: ~/.agents/daruma/credentials.json (schema v1, mode: cloud | self-host). Override directory via DARUMA_AGENT_DIR. If ~/.config/daruma/credentials.json exists, it is copied into the agent dir on first use.

On 401 / revoked token, cloud mode clears stored auth and prompts device-code re-pair (--no-repair disables auto re-pair on session).