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

nexus-toolkit

v1.1.0

Published

E2E test suite for nexus-agents MCP tools: orchestrate, research_catalog_review, registry_import

Downloads

25

Readme

nexus-toolkit

E2E test suite for nexus-agents MCP tools: orchestrate, research_catalog_review, and registry_import.

What it tests

| Tool | Test | Safety | |------|------|--------| | orchestrate | Schema validation, adapter error handling | Skips gracefully when no model adapter configured | | research_catalog_review | List/approve/dismiss/flush actions, schema validation | Read-only list action in audit pipeline | | registry_import | All 3 providers (anthropic/google/openai), schema validation | Always dryRun=true — never persists |

The toolkit audit pipeline runs 5 tests: 1 orchestrate + 1 catalog review + 3 registry imports (one per provider).

Quick start

pnpm install
pnpm test        # Run 47 unit tests
pnpm typecheck   # TypeScript strict mode
pnpm build       # Compile to dist/

Usage as a library

import { runToolkitAudit, generateReport } from 'nexus-toolkit';
import type { ToolCaller } from 'nexus-toolkit';

// Provide your own MCP tool caller
const caller: ToolCaller = {
  call: async (tool, args) => {
    // Send to your MCP server
    return await mcpClient.callTool(tool, args);
  },
};

const audit = await runToolkitAudit(caller);
console.log(generateReport(audit, 'markdown'));
// Output: Markdown table with pass/fail/skip per tool

Live integration mode

Run against a real nexus-agents MCP server:

# 1. Create src/live-bridge.ts with your MCP client:
#    export async function createMcpCaller(): Promise<ToolCaller> { ... }

# 2. Run:
NEXUS_LIVE=true npx tsx src/run-live.ts

# 3. With JSON output:
NEXUS_LIVE=true REPORT_FORMAT=json npx tsx src/run-live.ts

Report formats

# Markdown (default) — tables with summary + per-tool results
generateReport(audit, 'markdown')

# JSON — machine-readable audit object
generateReport(audit, 'json')

# Text — compact terminal output with PASS/FAIL/SKIP indicators
generateReport(audit, 'text')

Project structure

src/
  types.ts              # Zod schemas matching live MCP responses
  fixtures/
    mock-responses.ts   # Mock data for all tool responses
  pipeline.ts           # Toolkit audit pipeline (testOrchestrate, testCatalogReview, testRegistryImport)
  reporter.ts           # Report formatter (markdown/json/text)
  live-caller.ts        # Live mode ToolCaller bridge
  run-live.ts           # CLI entry point for live integration testing
  index.ts              # Public API exports

License

MIT