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

@nevarn/mcp

v0.2.0

Published

Local stdio MCP server for a Nevarn tenant's agent, over @nevarn/sdk.

Readme

@nevarn/mcp

A local stdio MCP server for a Nevarn tenant's own agent, built on @modelcontextprotocol/sdk (pinned exactly) and @nevarn/sdk. It is the tenant's tool, not a UCP transport, and it adds no authority: the agent proposes intents, never orders or keys. Contract: docs/strategy/Contract.md; design: docs/workplans/agent-sdk.design.md.

Free to download, under the Apache License 2.0 (LICENSE, NOTICE). Using the Nevarn platform it calls is licensed on the platform, by governed actions or by subscription.

{
  "mcpServers": {
    "nevarn": {
      "command": "nevarn-mcp",
      "env": { "NEVARN_BASE_URL": "https://<your platform API>", "NEVARN_API_KEY": "nvk_…" }
    }
  }
}

NEVARN_BASE_URL is required (https, or http on loopback). NEVARN_API_KEY is an nvk_ key; give it the scopes the agent needs (intents, execute, read, halt, invoices). Give execute only to an agent that should place orders: in the tenant's Production it trades live funds, within the limits the owner set on the key. A session token is refused and the server exits with status 2.

| Tool | Key scope | What it does | | --- | --- | --- | | propose_intent | intents | Asks for a shadow ruling on an intent through POST /machine/intents. Nothing is sent to a venue; the result says whether it would have executed and why not. | | execute_intent | execute | Executes an intent through POST /machine/executions, within the key's limits: a paper fill with shadow rulings in Sandbox, a live order ruled in ENFORCEMENT at the venue in Production. Marked destructive, so clients ask before calling it. | | get_execution | execute | Reads one execution and its current state through GET /machine/executions/{id}. | | get_mandate | read | Reads the tenant's bounds through GET /machine/mandate. | | get_receipt | read | Reads one execution receipt through GET /machine/receipts/{id} (the id is the execution's). | | halt | halt | Turns all signing off and stops the bots' unfinished executions through POST /machine/halt. There is no resume tool. | | request_spend | invoices | Files a supplier invoice through POST /machine/invoices; the payables policy decides the outcome. A duplicate is a 409. |

Guarantees

  • Tool names, descriptions and schemas are static constants (src/Tools.ts, pinned by test/Tools.json); no remote text is interpolated into them.
  • Every schema has additionalProperties: false, including each strategy's intent shape; amounts are integers and vendor_id is a UUID. Arguments outside the schema, and intents carrying anything named like a secret, are refused before any call.
  • Platform text comes back as JSON data. Errors carry only type, status, code and path - never the upstream message, the request or the key.
  • Logs are JSON lines on stderr; stdout is the protocol channel.

Tests

npm test --workspace @nevarn/mcp

The test script builds the SDK and the server (tsc -b) before vitest; test/Stdio.test.ts spawns the built dist/Main.js over real stdio against a loopback stand-in for the platform.

Licence and release

Apache License 2.0 (LICENSE; NOTICE names Binaries Fort AB). The licence covers this server only; the platform's use is licensed on the platform, by governed actions or subscription.

Publishing stays the owner's: the @nevarn npm scope and the release workflow. Whether a hosted MCP endpoint is wanted (it would need new ingress) is still open. The package stays "private": true until the owner releases it.