Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
AI agents discover, pay for, and consume any Lightning-gated API autonomously
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
NWC_URI, MAX_AUTO_PAY_SATS비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"402": {
"command": "npx",
"args": [
"-y",
"402-mcp"
],
"env": {
"NWC_URI": "your-value",
"MAX_AUTO_PAY_SATS": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add 402 --env NWC_URI=your-value --env MAX_AUTO_PAY_SATS=your-value -- npx -y 402-mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"402": {
"command": "npx",
"args": [
"-y",
"402-mcp"
],
"env": {
"NWC_URI": "your-value",
"MAX_AUTO_PAY_SATS": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"402-mcp"
],
"env": {
"NWC_URI": "your-value",
"MAX_AUTO_PAY_SATS": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
MAX_AUTO_PAY_SATS env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 도메인 forgesworn.dev 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: NWC_URI
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(3.15.2)은 7개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, sync. labs
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ 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.
Lipsync videos, dub them into other languages, make talking videos and open sync. Studio.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Nostr: npub1mgvlrnf5hm9yf0n5mf9nqmvarhvxkc6remu5ec3vf8r0txqkuk7su0e7q2
L402 client MCP that gives AI agents economic agency. Discover, pay for, and consume Lightning and ecash payment-gated APIs within limits you set: no human registration, no API keys, no middlemen.
There is no install step: npx fetches 402-mcp when your MCP client first starts it. Running npx 402-mcp by hand only starts a stdio server that waits for a client on standard input (stop it with Ctrl+C), so do that to check it launches, not to use it.
1. Connect it to your MCP client
Claude Code:
claude mcp add 402-mcp -- npx 402-mcp
Claude Desktop or Cursor, in the MCP configuration file:
{
"mcpServers": { "402-mcp": { "command": "npx", "args": ["402-mcp"] } } }
2. Try it
Ask Claude: *"Search for paid joke APIs using l402-search"*, no wallet needed, just discovery.
3. Pay for calls (optional): connect an NWC wallet
402-mcp reads the Nostr Wallet Connect URI from a private file, never from an environment variable or a command line. Create the file with owner-only permissions first, then paste the URI into it with an editor so it stays out of your shell history:
mkdir -p ~/.402-mcp
touch ~/.402-mcp/wallet.nwc chmod 600 ~/.402-mcp/wallet.nwc
The URI comes from your wallet service and looks like this, with your own values in place of the placeholders:
nostr+walletconnect://<wallet-pubkey-hex>?relay=<wss-relay-url>&secret=<secret-hex>
It needs a 64-character hex wallet pubkey, one to eight relay values, one 64-character hex secret, and may carry lud16; any other parameter is rejected. The file must be a regular, non-empty file under 8 KiB, and on macOS and Linux it is refused unless group and other have no permissions (chmod 600). Create the connection with pay_invoice permission and a spending budget (lookup_invoice as well lets l402-reconcile ask the wallet about unknown outcomes). The wallet must support NIP-44 v2 encryption.
Then register 402-mcp with the absolute path ($HOME expands in your shell when you run the command):
claude mcp remove 402-mcp
claude mcp add 402-mcp -e NWC_URI_FILE="$HOME/.402-mcp/wallet.nwc" -e MAX_AUTO_PAY_SATS=1000 -- npx 402-mcp
For Claude Desktop or Cursor, add an env block to the same server entry. JSON does not expand ~ or $HOME, so write out the absolute path of the file you created:
{
"mcpServers": { "402-mcp": { "command": "npx", "args": ["402-mcp"], "env": { "NWC_URI_FILE": "/absolute/path/to/.402-mcp/wallet.nwc", "MAX_AUTO_PAY_SATS": "1000" } } } }
A raw NWC_URI variable is refused at startup. For Cashu, LNURLcash or no wallet at all, and a first paid call, see the full quickstart guide.
Requires Node.js 22.4 or newer.
graph LR
A["1. l402-config()"] --> B["2. l402-discover(url)"] B --> C["3. Agent reasons about pricing"] C --> D["4. l402-buy-credits() or l402-fetch(autoPay)"] E["5. l402-fetch(url) with stored credential"] D --> E E --> F["6. Data returned
Example session:
Agent: "I need routing data from routing.example.com"
Step 5 needs no autoPay: step 4 stored a credential for that server and l402-fetch sends it. Without a stored credential, l402-fetch pays nothing unless autoPay: true is set; it returns the price and a paymentHash instead (see Spending limits).
For detailed architecture and payment flow diagrams, see docs/architecture.md.
| Variable | Default | Description |
|---|---|---|
NWC_URI_FILE | - | Path to a private 0600 file containing the NWC bearer URI |
CASHU_TOKENS | - | Path to Cashu token store file. Must be within your home directory |
LNURLCASH_NOTES | - | Path to LNURLcash bearer note store file (LUD-25). Must be within your home directory |
MAX_AUTO_PAY_SATS | 1000 | Most a single automatic payment may cost. Anything dearer is not paid; the challenge goes back to the agent. 0 disables auto-pay |
MAX_SPEND_PER_MINUTE_SATS | 10000 | Automatic spend allowed in any rolling 60 seconds. 0 blocks all auto-pay. At the defaults the daily cap below binds first (see Spending limits) |
MAX_SPEND_PER_DAY_SATS | 5000 | Automatic spend allowed in any rolling 24 hours, kept in ~/.402-mcp/spend-ledger.json so a restart does not reset it. 0 blocks all auto-pay |
CREDENTIAL_STORE | ~/.402-mcp/credentials.json | Persistent macaroon/credential storage. Must be within your home directory |
TRANSPORT | stdio | Transport mode: stdio or http |
PORT | 3402 | HTTP server port (when TRANSPORT=http) |
BIND_ADDRESS | 127.0.0.1 | HTTP bind address |
HTTP_AUTH_TOKEN_FILE | - | Private 0600 file holding the bearer token HTTP clients must send. Required when TRANSPORT=http |
HTTP_ALLOWED_HOSTS | - | Extra Host header values the HTTP transport accepts (comma-separated), such as a reverse proxy's name |
CORS_ORIGIN | disabled | CORS origin for the HTTP transport (* or one origin). * logs a warning: any website could then call the server |
TRANSPORT_PREFERENCE | onion,hns,https,http | Preferred transport order for multi-URL services (comma-separated) |
TOR_PROXY | - | SOCKS5 proxy for .onion addresses only (e.g. socks5h://127.0.0.1:9050) |
SOCKS_PROXY | - | SOCKS5 proxy for every paid-API request (e.g. Tor at socks5h://127.0.0.1:9050). Set this or TOR_PROXY, not both |
HNS_GATEWAY_URL | https://query.hdns.io/ | DNS-over-HTTPS resolver used for Handshake names. Any host name that ordinary DNS cannot find is looked up here |
HUMAN_PAY_TIMEOUT_S | 600 | How long the human payer polls the server for settlement, in seconds, when there is no payment page to poll |
HUMAN_PAY_POLL_S | 3 | First polling interval for the human payer, in seconds. It backs off to 30 |
FETCH_TIMEOUT_MS | 30000 | Timeout for each outbound HTTP request |
FETCH_MAX_RETRIES | 2 | Retries for non-mutating requests. Money-mutating POSTs are never retried |
FETCH_MAX_RESPONSE_BYTES | 10485760 | Largest response body accepted (10 MiB) |
SSRF_ALLOW_PRIVATE | false | Allow requests to private and loopback addresses. Local development only |
ALLOW_INSECURE_TLS | false | Acknowledge the risk when NODE_TLS_REJECT_UNAUTHORIZED=0 is set. Without it (or SSRF_ALLOW_PRIVATE=true), 402-mcp refuses to start in that case |
NWC_URI and HTTP_AUTH_TOKEN are refused at startup: both secrets are read only from their *_FILE variables. The spend caps, MAX_AUTO_PAY_SATS and FETCH_MAX_RETRIES must be non-negative whole numbers; the timeouts, the size limit and the poll interval at least 1; PORT 1 to 65535.
When a kind 31402 event advertises multiple URLs (one per transport), 402-mcp selects the best one based on your configuration:
TRANSPORT_PREFERENCE order, onion,hns,https,http by default. Use onion, hns, https and http as the values; there is no value for anything else. A URL counts as hns when its TLD is .hns. One whose TLD is merely unfamiliar (.pub, .fyi) is more likely an ICANN name, so it has no value of its own: it counts as a guessed hns name and is tried just after whichever of hns and https comes later in your order, which is just after https by default. If you leave hns out of TRANSPORT_PREFERENCE, such URLs go last..onion URLs are skipped unless TOR_PROXY or SOCKS_PROXY is set, so without a proxy the default order starts at HNS and clearnet.Services can announce multiple endpoints for the same service (same pricing, same macaroon key) on different transports. This is purely for censorship resistance; you do not need to re-authenticate when switching transports. .onion endpoints need TOR_PROXY or SOCKS_PROXY. Handshake endpoints need no configuration, because HNS_GATEWAY_URL has a default, except under SOCKS_PROXY, which switches Handshake lookups off (see Tor and SOCKS5).
Credentials across transports. When l402-fetch is given a service's pubkey (from l402-search), it stores and looks up the credential under that pubkey, so one purchase serves every transport URL passed in urls. Without a pubkey the credential is keyed by the request's origin. Either way the credential records the origins it was bought through and is sent only to those, whatever pubkey a later request names. A macaroon bought through a Tor hidden service therefore works on the clearnet URL when both were in urls at purchase, and is never sent to any other host.
.onion requests through the proxy. Everything else connects directly.localhost; it cannot see what a name resolves to on the far side, which Tor exits refuse for private ranges anyway.Neither setting covers wallet or discovery traffic: NWC relays, Cashu and LNURLcash mints, and the Nostr relays l402-search queries still connect directly. Handshake lookups are switched off under SOCKS_PROXY, because the DNS-over-HTTPS query would go around the proxy.
SOCKS5 support comes from undici's Socks5ProxyAgent, which Node marks experimental; expect one ExperimentalWarning on stderr when a proxy is configured.
| Tool | Description |
|---|---|
l402-config | Introspect payment capabilities (wallets, limits, credential count) |
l402-discover | Probe an endpoint to discover pricing without paying |
| l402-fetch-preview | Show what an endpoint costs withou
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요