
Product
Socket MCP Adds Org Alerts, Threat Feed Review, and Package Inspection
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.
@powforge/captcha-paymcp-provider
Advanced tools
PoW-skip payment provider for paymcp — free-tier alternative to Lightning via PowForge captcha
PoW-skip payment provider for paymcp. Free-tier alternative to Lightning — lets agents solve SHA-256 proof-of-work instead of paying a Lightning invoice.
Pair with @powforge/paymcp-l402-provider to offer both tiers on the same _meta.price-tagged tool in ≤ 10 lines.
npm install @powforge/captcha-paymcp-provider paymcp
const { PayMCP } = require('paymcp');
const { CaptchaPowProvider } = require('@powforge/captcha-paymcp-provider');
PayMCP(mcp, {
providers: [
new CaptchaPowProvider({ captchaUrl: 'https://captcha.powforge.dev' }),
],
});
const { PayMCP } = require('paymcp');
const { LnbitsPaymentProvider } = require('@powforge/paymcp-l402-provider');
const { CaptchaPowProvider } = require('@powforge/captcha-paymcp-provider');
PayMCP(mcp, {
providers: [
new CaptchaPowProvider({ captchaUrl: 'https://captcha.powforge.dev', difficulty: 14 }),
new LnbitsPaymentProvider({ lnbitsUrl: process.env.LNBITS_URL, lnbitsApiKey: process.env.LNBITS_KEY, satsAmount: 21 }),
],
});
paymcp's AUTO mode offers the PoW path first (free, costs ~5–10s of CPU) then Lightning (21 sats). The calling agent or user picks.
createPayment fetches a SHA-256 challenge from captchaUrl/api/challenge, mines the nonce server-side, and returns { payment_id, payment_url: "pow://..." }.pow:// URI encodes all parameters a PoW-capable MCP client SDK needs to independently verify the work.getPaymentStatus submits the stored nonce to /api/verify and returns 'paid' when the captcha server confirms. The result is cached — the challenge is consumed exactly once.| Option | Required | Default | Description |
|---|---|---|---|
captchaUrl | yes | — | PowForge captcha server URL |
difficulty | no | 14 | Leading-zero bits (overridden by server response) |
fetchImpl | no | globalThis.fetch | Inject a custom fetch for tests |
minerImpl | no | built-in SHA-256 loop | Inject (salt, difficulty) => nonce for tests |
MIT
FAQs
PoW-skip payment provider for paymcp — free-tier alternative to Lightning via PowForge captcha
We found that @powforge/captcha-paymcp-provider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.

Research
More than 140 Mastra npm packages were compromised in a supply chain attack that used a typosquatted dependency to deliver a cross-platform infostealer during installation.