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

@apatureai/bastion

v0.1.2

Published

Apature Bastion server: agent-facing MCP tools (design_review, design_review_get) over the Verdict review surface.

Readme

@apatureai/bastion

The Apature Bastion server: an in-loop, read-only design-review MCP server for coding agents. It exposes five agent-facing tools (design_review, design_review_get, design_recheck, design_review_cancel, design_review_panel_action) over two transports — a local stdio server that runs with no credentials, and a Streamable HTTP edge with OAuth 2.1 resource-server auth, per-tenant Postgres state, and submit-and-poll jobs. It judges and verifies a rendered UI; it never edits code.

With nothing configured the judgments come from a fixture and every review is stamped provenance.model_backed: false. Set VERDICT_CLI to a built apatureai/verdict checkout and the same server reviews your page for real.

Install

npm install @apatureai/bastion

Usage

The package ships four binaries. bastion is the default: npx -y @apatureai/bastion launches the local stdio MCP server, which is what an MCP client spawns.

| Binary | What it is | |---|---| | bastion | default entrypoint; an alias for bastion-local so bare npx @apatureai/bastion just works | | bastion-local | the local stdio MCP server (fixture engine unless one is configured) | | bastion-review | one-shot review of a URL through the configured backend | | bastion-server | the production Streamable HTTP composition root (needs a database, issuer, and engine) |

Register the local server with any stdio MCP client:

{
  "mcpServers": {
    "apature-review-local": {
      "command": "npx",
      "args": ["-y", "@apatureai/bastion"]
    }
  }
}

Or compose the pieces directly:

import { createLocalReviewServer } from "@apatureai/bastion";

const server = createLocalReviewServer(); // fully offline, fixture judgments

Reviewing a target

Targets must be https, with one exception: a loopback dev host (localhost, 127.0.0.0/8, ::1) may be plain http, so a coding agent can review its own local dev server in-loop. Every other host keeps the full SSRF boundary — https only, no IP literals, ownership-verified allowlist, and egress classification with DNS-rebind rejection — so a public name that merely resolves to a private or loopback address is still refused.

Configuration, the SSRF boundary, the OAuth edge, and running a real backend

are all documented in the bastion repository README, including a no-credentials quickstart (pnpm demo) and how to point the server at a live judgment engine.

License

MIT. See LICENSE.