Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
Lightning-paywall sidecar: wraps any stdio MCP server, requires paid invoices before tool calls.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
PAYWALL_UPSTREAM_COMMAND, PAYWALL_UPSTREAM_ARGS, NWC_CONNECTION_STRING, PAYWALL_DEFAULT_PRICE_SATS, PAYWALL_PRICE_MAP비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"paywall": {
"command": "npx",
"args": [
"-y",
"paywall-mcp"
],
"env": {
"PAYWALL_UPSTREAM_COMMAND": "your-value",
"PAYWALL_UPSTREAM_ARGS": "your-value",
"NWC_CONNECTION_STRING": "your-value",
"PAYWALL_DEFAULT_PRICE_SATS": "your-value",
"PAYWALL_PRICE_MAP": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add paywall --env PAYWALL_UPSTREAM_COMMAND=your-value --env PAYWALL_UPSTREAM_ARGS=your-value --env NWC_CONNECTION_STRING=your-value --env PAYWALL_DEFAULT_PRICE_SATS=your-value --env PAYWALL_PRICE_MAP=your-value -- npx -y paywall-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"paywall": {
"command": "npx",
"args": [
"-y",
"paywall-mcp"
],
"env": {
"PAYWALL_UPSTREAM_COMMAND": "your-value",
"PAYWALL_UPSTREAM_ARGS": "your-value",
"NWC_CONNECTION_STRING": "your-value",
"PAYWALL_DEFAULT_PRICE_SATS": "your-value",
"PAYWALL_PRICE_MAP": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"paywall": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"paywall-mcp"
],
"env": {
"PAYWALL_UPSTREAM_COMMAND": "your-value",
"PAYWALL_UPSTREAM_ARGS": "your-value",
"NWC_CONNECTION_STRING": "your-value",
"PAYWALL_DEFAULT_PRICE_SATS": "your-value",
"PAYWALL_PRICE_MAP": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
PAYWALL_UPSTREAM_ARGS envPAYWALL_DEFAULT_PRICE_SATS envPAYWALL_PRICE_MAP env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 llmops-pro 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: PAYWALL_UPSTREAM_COMMAND, NWC_CONNECTION_STRING
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.2)은 5개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, Tools MCP
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Paywall ANY stdio MCP server with Lightning, without modifying it. paywall-mcp is a generic sidecar: configure it with an upstream MCP server command and a per-tool price map, and it transparently:
tools/list from the upstream to the LLM client, with prices appended to each tool's description.tools/call: free tools pass through; priced tools require a paid Lightning invoice (via Nostr Wallet Connect / NIP-47) before the call is forwarded.No code changes to the upstream server. Works with Anthropic's reference MCP servers, your own, or any third-party MCP server that speaks stdio.
v0.1 — proxy + payment gate complete. Spawns a stdio upstream as a child process; per-tool pricing via env; in-memory invoice cache + replay protection; audit log; read-only mode. Persistent cache + HTTP/SSE upstream transport deferred to v0.2.
Modern paid-API patterns (Lightning paywall, L402, micropayments) exist for HTTP but the MCP ecosystem has no standard for paid tool calls. Building it into each individual server is repetitive and error-prone. paywall-mcp is the missing sidecar: write your tools as a normal MCP server, then wrap it with paywall-mcp to charge sats per call.
For any priced tool:
priced_tool({...args}) *without* payment_hash. paywall-mcp issues a bolt11 invoice through your NWC wallet and returns: {
"error": "payment_required", "invoice": "lnbc...", "payment_hash": "abc123...", "amount_sats": 21, "expires_in_seconds": 600, "next_step": "Pay this bolt11 ..." }
2. **Payment** — the LLM (or its operator) pays the invoice. Easiest path: use [`nwc-mcp`](https://npmjs.com/package/nwc-mcp) — the same LLM can call `nwc_pay_invoice` to settle.
priced_tool({...args, payment_hash: "abc123..."}). paywall-mcp verifies settlement via NWC lookup_invoice, strips payment_hash from the args, forwards the original call to the upstream, returns the upstream's result.Replay protection: the same payment_hash cannot be redeemed twice. Buyers pay a fresh invoice for each call.
free_lookup: 0, premium_analysis: 100, rare_alpha_signal: 5000. Buyers see prices in tool descriptions.PAYWALL_PRICE_MAP in env, restart, you're at the new price.make_invoice + lookup_invoice are the only permissions paywall-mcp needs. A receive-only NWC connection is perfectly fine and recommended — paywall-mcp never spends.# From npm
npx -y paywall-mcp
git clone cd paywall-mcp corepack enable pnpm pnpm install pnpm build
cp .env.example .env
The server auto-loads .env from its own directory (next to dist/) — deliberately NOT from cwd, to avoid env collisions when running multiple MCP servers in the same Claude Code session.
| Var | Purpose |
|---|---|
PAYWALL_UPSTREAM_COMMAND | Executable to spawn as the upstream MCP server (e.g., node). |
PAYWALL_UPSTREAM_ARGS | JSON array of args passed to the upstream command (e.g., ["/path/to/upstream/dist/index.js"]). |
| Var | Purpose |
|---|---|
NWC_CONNECTION_STRING | NIP-47 NWC URI for the seller's RECEIVE wallet. make_invoice + lookup_invoice permissions sufficient. paywall-mcp never spends. |
| Var | Default | Purpose |
|---|---|---|
PAYWALL_DEFAULT_PRICE_SATS | 0 | Default price for any tool not in the price map. 0 = free passthrough. |
PAYWALL_PRICE_MAP | {} | JSON object mapping tool names to sat prices. Per-tool 0 = free; missing = use default. Example: {"premium_compliment":21,"rare_alpha_signal":5000}. |
| Var | Default | Purpose |
|---|---|---|
PAYWALL_UPSTREAM_CWD | (parent cwd) | Working directory for the upstream child process. |
PAYWALL_UPSTREAM_ENV | (inherits) | JSON object of env-var overrides for the upstream. |
PAYWALL_READ_ONLY | false | Disables all paid tool calls (tools/list still works). Useful for maintenance. |
PAYWALL_INVOICE_TTL_SECONDS | 600 | Invoice TTL. Past this, payment_hash is forgotten from cache and the buyer must re-issue. |
PAYWALL_PRICE_LABEL_TEMPLATE | "(💰 {price} sats)" | Label appended to each priced tool's description in tools/list. {price} is substituted with the sat amount. |
PAYWALL_LOG_PATH | ./paywall-mcp.log | Server log. |
PAYWALL_AUDIT_PATH | ./paywall-mcp-audit.log | NDJSON audit log (one line per call). |
paywall-mcp-test serverThe companion paywall-mcp-test package exposes a single tool — premium_compliment. It already implements its own paywall pattern internally, but it's also a convenient stand-in for "any upstream MCP server" to demonstrate paywall-mcp itself.
.env:
PAYWALL_UPSTREAM_COMMAND=node
PAYWALL_UPSTREAM_ARGS=["/abs/path/to/paywall-mcp-test/dist/index.js"]
NWC_CONNECTION_STRING=nostr+walletconnect://...
PAYWALL_DEFAULT_PRICE_SATS=21 PAYWALL_PRICE_MAP={"premium_compliment":21}
Wire paywall-mcp (not the upstream directly) into your MCP client:
{
"mcpServers": { "paywall": { "command": "npx", "args": ["-y", "paywall-mcp"], "env": {} } } }
Now from your agent:
1. tools/list → premium_compliment ... (💰 21 sats) This tool requires ...
tools/list → upstream.listTools() → augment descriptions with prices → return
tools/call: if price == 0 → upstream.callTool(args) (passthrough) elif PAYWALL_READ_ONLY → refuse with paywall_read_only (block) elif no payment_hash → gate.issue() → return bolt11 + hash (issue) elif bad hash format → refuse with invalid_payment_hash (block) else (have hash): gate.verify() ──┬─ unknown_payment_hash → block ├─ payment_hash_already_redeemed → block (replay) ├─ payment_hash_tool_mismatch → block ├─ payment_not_settled → block └─ ok → strip hash → upstream.callTool() (paid passthrough)
Audit log entries (NDJSON, one per request):
lookup_invoice failed, etc.Tail the audit log for ground truth — independent of whatever the LLM tells you.
tail -f paywall-mcp-audit.log | jq .
{
"mcpServers": { "paywall": { "command": "npx", "args": ["-y", "paywall-mcp"], "env": {} } } }
Same .env-via-binary-dir pattern as the rest of the substrate — leave env empty in the client config; secrets stay in paywall-mcp/.env.
pnpm typecheck
pnpm test # 13 vitest cases (config resolution + payment-gate state machine) pnpm build # ~18 KB ESM bundle
nwc-mcp — Lightning wallet for the buyer. Lets the agent pay the invoices paywall-mcp issues. The matching half of the agent-pays-a-paid-tool loop.nostr-ops-mcp — NOSTR identity, publishing, encrypted DMs.marketplace-mcp — Run a NIP-15 / Shopstr storefront from an agent.albyhub-admin-mcp — Alby Hub node-admin via HTTP API.MIT — see LICENSE.
Built by LLMOps.Pro.
npub1hdg932jvwc3jdvkqywgqv0ue4nn60exrf92asy8mtazt3hjg7d2s2yw0nw — follow, DM, zap.sovereigncitizens@getalby.com — for support zaps and "this was useful" tips.