Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
x402 USDC paywall bridge for MCP — pay per tool call on Solana.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
AGENTICPAY_BRIDGE_KEYPAIR, AGENTICPAY_BRIDGE_TOOLS, AGENTICPAY_BRIDGE_NETWORK, AGENTICPAY_BRIDGE_RPCค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"agenticpay": {
"command": "npx",
"args": [
"-y",
"@agenticpay/mcp-bridge"
],
"env": {
"AGENTICPAY_BRIDGE_KEYPAIR": "ใส่ค่าของคุณ",
"AGENTICPAY_BRIDGE_TOOLS": "ใส่ค่าของคุณ",
"AGENTICPAY_BRIDGE_NETWORK": "ใส่ค่าของคุณ",
"AGENTICPAY_BRIDGE_RPC": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add agenticpay --env AGENTICPAY_BRIDGE_KEYPAIR='ใส่ค่าของคุณ' --env AGENTICPAY_BRIDGE_TOOLS='ใส่ค่าของคุณ' --env AGENTICPAY_BRIDGE_NETWORK='ใส่ค่าของคุณ' --env AGENTICPAY_BRIDGE_RPC='ใส่ค่าของคุณ' -- npx -y @agenticpay/mcp-bridgeเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"agenticpay": {
"command": "npx",
"args": [
"-y",
"@agenticpay/mcp-bridge"
],
"env": {
"AGENTICPAY_BRIDGE_KEYPAIR": "ใส่ค่าของคุณ",
"AGENTICPAY_BRIDGE_TOOLS": "ใส่ค่าของคุณ",
"AGENTICPAY_BRIDGE_NETWORK": "ใส่ค่าของคุณ",
"AGENTICPAY_BRIDGE_RPC": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"agenticpay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@agenticpay/mcp-bridge"
],
"env": {
"AGENTICPAY_BRIDGE_KEYPAIR": "ใส่ค่าของคุณ",
"AGENTICPAY_BRIDGE_TOOLS": "ใส่ค่าของคุณ",
"AGENTICPAY_BRIDGE_NETWORK": "ใส่ค่าของคุณ",
"AGENTICPAY_BRIDGE_RPC": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
AGENTICPAY_BRIDGE_NETWORK envAGENTICPAY_BRIDGE_RPC envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub krystiangw ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: AGENTICPAY_BRIDGE_KEYPAIR, AGENTICPAY_BRIDGE_TOOLS
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.0.1) เข้า registry 6 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, TF Rooms
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
Live room availability, rates and stay quotes for 12 New Leaf motels in Twin Falls, Idaho.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
[Website](https://agenticpay-dev.github.io/) · Spend caps · npm
Get paid by AI agents. Open-source payment infrastructure for the MCP ecosystem - declare a price on any tool, agents pay in USDC over x402, settles on Solana in ~1.5 seconds.
No Stripe. No accounts. No API keys.
The full stack is here - SDK, CLI, paywall middleware, self-hosted x402 facilitator, and a live LLM agent demo. All TypeScript, MIT licensed.
Just want to test it? Point your
mcp-serverat our hosted devnet
facilitator:
FACILITATOR_URL=https://agentpay-facilitator-e9b20a5fee6a.herokuapp.com
No setup needed.
A real Claude Opus agent receives a task, decides which paid tools to use, pays autonomously via x402 micropayments on Solana, and answers the user.
$ pnpm --filter @agenticpay/two-agent-demo agent
Agent wallet: 3rHoEumCpH8EGrr6Lq2vBKeyec6h3yPRGj2nGG2FzEfX Server: http://localhost:4021 Facilitator: http://localhost:4022 ← our own Model: claude-opus-4-7 Task: Reverse the string 'agentpay rocks' and tell me how many words are in 'The quick brown fox jumps over the lazy dog'.
[turn 1] tool_use: reverse_string({"text":"agenticpay rocks"}) → paying $0.001 USDC ... ✓ paid + got result in 1596ms: {"result":"skcor yaptnega"} [turn 1] tool_use: word_count({"text":"The quick..."}) → paying $0.0005 USDC ... ✓ paid + got result in 1286ms: {"count":9}
Agent final answer:
=== payments summary === reverse_string $0.0010 USDC 1596ms word_count $0.0005 USDC 1286ms TOTAL $0.0015 USDC 2 calls
On-chain proof (Solana devnet):
EsqzTG8id...Bnku2d2HcefgJ...vkqYThe current AI agent stack assumes humans hold the credit card. That breaks the moment agents act on their own initiative - calling APIs, hiring sub-agents, paying for compute. You can't OAuth your way through it.
Stablecoin micropayments over HTTP fix it. agenticpay packages the missing ergonomics for the MCP ecosystem specifically: any tool can declare a price, any agent can pay it, and the whole pipeline - including the facilitator that actually submits the on-chain settlement - is open source and self-hostable.
┌──────────────┐ 1) HTTP request ┌─────────────┐
│ Claude / │ ────────────────────────────────────▶ │ mcp-server │ │ GPT agent │ 2) HTTP 402 + payment requirements │ (yours) │ │ │ ◀──────────────────────────────────── │ │ │ │ 3) signed USDC payload │ │ │ │ ────────────────────────────────────▶ │ │ └──────────────┘ └─────┬───────┘ │ verify+settle ▼ ┌──────────────────────┐ │ agenticpay facilitator │ │ (also yours, this │ │ repo, port 4022) │ └──────────┬───────────┘ │ submit ▼ Solana (USDC SPL, sub-cent fees)
You can also point mcp-server at the public x402.org/facilitator for testnet/devnet, or at Coinbase CDP for mainnet. We just made the self-hosted route easy.
| Package | What it does |
|---|---|
packages/sdk | TypeScript primitives: USDC transfers, wallet management, network config |
packages/cli | agenticpay command - wallet, balance, send |
packages/mcp-server | HTTP server with x402 paywall middleware. Each tool has a price. |
packages/facilitator | Self-hosted x402 facilitator - verify + settle USDC payments on Solana. Pays SOL fees on behalf of agents. |
packages/eliza-plugin | Eliza plugin - wraps paid HTTP endpoints as native Eliza Actions. Solana-native AI agents pay per tool call. |
packages/ai-sdk | Vercel AI SDK helpers - drop paid tools straight into generateText / streamText. |
packages/mcp-bridge | Real MCP server (stdio + @modelcontextprotocol/sdk) wrapping x402 paid tools. Drop into Claude Desktop / Cursor. |
examples/two-agent-demo | Real Claude Opus agent paying for tool calls |
npm install @agenticpay/sdk # Solana + USDC primitives
npm install -g @agenticpay/cli # agenticpay command npm install @agenticpay/mcp-server # paywalled HTTP server npm install @agenticpay/facilitator # self-hosted x402 facilitator npm install @agenticpay/eliza-plugin # Eliza plugin (Solana-native agents) npm install @agenticpay/ai-sdk # Vercel AI SDK paid tools npm install -g @agenticpay/mcp-bridge # MCP server for Claude Desktop / Cursor
Or clone the monorepo to get the live two-agent demo and edit-friendly templates (recommended for first run - see Quickstart below).
This repo ships an Anthropic Skill at .claude/skills/agenticpay/SKILL.md. Copy it into your ~/.claude/skills/ to give Claude Code first-class context about agenticpay - it'll then walk you through monetizing an MCP server, generating tool routes, and verifying on-chain settlements without re-reading the README every time.
mkdir -p ~/.claude/skills
cp -r .claude/skills/agenticpay ~/.claude/skills/
# 1. Install
pnpm install pnpm -r build
node packages/cli/dist/index.js wallet new node packages/cli/dist/index.js wallet show
export FACILITATOR_URL=https://agentpay-facilitator-e9b20a5fee6a.herokuapp.com
pnpm --filter @agenticpay/facilitator dev
pnpm --filter @agenticpay/facilitator fund export FACILITATOR_URL=http://localhost:4022
PAY_TO= pnpm --filter @agenticpay/mcp-server dev
pnpm --filter @agenticpay/two-agent-demo agent
Drop-in templates for the most common AI agent stacks live under examples/:
| Framework | File |
|---|---|
| Anthropic SDK (canonical) | examples/two-agent-demo/src/agent-llm.ts |
| Real-world paid server template (Claude-backed tools) | examples/research-server/ |
| LangChain.js | examples/langchain-js/agent-with-paid-tools.ts |
| LangChain Python | examples/langchain-python/agent_with_paid_tools.py |
| Eliza (Solana-native) | examples/eliza/plugin-agenticpay.ts |
| Mastra | examples/mastra/paid-tool.ts |
| Vercel AI SDK | examples/vercel-ai-sdk/paid-tool.ts |
| OpenAI Custom GPT | examples/openai-gpt/action-schema.json |
See examples/README.md for the integration matrix.
Pre-alpha. Devnet validated end-to-end. Mainnet config supported but requires funding the facilitator with real SOL and pointing at a mainnet-capable RPC (Helius, QuickNode, etc.).
reverse_string)agenticpay.com)If you've never seen x402 before: the facilitator is the trusted middleman that (1) verifies an agent's signed payment payload, (2) submits the USDC transfer on-chain, and (3) pays the SOL gas fees so the agent doesn't need any SOL - only USDC. Most MCP devs don't want to run their own; they point at a hosted one.
This repo ships a complete facilitator implementation. You can self-host it, fork it, audit it, or deploy it as a service for your own users.
Short version: a failed tool call is never charged. x402 settlement is an irreversible push, so the middleware is careful about *when* it settles:
What this doesn't cover: a tool that returns 200 OK with a junk answer is still charged - the protocol can't judge response quality. That's what keeps per-call prices micro ($0.0005–$0.001 in the demo): the worst case is capped at one call's price, and quality enforcement belongs to a reputation layer (see Roadmap) rather than the payment protocol.
MIT