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

@plasius/mcp-admin-contracts

v0.2.8

Published

Public-safe MCP admin discovery contract descriptors and response builders.

Readme

@plasius/mcp-admin-contracts

Public-safe MCP admin discovery contract descriptors and response builders for the live Plasius MCP admin surface.

Boundary

This package contains contract metadata only:

  • MCP action descriptors
  • MCP schema/context/discovery response builders
  • AI plugin manifest builder
  • rollout flag identifiers used by the contract
  • deprecated legacy env-name constants retained for source compatibility only
  • analytics and bounded user-aggregation whitelist constants
  • TypeScript types for these payloads

It intentionally does not contain runtime enforcement:

  • no authentication or session logic
  • no authorization checks
  • no persistence or data clients
  • no audit writers
  • no mutation execution
  • no environment reads
  • no production data

Consumers must continue to enforce authentication, authorization, rollout gates, rate limits, audit logging, and input validation in their own runtime boundary. Stored feature flags are the rollout source of truth; exported *_ENV_VAR constants are legacy compatibility names and must not be used as production runtime controls.

Install

npm install @plasius/mcp-admin-contracts

Usage

import {
  buildMcpDiscoveryResponse,
  buildMcpSchemaResponse,
  buildMcpContextResponse,
  MCP_ADMIN_ANALYTICS_METRICS,
} from "@plasius/mcp-admin-contracts";

The exported registry currently covers:

  • feature-flag MCP adapters
  • capability-rule and effective-capability descriptors keyed by canonical tuple identities
  • bounded analytics queries and curated analytics presets
  • bounded grouped user-aggregation summaries without raw per-user export
  • governed asset catalog, source-intake, pipeline, and review descriptors for the hosted plasius-ltd-site MCP backend

Action descriptors keep their existing description field and also expose descriptionKey and descriptionDefault so clients can resolve display text through @plasius/translations:

import { createI18n } from "@plasius/translations";
import {
  buildMcpDiscoveryResponse,
  mcpAdminContractsTranslations,
} from "@plasius/mcp-admin-contracts";

const i18n = createI18n({
  language: "en-GB",
  fallback: "en-GB",
  translations: mcpAdminContractsTranslations,
});
const [action] = buildMcpDiscoveryResponse().actions;

console.log(i18n.t(action.descriptionKey));

Local Development

npm install
npm run build
npm test
npm run pack:check

pack:check blocks accidental private runtime imports, environment reads, and runtime path leakage before publishing.

Governance

For Plasius-LTD/mcp-admin-contracts#12, the parent hardening flag repo-review.2026-05-17.hardening.enabled is runtime N/A because restoring these governance files does not change package behavior.

License

Apache-2.0