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

@harnessa-fe/mcp-server

v3.0.0

Published

Unified MCP daemon: stdio MCP for AI agents + WS bridge for Vite plugin and runtime client.

Downloads

2,765

Readme

@harnessa-fe/mcp-server

The MCP daemon for Harnessa-FE. Bridges AI agents (Claude, Cursor, Kiro) with running dev servers and browser tabs.

The MCP server exposes tools over stdio MCP to AI agents and runs a WebSocket bridge for the Vite/Webpack plugin and the browser runtime client. One daemon can serve multiple projects simultaneously.

Install

# Run on demand (recommended)
npx @harnessa-fe/mcp-server

# Or install globally
pnpm add -g @harnessa-fe/mcp-server
harnessa-fe

Use with Claude Code

Register the daemon as an MCP server in your Claude Code settings:

{
    "mcpServers": {
        "harnessa-fe": {
            "command": "npx",
            "args": ["-y", "@harnessa-fe/mcp-server"]
        }
    }
}

Cursor, Kiro, and other MCP-compatible clients use the same pattern.

LAN mode (real-device debugging)

The daemon binds 127.0.0.1 by default — local only, no auth needed.

To debug from a phone, tablet, or another machine on the same WiFi:

# Generate a one-shot token at startup
npx @harnessa-fe/mcp-server --host 0.0.0.0 --token auto

# Or reuse a stable token from your shell rc
export HARNESSA_FE_TOKEN=...
npx @harnessa-fe/mcp-server --host 0.0.0.0

The startup banner prints the dashboard URL with the token baked in — paste it into your phone's browser once and the daemon cookies the session.

Want a remote agent to share the daemon? Mount the MCP HTTP transport:

npx @harnessa-fe/mcp-server --host 0.0.0.0 --token auto \
  --mcp-transport http --mcp-path /mcp

Configure your remote Claude Code / Cursor:

{
  "type": "http",
  "url": "http://<lan-ip>:47729/mcp",
  "headers": { "Authorization": "Bearer <token>" }
}

Full guide: docs/lan-mode.md

All CLI flags

--host <addr>           Bind address (default 127.0.0.1; use 0.0.0.0 for LAN)
--port <number>         TCP port (default 47729)
--token <value|auto>    Required when --host is not loopback
--mcp-transport <kind>  stdio (default) | http
--mcp-path <path>       Default /mcp
--public-host <addr>    Override the host printed in outbound URLs
-h, --help

Matching env vars: HARNESSA_FE_HOST, HARNESSA_FE_TOKEN, HARNESSA_FE_MCP_TRANSPORT, HARNESSA_FE_MCP_PATH.

What it exposes

Tools across these domains (see Architecture):

  • pagenavigate, click, type, dom_query, evaluate, screenshot, …
  • console / network / errors — tail and search runtime events
  • session — list, replay, slice rrweb recordings
  • projectsource, where_is, module_graph (source-code intelligence)
  • tasks — point-and-task annotation queue

Persistence lives in ~/.harnessa/ (JSONL event logs + JSON records).

Docs

License

MIT