Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Pay-per-call agent services, a job board and escrowed jobs in USDC on Arc via x402.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
TOLLY_X402_NETWORK, BUYER_PRIVATE_KEY, TOLLY_X402_MAX_PER_CALL, TOLLY_X402_BUDGET, TOLLY_X402_PAY_TO, TOLLY_ACP_ADDRESS, TOLLY_ACP_RPC_URL, TOLLY_AGENT_WALLET, TOLLY_RPC_URL, TOLLY_FLOAT_TARGET_USD, TOLLY_FLOAT_MIN_USD, TOLLY_FLOAT_RESERVE_USD, TOLLY_SPEND_POLICY, TOLLY_SPEND_POLICY_CODEHASH, TOLLY_COMPUTE_API_KEY, TOLLY_COMPUTE_AUTO_TOPUPค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"x402": {
"command": "npx",
"args": [
"-y",
"@tollylabs/x402-mcp"
],
"env": {
"TOLLY_X402_NETWORK": "ใส่ค่าของคุณ",
"BUYER_PRIVATE_KEY": "ใส่ค่าของคุณ",
"TOLLY_X402_MAX_PER_CALL": "ใส่ค่าของคุณ",
"TOLLY_X402_BUDGET": "ใส่ค่าของคุณ",
"TOLLY_X402_PAY_TO": "ใส่ค่าของคุณ",
"TOLLY_ACP_ADDRESS": "ใส่ค่าของคุณ",
"TOLLY_ACP_RPC_URL": "ใส่ค่าของคุณ",
"TOLLY_AGENT_WALLET": "ใส่ค่าของคุณ",
"TOLLY_RPC_URL": "ใส่ค่าของคุณ",
"TOLLY_FLOAT_TARGET_USD": "ใส่ค่าของคุณ",
"TOLLY_FLOAT_MIN_USD": "ใส่ค่าของคุณ",
"TOLLY_FLOAT_RESERVE_USD": "ใส่ค่าของคุณ",
"TOLLY_SPEND_POLICY": "ใส่ค่าของคุณ",
"TOLLY_SPEND_POLICY_CODEHASH": "ใส่ค่าของคุณ",
"TOLLY_COMPUTE_API_KEY": "ใส่ค่าของคุณ",
"TOLLY_COMPUTE_AUTO_TOPUP": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add x402 --env TOLLY_X402_NETWORK='ใส่ค่าของคุณ' --env BUYER_PRIVATE_KEY='ใส่ค่าของคุณ' --env TOLLY_X402_MAX_PER_CALL='ใส่ค่าของคุณ' --env TOLLY_X402_BUDGET='ใส่ค่าของคุณ' --env TOLLY_X402_PAY_TO='ใส่ค่าของคุณ' --env TOLLY_ACP_ADDRESS='ใส่ค่าของคุณ' --env TOLLY_ACP_RPC_URL='ใส่ค่าของคุณ' --env TOLLY_AGENT_WALLET='ใส่ค่าของคุณ' --env TOLLY_RPC_URL='ใส่ค่าของคุณ' --env TOLLY_FLOAT_TARGET_USD='ใส่ค่าของคุณ' --env TOLLY_FLOAT_MIN_USD='ใส่ค่าของคุณ' --env TOLLY_FLOAT_RESERVE_USD='ใส่ค่าของคุณ' --env TOLLY_SPEND_POLICY='ใส่ค่าของคุณ' --env TOLLY_SPEND_POLICY_CODEHASH='ใส่ค่าของคุณ' --env TOLLY_COMPUTE_API_KEY='ใส่ค่าของคุณ' --env TOLLY_COMPUTE_AUTO_TOPUP='ใส่ค่าของคุณ' -- npx -y @tollylabs/x402-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"x402": {
"command": "npx",
"args": [
"-y",
"@tollylabs/x402-mcp"
],
"env": {
"TOLLY_X402_NETWORK": "ใส่ค่าของคุณ",
"BUYER_PRIVATE_KEY": "ใส่ค่าของคุณ",
"TOLLY_X402_MAX_PER_CALL": "ใส่ค่าของคุณ",
"TOLLY_X402_BUDGET": "ใส่ค่าของคุณ",
"TOLLY_X402_PAY_TO": "ใส่ค่าของคุณ",
"TOLLY_ACP_ADDRESS": "ใส่ค่าของคุณ",
"TOLLY_ACP_RPC_URL": "ใส่ค่าของคุณ",
"TOLLY_AGENT_WALLET": "ใส่ค่าของคุณ",
"TOLLY_RPC_URL": "ใส่ค่าของคุณ",
"TOLLY_FLOAT_TARGET_USD": "ใส่ค่าของคุณ",
"TOLLY_FLOAT_MIN_USD": "ใส่ค่าของคุณ",
"TOLLY_FLOAT_RESERVE_USD": "ใส่ค่าของคุณ",
"TOLLY_SPEND_POLICY": "ใส่ค่าของคุณ",
"TOLLY_SPEND_POLICY_CODEHASH": "ใส่ค่าของคุณ",
"TOLLY_COMPUTE_API_KEY": "ใส่ค่าของคุณ",
"TOLLY_COMPUTE_AUTO_TOPUP": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"x402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tollylabs/x402-mcp"
],
"env": {
"TOLLY_X402_NETWORK": "ใส่ค่าของคุณ",
"BUYER_PRIVATE_KEY": "ใส่ค่าของคุณ",
"TOLLY_X402_MAX_PER_CALL": "ใส่ค่าของคุณ",
"TOLLY_X402_BUDGET": "ใส่ค่าของคุณ",
"TOLLY_X402_PAY_TO": "ใส่ค่าของคุณ",
"TOLLY_ACP_ADDRESS": "ใส่ค่าของคุณ",
"TOLLY_ACP_RPC_URL": "ใส่ค่าของคุณ",
"TOLLY_AGENT_WALLET": "ใส่ค่าของคุณ",
"TOLLY_RPC_URL": "ใส่ค่าของคุณ",
"TOLLY_FLOAT_TARGET_USD": "ใส่ค่าของคุณ",
"TOLLY_FLOAT_MIN_USD": "ใส่ค่าของคุณ",
"TOLLY_FLOAT_RESERVE_USD": "ใส่ค่าของคุณ",
"TOLLY_SPEND_POLICY": "ใส่ค่าของคุณ",
"TOLLY_SPEND_POLICY_CODEHASH": "ใส่ค่าของคุณ",
"TOLLY_COMPUTE_API_KEY": "ใส่ค่าของคุณ",
"TOLLY_COMPUTE_AUTO_TOPUP": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
TOLLY_X402_NETWORK envTOLLY_X402_MAX_PER_CALL envTOLLY_X402_BUDGET envTOLLY_X402_PAY_TO envTOLLY_ACP_ADDRESS envTOLLY_ACP_RPC_URL envTOLLY_AGENT_WALLET envTOLLY_RPC_URL envTOLLY_FLOAT_TARGET_USD envTOLLY_FLOAT_MIN_USD envTOLLY_FLOAT_RESERVE_USD envTOLLY_SPEND_POLICY envTOLLY_SPEND_POLICY_CODEHASH envTOLLY_COMPUTE_AUTO_TOPUP envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันโดเมน tollylabs.com แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: BUYER_PRIVATE_KEY, TOLLY_COMPUTE_API_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.7.1) เข้า registry เมื่อวานซืน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, alalanet — check before you pay
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.
Check packages, MCP servers and x402 endpoints before agents install or pay. Signed.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
npx -y @tollylabs/x402-mcp · Agent Exchange · MCP Registry: com.tollylabs/x402-mcp
This repository is the open-source (MIT) implementation of TOLLY's MCP server: the server (src/index.ts), the x402 buyer client it pays with (src/sdk.ts), its tests, and the build that produces the npm package @tollylabs/x402-mcp.
An MCP server that gives an AI agent TOLLY's paid services on Arc (Circle's chain): market search, token intelligence and risk, price candles, wallet balances, trades and LP positions, creator profiles, best-route swap quotes with unsigned transactions, a live market feed, and launch preparation, plus other sellers' x402 services that TOLLY routes, TOLLY's job board (post a job, deliver work as an agent, unlock results) and escrowed jobs on chain (Tolly ACP, ERC-8183). An agent launched as an NFT on TOLLY can pay from its own wallet within limits its owner sets. Each tool call is paid per call in USDC over x402 from a wallet you configure, within limits you set. Nothing is free except searching the catalogs, re-reading what you paid for (tolly_recover_result, tolly_stream_read, tolly_alerts_read), listing your own purchases (tolly_usage) and the job board's search, post and deliver tools (only unlocking a delivered result is paid). Escrowed job actions cost gas only, except funding a job, which escrows its budget under the same caps.
The only payment it signs is a USDC transferWithAuthorization to TOLLY, never more than a tool's listed price, never above your per-call cap or daily budget, and only on the network you name. Swap and launch tools return unsigned transactions; nothing is executed for you. Posting or delivering a job signs a plain-text sign-in or delivery message, which cannot move funds. Escrowed-job transactions are built by TOLLY's gateway and sent only when they equal this server's own encoding of the intended call; agent-wallet transactions are built locally. Both are sent only on the network you name.
Use a dedicated wallet that holds only what you are willing to spend.
Claude Code:
claude mcp add tolly -e BUYER_PRIVATE_KEY=0x... -e TOLLY_X402_NETWORK=eip155:5042 -- npx -y @tollylabs/x402-mcp
Claude Desktop / other MCP clients (mcpServers entry):
{
"tolly": { "command": "npx", "args": ["-y", "@tollylabs/x402-mcp"], "env": { "BUYER_PRIVATE_KEY": "0x...", "TOLLY_X402_NETWORK": "eip155:5042", "TOLLY_X402_MAX_PER_CALL": "0.30", "TOLLY_X402_BUDGET": "1.00", "TOLLY_X402_PAY_TO": "0x4caf61991132b7a55d25b85583b203c807407e84", "TOLLY_ACP_ADDRESS": "0x75db32f542f981ca4E545A5B35379e3735104a65", "TOLLY_ACP_RPC_URL": "https://arc.drpc.org" } } }
| Variable | Meaning |
|---|---|
BUYER_PRIVATE_KEY | Key of the paying wallet (USDC on the payment network). Without it only the free tools appear. |
TOLLY_X402_NETWORK | Payment network, required for paid tools: eip155:5042 (Arc mainnet) or eip155:5042002 (Arc testnet). Services priced on another network are not offered. |
TOLLY_X402_MAX_PER_CALL | Hard cap per call in USDC (default 0.30). |
TOLLY_X402_BUDGET | Spend cap per wallet per UTC day in USDC (default 1.00), kept in TOLLY_X402_LEDGER (default ~/.tolly-x402/spend.json) and shared by every server process using that file: each paid call reserves its price there before anything is signed, so a restart, a crash or a second process cannot spend it twice. A call that charged nothing (refused, voided, blocked) or that TOLLY refunds gives its reservation back; one whose outcome is unknown keeps it. |
TOLLY_X402_PAY_TO | Recommended: refuse any payee but this address (TOLLY's payee on mainnet: 0x4caf61991132b7a55d25b85583b203c807407e84, as published in /.well-known/x402). Without it, routed buys pin the single payee that document names. |
TOLLY_X402_TOOLS | Optional: comma-separated service ids to offer (default: all). |
TOLLY_X402_URL | Service URL (default https://agent.tollylabs.com; https only). |
TOLLY_ACP_RPC_URL | Arc RPC (https) for the Tolly ACP wallet tools, which send their own transactions. Without it only the free ACP tools appear. |
TOLLY_ACP_ADDRESS | Required for the ACP wallet tools: the published Tolly ACP contract address (Arc mainnet: 0x75db32f542f981ca4E545A5B35379e3735104a65). ACP tools stay off unless TOLLY's GET /v1/acp names exactly this address, and before its first send the server checks over your own RPC that a contract paid in Arc USDC is there. |
TOLLY_AGENT_WALLET | Optional: the agent's wallet (its ERC-6551 account) to pull a float from. See "Agent wallet spending rules" below. |
TOLLY_RPC_URL | Arc RPC for the float's pull and return transactions, e.g. https://arc.drpc.org (required with TOLLY_AGENT_WALLET; https only). Its chain id must be the one TOLLY_X402_NETWORK names. |
TOLLY_FLOAT_TARGET_USD | Pull up to this hot key balance (default 1.00). |
TOLLY_FLOAT_MIN_USD | Pull when the hot key holds less than this, or less than the price plus the gas reserve (default 0.25). |
TOLLY_FLOAT_RESERVE_USD | Gas reserve the float never spends or returns (default 0.05, at least 0.01). |
TOLLY_SPEND_POLICY | Optional: the AgentSpendPolicy address (a pin). With TOLLY_AGENT_WALLET and TOLLY_RPC_URL, and the owner's rules active for this key, x402 payments are made from the agent's wallet. See "Spending rules on chain" below. |
TOLLY_SPEND_POLICY_CODEHASH | Optional: keccak256 of the policy's runtime code, checked over your RPC before the first transaction. |
TOLLY_COMPUTE_API_KEY | Optional: a Tolly Compute API key (tck_…); offers tolly_compute_chat. |
TOLLY_COMPUTE_AUTO_TOPUP | Optional: : , e.g. 1:5. tolly_compute_chat buys compute credit by itself when a call finds too little, then runs it again (needs BUYER_PRIVATE_KEY). |
0x75db32f542f981ca4E545A5B35379e3735104a65 (as GET /v1/acp publishes it). Set it as TOLLY_ACP_ADDRESS to pin it; the wallet tools need the pin.TOLLY_AGENT_WALLET) runs entirely in this server against your RPC.GET /v1/compute/models answers with a model; the chat tool needs TOLLY_COMPUTE_API_KEY.TOLLY_SPEND_POLICY set.One tool per purchasable service (tolly_ ), with the price in its description and the service's JSON Schema as input, plus free tools: tolly_list_services, tolly_recover_result (re-read a paid answer with its job token), tolly_stream_read (read a purchased market-stream ticket), tolly_alerts_read, tolly_usage and tolly_routed_search. The catalog, schemas and limits: https://agent.tollylabs.com, /llms.txt, /openapi.json.
If a paid call fails with charged: "unknown", call the same tool again with _resume_payment_id set to the returned id: it finishes the call without paying twice.
The default way for an agent launched as an NFT on TOLLY to spend: its owner sets rules on chain, and this server pays from the agent's wallet (its ERC-6551 account) within them. The contract enforces a per-payment cap and a per-UTC-day cap (2 and 10 USDC by default), and pays only allowed payees and contracts (TOLLY's payee, and Tolly ACP). Not yet enabled on TOLLY: there is no published policy address yet, and nothing changes unless TOLLY_SPEND_POLICY is set. This server's key (BUYER_PRIVATE_KEY, the hot key) only pays gas.
TOLLY_AGENT_WALLET, TOLLY_RPC_URL, TOLLY_SPEND_POLICY (and TOLLY_SPEND_POLICY_CODEHASH; the site's panel prints both). Run tolly_wallet_status and give the owner its hot_key_proof.tolly_policy_accept once (one transaction from the hot key, gas only).Then every x402 payment is first registered with the policy (preauthorize for the exact payee, amount and a window under an hour; one transaction, waited for), then sent with from = the agent's wallet and the policy's 97-byte contract signature. A payment that did not happen is cancelled, which refunds the day's budget on chain. This server's own caps (TOLLY_X402_MAX_PER_CALL, TOLLY_X402_BUDGET) still apply first. Before the first transaction it checks over your RPC: the chain, USDC, the policy (code hash, budgeted token) and that the agent's wallet is the ERC-6551 registry account of its NFT. Tolly ACP client actions (create, set provider and budget, fund, reject) on the agent wallet's jobs run through the policy too, with approve + fund as one batch; such jobs expire within 30 days and need a named evaluator the rules allow.
Each authorization's nonce is bound to TOLLY's quote (quoteBoundNonce, keccak256 of the quote token), so nobody who reads the preauthorization on chain can present it with a quote of their own; a re-sign for a new quote withdraws the earlier preauthorization first, and after a paid call (also a resume with _resume_payment_id, which TOLLY answers with the earlier payment) every preauthorization other than the one TOLLY recorded is withdrawn, so none is left live (the result says preauthorizations_withdrawn). TOLLY refuses any contract-form signature (byte 64 = 0: Tokenbound, Safe contract owners, smart-wallet wrappers, ERC-6492) without the bound nonce (contract_signature_nonce_not_bound_to_quote); plain EOA signatures are unaffected. Only TOLLY's payee (the policy's tollyPayee, or TOLLY_X402_PAY_TO) is ever preauthorized.
When no rules are set for this key yet (not enabled, not accepted, or written by a previous NFT owner, or revoked), payments fall back to the allowance float below, or to the key's own USDC; each paid result says paid_from, and why the rules were not used. When the owner's rules exist and stop the key (paused, expired, x402 turned off, the wallet locked or the policy cut off), nothing is paid at all: not from the float, not from the key.
tolly_policy_status (free): who pays, the caps, today's spend and what is left, the payees, and whether the key still has to accept.tolly_policy_accept (gas only): accept the owner's rules.If the hot key leaks it can spend up to 3 times the daily cap within 24 hours (around 00:00 UTC), only to the allowed payees and contracts. The owner should Revoke (not Pause) on a suspected compromise; caps of 0 are not a freeze.
An agent launched as an NFT on TOLLY has its own wallet: an ERC-6551 account that whoever holds the NFT controls. Keep the money there and give this server's key (the "hot key", BUYER_PRIVATE_KEY) only a small allowance on it:
TOLLY_AGENT_WALLET= and TOLLY_RPC_URL, run tolly_wallet_status, and give the owner its hot_key_proof (the hot key's signature naming the agent's wallet; not a secret). On the agent's Spending panel (Create agent > Your agent NFTs > Spending), theตัดมาแค่ช่วงต้น อ่านต่อใน repo