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

verify-vara

v1.0.0

Published

Starter template and docs for Vara Network development with vara-mcp-server (scaffold, compile, test, IDL)

Readme

verify-vara

Starter template and reference for Vara Network development using vara-mcp-server. This repo includes a Sails counter program and shows how dev time looks when you use the MCP server (Cursor) and the CLI.


What’s available now

1. vara-mcp-server (npm)

  • Install: npm install -g vara-mcp-server@latest
  • CLI: vara-mcp with:
    • vara-mcp scaffold <name> – create a new Vara program (counter template)
    • vara-mcp compile [path] – build to WASM (--target wasm32v1-none)
    • vara-mcp test [path] – run tests
    • vara-mcp client [path] – generate TypeScript client from IDL
    • vara-mcp search <query> – search Vara docs
    • vara-mcp serve – start MCP server for Cursor

2. MCP tools (Cursor)

When the vara-mcp-server MCP is enabled in Cursor you get:

| Tool | Purpose | |------|--------| | vara_scaffold_program | Scaffold a program (e.g. counter) by name and template | | vara_compile | Compile program to WASM/IDL | | vara_test | Run program tests | | vara_client_scaffold | Generate TS client from IDL | | vara_docs_search | Search Vara documentation |

3. This repo

  • my_dapp/ – Sails 0.10 counter program (Vara):
    • Commands: add, sub, increment, decrement, reset
    • Query: value
    • Events: Added, Subtracted, Reset
    • IDL in idl/my_dapp.idl (matches .opt.wasm for upload)
    • Optional xtask to regenerate IDL from source

Dev workflow with vara-mcp-server

Option A: CLI only

# 1. Install
npm install -g vara-mcp-server@latest

# 2. Scaffold (from your workspace)
vara-mcp scaffold my_dapp --template counter

# 3. Build
cd my_dapp
rustup target add wasm32v1-none
vara-mcp compile .   # or: cargo build --release

# 4. Test
vara-mcp test .

# 5. (Optional) Generate TS client
vara-mcp client . --out-dir client

Option B: Cursor + MCP

  1. Enable the vara-mcp-server MCP in Cursor.
  2. In chat, ask to:
    • “Scaffold a counter program named my_dapp”
    • “Compile my_dapp”
    • “Run tests for my_dapp”
    • “Generate the TypeScript client for my_dapp”
  3. The agent uses vara_scaffold_program, vara_compile, vara_test, vara_client_scaffold under the hood.

Option C: Use this template

# From this repo (after clone or npm pack)
cd my_dapp
cargo build --release
# Artifacts: target/wasm32v1-none/wasm32-gear/release/*.opt.wasm, *.idl

How dev time looks now

  • Scaffold: One command or one MCP call (no manual Cargo/Sails setup).
  • Build: vara-mcp compile ./my_dapp or cargo build --release; IDL is copied from idl/my_dapp.idl so it matches the program.
  • Test: vara-mcp test ./my_dapp or cargo test.
  • Client: vara-mcp client ./my_dapp generates a TS client from the IDL.
  • Docs: vara-mcp search "how to send messages" or MCP docs search.

Upload: use .opt.wasm and .idl from target/wasm32v1-none/wasm32-gear/release/ (e.g. Gear IDEA, sails-js).


In progress

These are planned or partial; not yet fully available or documented:

| Item | Status | Notes | |------|--------|--------| | Access token / auth | In progress | npm and MCP auth flows (e.g. for private packages or secured tools). | | More MCP prompts | Planned | Extra Cursor prompts for “add feature”, “deploy”, etc. | | Client scaffold defaults | In progress | Smoother defaults for vara_client_scaffold (e.g. outDir, projectPath). | | IDL from build | Done | IDL in repo matches program; xtask can regenerate from source. |


Quick reference

| Goal | CLI | MCP (Cursor) | |------|-----|---------------| | New program | vara-mcp scaffold <name> | “Scaffold a counter named X” → vara_scaffold_program | | Build WASM | vara-mcp compile [path] | “Compile my_dapp” → vara_compile | | Run tests | vara-mcp test [path] | “Run tests for my_dapp” → vara_test | | TS client | vara-mcp client [path] | “Generate client for my_dapp” → vara_client_scaffold | | Search docs | vara-mcp search <query> | “Search Vara docs for X” → vara_docs_search |


License

MIT