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

@hitl-kit/mcp

v0.7.0

Published

MCP server for HITL Kit. Exposes the 15 HITL primitive event kinds as MCP tools so Claude Code, Cursor, Claude Desktop, and any MCP-aware client can emit schema-validated human-in-the-loop events.

Readme

@hitl-kit/mcp

MCP server for HITL Kit. Exposes the 15 HITL primitive event kinds as Model Context Protocol tools so Claude Code, Cursor, Claude Desktop, and any MCP-aware client can emit schema-validated human-in-the-loop events.


Why this exists

The MCP (Model Context Protocol) standardises how agent clients talk to tools. If you add HITL Kit as an MCP server, an agent running in any MCP-aware client — Claude Code, Claude Desktop, Cursor, future ones — can call hitl_interrupt_card, hitl_qa_flow, etc. The server validates input against the @hitl-kit/core Zod schemas and returns a structured HITL event as the tool result. Zero per-client wiring.


Install

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "hitl-kit": {
      "command": "npx",
      "args": ["-y", "@hitl-kit/mcp"]
    }
  }
}

Restart Claude Desktop. In the chat you should see hitl_* tools available.

Cursor

In Cursor Settings → MCP Servers → Add:

{
  "mcpServers": {
    "hitl-kit": {
      "command": "npx",
      "args": ["-y", "@hitl-kit/mcp"]
    }
  }
}

Claude Code

claude mcp add hitl-kit npx -y @hitl-kit/mcp

Or add manually to your Claude Code settings (~/.claude/mcp-servers.json or per-project .claude/mcp-servers.json):

{
  "mcpServers": {
    "hitl-kit": {
      "command": "npx",
      "args": ["-y", "@hitl-kit/mcp"]
    }
  }
}

Tools exposed

| Tool name | Event kind | |---|---| | hitl_interrupt_card | hitl.card | | hitl_subagent_status | subagent.status | | hitl_mini_trace | trace.mini | | hitl_ai_generation_scale | scale.ai_generation | | hitl_context_chips | chips.context | | hitl_qa_flow | qa.flow | | hitl_writing_agent | agent.writing | | hitl_research_agent | agent.research | | hitl_batch_queue | batch.queue | | hitl_search_result | result.search | | hitl_approve_reject | approval.binary | | hitl_diff_result (v0.6a) | result.diff | | hitl_citation_result (v0.6a) | result.citation | | hitl_editable_plan (v0.6a) | plan.editable | | hitl_tool_call (v0.6a) | tool.call |

Each tool's input JSON Schema is generated from the matching Zod schema in @hitl-kit/core (minus the kind discriminator, which the server adds). The tool result is a JSON-stringified HitlEvent ready to pass to <HitlEventRenderer />.


Programmatic usage (advanced)

If you want to embed the HITL Kit MCP server in a custom host:

import { createHitlKitServer } from "@hitl-kit/mcp";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";

const server = createHitlKitServer();
const transport = new StdioServerTransport();
await server.connect(transport);

Or use a non-stdio transport (e.g., Streamable HTTP) — the server returned by createHitlKitServer() is a standard MCP Server object.


Dev / local test

pnpm --filter @hitl-kit/mcp build
# Then link and configure Claude Desktop to point at the built binary.
# See local dev notes in the repo's CONTRIBUTING.md.

Send a list-tools request via MCP Inspector or any stdio client; you should get all 15 hitl_* tools. Calling one with valid input returns a HitlEvent; calling with invalid input returns a structured Zod error.


Part of HITL Kit

MIT © Ieuan King.