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

@sentinel-core/mcp

v1.0.0

Published

MCP server exposing sentinel runtime data to coding agents

Readme

@sentinel-core/mcp

MCP server that exposes sentinel's runtime data — API calls, Redux state, action log, value lineage — to MCP-speaking coding agents (Claude Code, Cursor, …). The agent that writes your code can also see your running page.

Browser (sentinel) ──WebSocket──▶ sentinel-mcp process ──stdio──▶ Claude Code
   effects, state,                  pulls a fresh snapshot
   actionLog, lineage               per tool call

Setup

1. Register the server with your agent:

claude mcp add sentinel -- npx @sentinel-core/mcp

2. Enable the bridge in your app (requires @sentinel-core/sentinel ≥ 1.0.61):

import { SentinelProvider } from "@sentinel-core/sentinel";

<SentinelProvider store={store} sagaMonitor={monitor} mcp={{ url: "ws://localhost:8790" }}>
  <App />
</SentinelProvider>

The bridge connects to the MCP process over WebSocket, reconnects silently with backoff, and answers snapshot requests on demand. No mcp prop → no bridge, zero impact.

3. Open your app locally, start a new agent session and ask: "where does this price value come from?"

productState.product.prices[0].value = 1299
  ← GET_PRODUCT_FULFILLED (client, 14:02:31)
  ← GET https://…/productDetail (200, 340ms, client)

Tools

| Tool | Answers | |---|---| | get_lineage(query, tab_id?) | Where does this value come from? Query matches state paths ("price") and values ("1299"); returns state path ← redux action ← API request chains | | list_api_calls(tab_id?) | Every request the page made (SSR + client) with method, URL, status, duration, origin | | get_duplicates(tab_id?) | Requests issued more than once, incl. server+client double-fetches | | get_state(path?, query?, tab_id?) | Exact value at a path, free-text search, or top-level summary | | get_action_log(limit?, tab_id?) | Recent redux actions with deep-diff paths of what they changed | | get_component_props(name?, tab_id?) | Props a React component actually received. name lists every instance of that component with its current props + render count; omit name to list all captured components. Sees props that never touch redux (local/computed/context) | | list_tabs() | Connected browser tabs; the last active tab is the default target |

All tools accept an optional tab_id (from list_tabs); without it the last active tab is used.

Configuration

| | | |---|---| | Port | 8790 by default — override with SENTINEL_MCP_PORT | | Binding | 127.0.0.1 only — snapshots never leave your machine | | Snapshot timeout | 3s per tool call; clear error message when no tab is connected |

How it works

The process holds no state: each tool call pulls a fresh snapshot (Redux state, serialized saga effects, action log — both SSR and client origin) from the active browser tab, then runs sentinel's deterministic analysis functions (buildLineageFromQuery, extractApiCalls, …) on it. No AI calls, no API keys, everything local.

License

MIT