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

starkgate-mcp-server

v0.4.0

Published

MCP server that routes agent tool calls through StarkGate's universal firewall — fail-closed evaluation with offline-verifiable proofs.

Readme

🛡️ starkgate-mcp-server

npm License: MIT

MCP server (Model Context Protocol) qui fait passer les appels d'outils de tes agents IA par le firewall universel StarkGate — évaluation fail-closed, preuve auditHash vérifiable hors-ligne.

Installation

Aucune installation nécessaire avec npx :

npx starkgate-mcp-server

Ou en global :

npm install -g starkgate-mcp-server

Configuration (Claude Desktop & autres clients MCP)

Ajoute à ton claude_desktop_config.json :

{
  "mcpServers": {
    "starkgate": {
      "command": "npx",
      "args": ["-y", "starkgate-mcp-server"],
      "env": {
        "STARKGATE_API_KEY": "sk_live_votre_cle",
        "STARKGATE_API_URL": "https://sentinel-api.wenjoseph16.workers.dev",
        "STARKGATE_POLICY_ID": "pol-demo",
        "STARKGATE_AGENT_ID": "claude-desktop"
      }
    }
  }
}

| Variable | Requis | Défaut | Description | |---|---|---|---| | STARKGATE_API_KEY | pour evaluate | — | Clé API (sk_live_…) — sans elle, starkgate_evaluate répond DENY fail-closed | | STARKGATE_API_URL | non | https://sentinel-api.wenjoseph16.workers.dev | URL de l'API StarkGate | | STARKGATE_POLICY_ID | non | pol-demo | Policy par défaut | | STARKGATE_AGENT_ID | non | mcp-agent | Identifiant de l'agent envoyé aux évaluations |

Tools exposés

starkgate_evaluate

Évalue une action avant exécution :

{
  "actionType": "terminal.command",
  "payload": { "cmd": "rm -rf /" },
  "agentId": "mon-agent",
  "policyId": "pol-demo"
}

Réponse :

{
  "decision": "DENY",
  "reason": "Destructive command blocked by rule 'no-rm-rf'",
  "matchedRule": "no-rm-rf",
  "auditHash": "sha256:9f2c…",
  "riskScore": 95
}
  • Fail-closed : erreur réseau/HTTP → DENY (jamais de fail-open silencieux).
  • L'auditHash permet de vérifier la preuve hors-ligne (voir SDK Python starkgate.local_audit).

starkgate_health

Ping l'API (aucune clé requise) → {"status": "ok", "apiUrl": "…"}.

Usage programmatique (librairie)

Pour wrapper vos propres tools MCP avec le guard StarkGate :

import { createStarkGateMcpServer } from "starkgate-mcp-server";

const server = createStarkGateMcpServer({
  apiUrl: "https://sentinel-api.wenjoseph16.workers.dev",
  apiKey: "sk_live_…",
  policyId: "pol-demo",
});

server.wrapTool({
  name: "read_file",
  description: "Read a file from the filesystem",
  inputSchema: { path: z.string() },
  handler: async (args) => fs.readFile(args.path, "utf-8"),
});

await server.start();

Liens

  • Docs : https://sentinel-api.wenjoseph16.workers.dev/docs
  • Quickstart : https://sentinel-api.wenjoseph16.workers.dev/quickstart
  • SDK Python : pip install starkgate-sdk
  • Repo : https://github.com/wenjoseph16/starkgate

License

MIT