Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
x402 paying-fetch client for AI agents. Spending caps, approval, receipts. Non-custodial.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
PAYFETCH_PRIVATE_KEY, PAYFETCH_KEY_FILE, PAYFETCH_CDP_API_KEY_ID, PAYFETCH_CDP_API_KEY_SECRET, PAYFETCH_CDP_WALLET_SECRET, PAYFETCH_CDP_ACCOUNT_NAME, PAYFETCH_DATA_DIR, PAYFETCH_TEST_MODE, PAYFETCH_APPROVER, PAYFETCH_VIA비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"payfetch": {
"command": "npx",
"args": [
"-y",
"@forum-labs/payfetch"
],
"env": {
"PAYFETCH_PRIVATE_KEY": "your-value",
"PAYFETCH_KEY_FILE": "your-value",
"PAYFETCH_CDP_API_KEY_ID": "your-value",
"PAYFETCH_CDP_API_KEY_SECRET": "your-value",
"PAYFETCH_CDP_WALLET_SECRET": "your-value",
"PAYFETCH_CDP_ACCOUNT_NAME": "your-value",
"PAYFETCH_DATA_DIR": "your-value",
"PAYFETCH_TEST_MODE": "your-value",
"PAYFETCH_APPROVER": "your-value",
"PAYFETCH_VIA": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add payfetch --env PAYFETCH_PRIVATE_KEY=your-value --env PAYFETCH_KEY_FILE=your-value --env PAYFETCH_CDP_API_KEY_ID=your-value --env PAYFETCH_CDP_API_KEY_SECRET=your-value --env PAYFETCH_CDP_WALLET_SECRET=your-value --env PAYFETCH_CDP_ACCOUNT_NAME=your-value --env PAYFETCH_DATA_DIR=your-value --env PAYFETCH_TEST_MODE=your-value --env PAYFETCH_APPROVER=your-value --env PAYFETCH_VIA=your-value -- npx -y @forum-labs/payfetch실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"payfetch": {
"command": "npx",
"args": [
"-y",
"@forum-labs/payfetch"
],
"env": {
"PAYFETCH_PRIVATE_KEY": "your-value",
"PAYFETCH_KEY_FILE": "your-value",
"PAYFETCH_CDP_API_KEY_ID": "your-value",
"PAYFETCH_CDP_API_KEY_SECRET": "your-value",
"PAYFETCH_CDP_WALLET_SECRET": "your-value",
"PAYFETCH_CDP_ACCOUNT_NAME": "your-value",
"PAYFETCH_DATA_DIR": "your-value",
"PAYFETCH_TEST_MODE": "your-value",
"PAYFETCH_APPROVER": "your-value",
"PAYFETCH_VIA": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"payfetch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@forum-labs/payfetch"
],
"env": {
"PAYFETCH_PRIVATE_KEY": "your-value",
"PAYFETCH_KEY_FILE": "your-value",
"PAYFETCH_CDP_API_KEY_ID": "your-value",
"PAYFETCH_CDP_API_KEY_SECRET": "your-value",
"PAYFETCH_CDP_WALLET_SECRET": "your-value",
"PAYFETCH_CDP_ACCOUNT_NAME": "your-value",
"PAYFETCH_DATA_DIR": "your-value",
"PAYFETCH_TEST_MODE": "your-value",
"PAYFETCH_APPROVER": "your-value",
"PAYFETCH_VIA": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
PAYFETCH_KEY_FILE envPAYFETCH_CDP_ACCOUNT_NAME envPAYFETCH_DATA_DIR envPAYFETCH_TEST_MODE envPAYFETCH_APPROVER envPAYFETCH_VIA env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검
레지스트리 이름이 GitHub 계정 forum-labs 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: PAYFETCH_PRIVATE_KEY, PAYFETCH_CDP_API_KEY_ID, PAYFETCH_CDP_API_KEY_SECRET, PAYFETCH_CDP_WALLET_SECRET
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.0.0)은 4개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, yontu
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ 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.
Türkçe yazı denetimi: TDK kuralları, yapay zekâ izleri, metin türüne göre üslup.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
payfetch lets an AI agent fetch a URL and, when the server answers HTTP 402 (the x402 payment protocol), pay for it automatically, but only within a spending policy you control. It is non-custodial: you bring your own wallet, the key stays on your machine, and no MCP tool can raise the limits. It ships as a local stdio MCP server with a small library and CLI alongside it.
The reference x402 clients pay whatever a 402 asks for. payfetch is the opposite: the policy and safety surface is the point. Per-call, per-day, and per-host spend caps; host allow and deny lists; a human-approval threshold; optional pre-payment trust and safety checks; and an append-only local receipt for every attempt, whether it paid, was denied, was a dry run, or failed.
p3f.policy.v1, client schema p3f-1.0.0.exact scheme. Solana-settled x402, the upto scheme, and MPP are parsed and then refused with a reason recorded in your receipts.The package ships compiled JavaScript, so there is no build step and no tsx for consumers. Run it on demand with npx:
# Operator CLI (status, verify, clear-autodeny, report):
npx @forum-labs/payfetch status
npx -p @forum-labs/payfetch payfetch-mcp
The package exposes two binaries: payfetch (the operator CLI) and payfetch-mcp (the stdio MCP server). Because there are two, the server is launched with npx -p @forum-labs/payfetch payfetch-mcp; the -p flag selects the named binary.
payfetch refuses to start if zero or more than one signer source is set. It never guesses which wallet to spend from.
Raw private key, the simplest option. Use a dedicated low-balance wallet:
export PAYFETCH_PRIVATE_KEY=0xabc...
Key file, which must be mode 600 (payfetch refuses to start otherwise):
printf '0xabc...' > ~/.payfetch-wallet.key && chmod 600 ~/.payfetch-wallet.key
export PAYFETCH_KEY_FILE=~/.payfetch-wallet.key
Coinbase CDP server wallet, where the keys are managed by CDP under your account instead of being pasted into an environment variable:
export PAYFETCH_CDP_API_KEY_ID=...
export PAYFETCH_CDP_API_KEY_SECRET=... export PAYFETCH_CDP_WALLET_SECRET=... export PAYFETCH_CDP_ACCOUNT_NAME=payfetch # optional; stable name across restarts
Claude Desktop, in claude_desktop_config.json:
{
"mcpServers": { "payfetch": { "command": "npx", "args": ["-y", "-p", "@forum-labs/payfetch", "payfetch-mcp"], "env": { "PAYFETCH_PRIVATE_KEY": "0xabc...", "PAYFETCH_TEST_MODE": "1" } } } }
Claude Code:
claude mcp add payfetch \
--env PAYFETCH_PRIVATE_KEY=0xabc... \ --env PAYFETCH_TEST_MODE=1 \ -- npx -y -p @forum-labs/payfetch payfetch-mcp
The examples set PAYFETCH_TEST_MODE=1 so your first runs settle on Base Sepolia and never touch mainnet. Drop it when you are ready to spend real USDC.
Quote before you pay. payment_quote returns the terms, the selected quote, the trust-check result, your remaining budgets, and the policy decision (would_pay or would_deny). It signs nothing and reserves nothing:
{ "url": "https://api.example.com/paid-endpoint" }
Dry run the whole pipeline. paid_fetch with "dryRun": true runs the exact code path a real payment takes, up to but not including the signature.
Pay for real with paid_fetch:
{ "url": "https://api.example.com/paid-endpoint", "maxAmountUsd": 0.25 }
maxAmountUsd tightens the per-call cap for this one call. It can only lower the limit, never raise it. If the price is above your approval threshold, approval is required first (see Approvals). The result carries the response body, the payment outcome and transaction reference, any warnings, and a receiptId.
Policy lives in {dataDir}/config.json (the data dir defaults to ~/.payfetch). On first run payfetch writes the defaults there so you can read and edit exactly what you are running. A missing file falls back to the defaults. An invalid file fails closed: every paying tool returns policy_config_invalid until you fix it, so a typo never silently restores a cap you lowered. The file is re-read when its mtime changes.
Only you can change the policy. No MCP tool mutates it and no tool clears an auto-deny. Agent-supplied parameters such as maxAmountUsd can only tighten, never loosen. Every denied paid_fetch result repeats this back to the agent so a prompt-injected model cannot mistake the boundary for something negotiable.
caps.perCallUsd (default 1.00): maximum for a single payment.caps.dailyUsd (default 2.00): maximum per UTC day.caps.perHostDailyUsd (default 1.00): maximum per host per UTC day.caps.totalUsd (default null): optional lifetime cap.Caps are hard and reserve before paying. A signed authorization is held against the budget until it provably expires, so budgets can over-count but never under-count. At most one payment attempt happens per request, so a retry loop cannot drain the wallet.
There is deliberately no default lifetime cap. The dedicated wallet's balance already bounds lifetime spend on-chain (see Security), so a software lifetime ceiling would be one more field to forget. Set totalUsd only if you want a software ceiling on top of a larger-balance wallet.
mode is open by default. Set it to allowlist to pay only hosts listed in allow. Patterns in deny are always refused and win over allow. A pattern like *.example.com matches subdomains, not the apex.
A payment whose price is strictly above approval.thresholdUsd (default 0.10) triggers approval. An approval authorizes one payment only. There is no "always allow", and it never widens future authority.
elicit (default): the client prompts a human with the host, resource, amount, network and asset, guard results, and today's remaining budgets. They approve once or deny. The prompt times out after 120 seconds and is then treated as a denial. Some MCP clients cannot service an elicitation prompt: as of Claude Code v2.1.198 and current Claude Desktop, neither does (Claude Code does not advertise the elicitation capability; Claude Desktop advertises it but cancels the prompt immediately). When a client adds elicitation support, the prompt works with no payfetch change. payfetch tells apart a real human "deny" from a client that simply cannot ask, and it never treats "cannot ask" as a silent denial. When a payment is blocked only because the client cannot elicit, the tool result says so and names the ways to allow it.queue: the payment is not executed. The result returns an approvalId. A human with approval authority resolves it with the approve_pending tool. An approved entry is a grant to re-run: the follow-up paid_fetch runs the full pipeline again and matches on host and exact amount. It expires after one hour, and drifted terms require a fresh approval.deny: anything above the threshold is refused, for unattended fleets.For clients that cannot prompt a human, two config-only settings let above-threshold payments through without a dialog. Both are explicit operator authorization, not the agent's, and neither is reachable from a tool. approval.preApprovedUpToUsd (default null) auto-approves above-threshold payments up to a ceiling. approval.preApprovedHosts (default empty) auto-approves specific hosts. Both still pass through every cap and every guard.
Approval never bypasses caps. An approved payment that fails budget reservation is still denied.
approve_pending with {"action":"list"} is always allowed and shows the queue. Approving or denying an entry requires PAYFETCH_APPROVER=1 in the server's environment; without it the tool returns approver_not_enabled. An agent must not approve its own payments, so the server refuses to start if PAYFETCH_APPROVER=1 is combined with a queue-capable approval mode.
Every outcome, including free fetches, dry runs, denials, and unknown-settlement cases, appends one immutable JSON line to the ledger:
{dataDir}/ledger/{yyyy-mm}.jsonl # append-only, monthly rotation, fsync on payments
{dataDir}/state.json # disposable cache, rebuildable from the ledger {dataDir}/downloads/{receiptId} # response bodies when responseMode is "file"
A receipt records the URL, method, and host; the outcome and deny code; the pipeline steps traversed; the selected quote and a tally of rejected quotes; guard results; approval info; the payment (payer address, nonce, validBefore, settled amount, transaction reference, and whether it confirmed); the budgets at decision time; and an HTTP summary. Key material, signatures, full payment payloads, response bodies, and request header values are never stored. Response bodies are recorded as a SHA-256 hash plus a byte count. URL query strings are stored, because this is your own audit trail on your own disk; guard calls, by contrast, strip the query (see Security). Nothing is rewritten. Corrections append p3f.adjust.v1 records.
Query receipts with the list_receipts tool (filter by time, host, or outcome) or spend_status (today's totals, holds, and recent payments). After repeated paid-but-bad outcomes a host is auto-denied for 7 days; clear it out of band with payfetch clear-autodeny , never from a tool.
payfetch can consult two checks before it pays. Both call paid Forum Labs APIs at https://api.forum-labs.com, and both are self-dealing that is disclosed here rather than buried: the guards call our own products. The default guard budget is 0, so by default the client uses only those products' free tier. Any paid guard usage is opt-in, budgeted with guards.*.dailyBudgetUsd > 0, and produces a receipt like any other spend.
The trust check is on by default in advisory mode. Before paying, it asks whether the target endpoint has a reliable history. In advisory mode it warns; in enforce mode it blocks on the configured verdicts (unreliable by default). New endpoints without enough history come back unrated and pass by default, so the check does not strangle them. This check is the client's only outbound call to us; see Security for exactly what it sends and how to turn it off.
The safety check is off by default. When enabled it screens a token mint you pass in (tokenAddress) against the Forum Labs token safety API and blocks on a danger verdict, or on a serial_rugger deployer verdict in deep mode. deep is always a paid screen, so it needs dailyBudgetUsd > 0.
Read this before pointing payfetch at a funded wallet.
The primary control on how much a bug or a prompt-injected agent can spend is the balance of the wallet you point payfetch at, not the software caps. A wallet's balance is a hard on-chain bound: payfetch cannot spend a dollar that is not in the wallet, whatever the config says or the agent is told to do. So the first thing to get right is the wallet.
Create a fresh wallet, fund it with only the amount you are willing to lose entirely (a few dollars for a trial, a capped top-up for production), and give payfetch that wallet. Never your main wallet. R
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요