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

@oppialabs/sentinel-mcp

v0.2.2

Published

MCP server for Sentinel - AI agent payment governance on Stellar

Downloads

375

Readme

Sentinel MCP Server (@oppialabs/sentinel-mcp)

MCP server that exposes Sentinel governance and payment tooling to MCP clients (Claude Code, Cursor, etc.) over stdio.

The server provides 4 tools:

  1. request_payment — run a payment request through Sentinel governance (consensus + policy), with optional x402 resource fetch.
  2. get_policy — read current spending policy.
  3. get_transactions — fetch recent governed transactions.
  4. register_agent — register a hosted voting agent (OpenAI/Anthropic) in Sentinel.

Requirements

  • Node.js 20+
  • A Sentinel API key (x-sentinel-key), available from: https://app.sentinel.xyz/dashboard/settings

Environment variables

Create apps/shieldpay-mcp/.env (or set env vars in your MCP client config):

# Required
SENTINEL_API_KEY=sk_live_...

# Optional
SENTINEL_API_URL=
SENTINEL_AGENT_ID=claude-code

Defaults in code:

  • SENTINEL_AGENT_ID defaults to claude-code

Local development

From repo root:

npm install
npm run dev -w shieldpay-mcp

Build + run:

npm run build -w shieldpay-mcp
npm run start -w shieldpay-mcp

MCP client setup

Claude Code

Install from npm:

claude mcp add shieldpay -- npx @oppialabs/sentinel-mcp -e SENTINEL_API_KEY=sk_live_...

Or run local build:

claude mcp add shieldpay \
  --scope user \
  -e SENTINEL_API_KEY=sk_live_... \
  -e SENTINEL_API_URL=http://localhost:4000 \
  -e SENTINEL_AGENT_ID=claude-code \
  -- node /absolute/path/to/sentinel/apps/shieldpay-mcp/dist/index.js

Tool details

request_payment

Submits a payment intent to:

  • POST /api/proxy/settle

Inputs:

  • vendor (string)
  • amount (number, USDC)
  • task_description (string)
  • asset_code (string, default USDC)
  • resource_url (optional URL to x402-protected resource)
  • resource_method (GET or POST, default GET)
  • resource_body (optional JSON object for POST)

Returns approved/rejected decision, vote summaries, tx/escrow metadata, and optional fetched resource payload.

get_policy

Reads policy from:

  • GET /api/me/policy

Formats limits and blocked vendors for quick operator review.

get_transactions

Reads transaction history from:

  • GET /api/me/transactions?limit=... (1-50, default 10)

Returns a compact timeline of recent approved/rejected requests.

register_agent

Registers a hosted LLM voting agent via:

  • POST /api/agents

Inputs:

  • agent_id
  • provider (openai or anthropic)
  • api_key
  • model (default gpt-4o-mini)
  • system_prompt
  • description (optional)

Error behavior

  • Missing SENTINEL_API_KEY returns explicit tool errors.
  • Upstream API failures are returned with status details.
  • For rejected payments, vote reasons are included when available.