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

@verusidx/definecurrency-mcp

v0.1.5

Published

MCP server for defining Verus currencies — tokens, fractional baskets, centralized currencies, and ERC-20 mapped tokens

Readme

@verusidx/definecurrency-mcp

MCP server for defining and launching new currencies on Verus — simple tokens, fractional basket currencies, centralized tokens, ID control tokens, and Ethereum ERC-20 mapped tokens.

Setup

Prerequisite: @verusidx/chain-mcp must be configured and refresh_chains called at least once so the chain registry exists.

Add to your MCP client config (e.g., Claude Code claude_desktop_config.json):

{
  "mcpServers": {
    "verusidx-definecurrency": {
      "command": "npx",
      "args": ["-y", "@verusidx/definecurrency-mcp"],
      "env": {}
    }
  }
}

Alternative: local install. If you prefer a pinned version or offline use, install into a project directory with npm install @verusidx/definecurrency-mcp (or pnpm add / yarn add) and point your config at the local path instead of using npx.

Environment Variables

| Variable | Default | Description | |---|---|---| | VERUSIDX_READ_ONLY | false | Set to true to disable all tools. This is a write-only MCP — no tools are available in read-only mode. | | VERUSIDX_AUDIT_LOG | true | Set to false to disable audit logging. | | VERUSIDX_AUDIT_DIR | OS default | Custom directory for audit log files. |

Read-Only Mode

This is a write-only MCP. Setting VERUSIDX_READ_ONLY=true disables the only tool (definecurrency), leaving zero tools registered.

Tools

| Tool | Description | |---|---| | definecurrency | Define a new currency — returns signed tx hex to broadcast via sendrawtransaction (chain-mcp) |

Launch Workflow

definecurrency creates a signed transaction but does not broadcast it:

  1. Ensure a VerusID with the currency name exists and is controlled by the wallet
  2. definecurrency — returns {txid, tx, hex}
  3. sendrawtransaction (chain-mcp) with the hex — broadcasts the definition
  4. Wait for the preconversion timeframe (minimum 20 blocks)
  5. getcurrency (chain-mcp) to verify the currency launched

Currency Types

| Options | Type | Description | |---|---|---| | 32 | Simple token | Basic token, optionally with preconversion funding | | 33 | Basket currency | Fractional reserve currency supporting on-chain conversions | | 2080 | ID control token | Single-satoshi token granting revoke/recover authority |

Common options shown. Combine values for variants (e.g., 41 = basket + referrals, 34 = token + ID-restricted). See tool-specs/definecurrency.md for the full options table, field reference, and examples.

Set proofprotocol: 2 for centralized tokens (rootID can mint/burn), or proofprotocol: 3 for Ethereum ERC-20 mapped tokens.

Audit Logging

All definecurrency calls are logged to date-stamped JSONL files in the audit directory. The hex is truncated in audit entries. Logs are append-only with 0600 permissions.

Requirements

  • Node.js >= 18.0.0
  • @verusidx/chain-mcp installed and refresh_chains called (chain registry must exist)
  • At least one Verus daemon running
  • A VerusID matching the currency name, controlled by the wallet