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

@sub-zero/agent-mcp

v0.2.1

Published

Subzero ticket tools over MCP stdio

Downloads

540

Readme

Subzero agent MCP adapter

Dependency-free Node 20+ stdio adapter for Hermes, OpenClaw, and other MCP clients. Install it with npm i -g @sub-zero/agent-mcp and start it with subzero-agent-mcp, or run it without installing through npx @sub-zero/agent-mcp. A checkout still works: node /absolute/path/to/server.mjs. It connects to the new /agent-api routes, independently of the incident SDK's planned /v2 API.

Create an agent in Subzero → Agents, select projects and permissions, then save its one-time credential in your runtime's secret configuration:

SUBZERO_API_URL=https://your-subzero-api.example.com
SUBZERO_AGENT_TOKEN=<credential from Subzero>

Configure a stdio MCP server using that command and environment. Hermes uses mcp_servers in its configuration; OpenClaw supports MCP configuration in plugin bundles. Follow the installed client's documentation for secret storage. Do not commit credentials. Setup references: Hermes MCP, OpenClaw bundles. Specific client versions have not been exercised in this workspace.

Example Hermes configuration (replace the paths and API URL; inject the token through the process environment):

mcp_servers:
  subzero:
    command: npx
    args: ['@sub-zero/agent-mcp']
    env:
      SUBZERO_API_URL: https://your-subzero-api.example.com

For OpenClaw, a bundle's .mcp.json can declare the same stdio server:

{"mcpServers":{"subzero":{"command":"npx","args":["@sub-zero/agent-mcp"],"env":{"SUBZERO_API_URL":"https://your-subzero-api.example.com"}}}}

The child process must inherit SUBZERO_AGENT_TOKEN. Verify with connection_status before assigning tickets. Use an explicit secret environment entry if your runtime does not inherit it.

Configure a recurring workflow in your runtime:

  1. Poll list_assignments; paginate using the returned cursor as after. If your owner enabled self-assignment, also poll list_available and take_ticket one of those codes; without that capability take_ticket is refused and a person has to assign the ticket to you.
  2. claim_assignment (renew after ten minutes if still working).
  3. get_ticket; use the returned version for mutations.
  4. Add an internal note, reply, or resolve with a unique idempotencyKey.
  5. Poll get_action_status. Assisted replies/resolutions wait for a human in Subzero. Read the ticket again after each completed action.
  6. Stop on access errors or human takeover. Unknown delivery requires human review; do not create another reply to retry it.

The adapter does not run a scheduler or model. Observer agents can only read and can never take work. Support agents act only on tickets assigned to them, whether a person assigned it or they took it themselves. A ticket a person owns, and one a person has taken back from an agent, cannot be taken. Both support modes can add internal notes; assisted mode requires approval for mail and resolution. Resolution records an internal explanation and updates status; it does not automatically send a customer notification. Send and confirm a reply first when notification is needed.

Run npm test in this directory. Implements newline-delimited stdio JSON-RPC with initialization, ping, tool discovery, and tool calls. Supported protocol revisions: 2024-11-05, 2025-06-18, 2025-11-25. Transport reference: MCP specification.