@powforge/mcp-pay-gate

finance MCP Server

Dual-rail MCP payment middleware: L402 Lightning + x402-bip122-exact. Drop-in Express middleware for MCP servers.

VerifiedInstall Ready
financefinance
2 views0 stars0 forksv0.2.0MIT

Why This Matters

Discovered via github-topic:mcp-server and last synced 3mo ago.

VerifiedInstall Ready
Source
github-topic:mcp-server
Stars
0
Last synced
3mo ago
Install
Instructions detected

Install

1. Install the package

npm install @powforge/mcp-pay-gate
10
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (10)

network

`bip122:000000000019d6689c085ae165831e93` (mainnet CAIP-2)

scheme

`exact`

gateUrl

`process.env.POW_GATE_URL` or `https://gate.powforge.dev`

Field

Default

priceMsat

3000 (3 sats)

payTo

`anonymous`

none

Required for the default x402 invoice mint and paid-check; can be replaced by passing custom `invoiceFn` and `checkPaidFn` seams

verifyL402Fn

forwards to gate `/v1/verify`

verifyX402Fn

full 10-step `bip122/exact` verifier (BOLT11 decode + replay cache + LNBits paid-check)

settlementCache

in-memory `Map` with 24h TTL and opportunistic prune