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

@heossihq/qnsi-mcp

v0.2.0

Published

QNSI MCP server: 17 tenant-scoped tools for PQC keys, HSPK custody, encrypted vault, crypto inventory, audit, search, and platform operations.

Downloads

122

Readme

@heossihq/qnsi-mcp

npm version npm downloads license

Official QNSI Model Context Protocol server for Kiro, Claude Desktop, VS Code, and other MCP-compatible clients. It exposes tenant-scoped QNSI tools for KMS, HSPK custody, vault, cryptographic inventory, audit, encrypted search, billing, and platform health. Authentication, tenant binding, and entitlements are enforced by the platform.

Free tier available. Get an API key at https://cloud.qnsi.heossi.com/signup?src=mcp — no credit card.


Why install this?

Your agent can now:

  • Generate and rotate NIST-standardised PQC keys (ML-KEM, ML-DSA, SLH-DSA, Falcon).
  • Seal ML-DSA-44/65/87 private keys under a qualified customer HSM and sign through HSPK custody flows; ML-DSA executes in QNSI software outside the module.
  • Store secrets in a quantum-safe vault with per-tenant envelope encryption.
  • Run configured cryptographic discovery connectors and inspect their discovery runs.
  • Query an immutable, hash-chained audit log for any tenant action.
  • Run searchable symmetric-encryption (SSE-X) queries over encrypted documents.
  • Report tenant tier, quota, and billing status without leaving the client.

Every call is tenant-scoped, entitlement-enforced on the server, and billable against your QNSI plan.


Install

Install the pinned package globally with pnpm:

pnpm add --global @heossihq/[email protected]

Configure the installed qnsi-mcp binary. Keep real API keys out of committed workspace files and use protected client or operating-system environment storage.

Kiro

Add to ~/.kiro/settings/mcp.json:

{
  "mcpServers": {
    "qnsi": {
      "command": "qnsi-mcp",
      "args": [],
      "env": { "QNSP_API_KEY": "YOUR_API_KEY" },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Claude Desktop

Add the same mcpServers.qnsi entry to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.

VS Code

Add to .vscode/mcp.json or the corresponding user-level MCP configuration:

{
  "servers": {
    "qnsi": {
      "type": "stdio",
      "command": "qnsi-mcp",
      "args": [],
      "env": { "QNSP_API_KEY": "YOUR_API_KEY" }
    }
  }
}

Restart or reconnect the MCP server after changing configuration.


Tools exposed

Version 0.2.0 exposes 17 tools. Tools retain the qnsp_ namespace prefix for compatibility, so existing MCP configurations continue to work and names do not collide with tools from other MCP servers an agent may have enabled.

| Tool | Description | Tier | |---|---|---| | qnsp_kms_generate_key | Generate a PQC keypair (ML-KEM, ML-DSA, SLH-DSA, Falcon). | Dev+ | | qnsp_kms_list_keys | List keys in the current tenant. | Dev+ | | qnsp_kms_get_key | Retrieve a key's public metadata. | Dev+ | | qnsp_kms_rotate_key | Rotate a key; previous version retained for verification. | Dev+ | | qnsp_kms_hspk_seal | Generate an ML-DSA-44/65/87 keypair and seal the private key under a qualified PKCS#11 HSM custody key. | Enterprise+ | | qnsp_kms_hspk_sign | Sign with ML-DSA in QNSI software while the HSM-unsealed private key exists only transiently in memory. | Enterprise+ | | qnsp_vault_create_secret | Store a secret under PQC envelope encryption. | Pro+ | | qnsp_vault_get_secret | Retrieve a vault secret. | Pro+ | | qnsp_vault_list_secrets | List secrets in the tenant. | Pro+ | | qnsp_crypto_scan | Run the tenant's configured discovery connectors and return the resulting discovery runs; accepts no input. | Dev+ | | qnsp_crypto_inventory | List recent inventory jobs and results. | Dev+ | | qnsp_crypto_readiness | PQC-readiness scorecard for the tenant. | Dev+ | | qnsp_audit_query | Query the immutable, hash-chained audit log. | Dev+ | | qnsp_search_query | Searchable symmetric-encryption (SSE-X) query. | Business+ | | qnsp_tenant_info | Show current tenant configuration. | Dev+ | | qnsp_billing_status | Show tier, limits, and upgrade URL. | Any | | qnsp_platform_health | Platform liveness and regional posture. | Any |

If your tier does not include a feature, the tool returns a clear upgrade message with a deep link to https://cloud.qnsi.heossi.com/billing.


Configuration

| Env var | Required | Default | Purpose | |---|---|---|---| | QNSP_API_KEY | yes | — | Tenant-scoped API key. Create one at https://cloud.qnsi.heossi.com/api-keys. | | QNSP_PLATFORM_URL | no | https://api.qnsi.heossi.com | Point at a staging or self-hosted edge gateway. |


How it works

On start, the server uses the activation client bundled in @heossihq/qnsi to resolve the API key into a tenant, tier, and feature set. Every tool invocation is:

  1. Gated client-side by the resolved tier (fails fast with a human-readable upgrade prompt instead of a raw 402/403).
  2. Enforced server-side by the QNSI edge gateway and PDP — the client-side gate is a UX optimization, not the security boundary.
  3. Audited as an immutable hash-chained event in the QNSI audit log.

No data is cached locally; every call is a round-trip to your tenant.


Security

  • API keys are sent only to the configured QNSI HTTPS endpoint and are never intentionally logged by the MCP server.
  • Native-only or hybrid-PQC negotiation at the public AWS ALB boundary is NOT VERIFIED. MCP availability and PQC operation semantics do not prove end-to-end PQC transport.
  • Tool output is JSON — the server never embeds raw secret material into natural-language responses unless the tool semantics require it.
  • Report vulnerabilities to [email protected].

Links

Apache-2.0 © HEOSSI (PTE.) LTD.