Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Lets an agent pay for x402 APIs in USDC on Arc, under a spending policy it cannot change.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
CRA_NETWORK, CRA_KEY_FILE, CRA_POLICY, CRA_RPC_URL, DATABASE_URL你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"cra-agent": {
"command": "npx",
"args": [
"-y",
"@cra-agent/mcp"
],
"env": {
"CRA_NETWORK": "your-value",
"CRA_KEY_FILE": "your-value",
"CRA_POLICY": "your-value",
"CRA_RPC_URL": "your-value",
"DATABASE_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add cra-agent --env CRA_NETWORK=your-value --env CRA_KEY_FILE=your-value --env CRA_POLICY=your-value --env CRA_RPC_URL=your-value --env DATABASE_URL=your-value -- npx -y @cra-agent/mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"cra-agent": {
"command": "npx",
"args": [
"-y",
"@cra-agent/mcp"
],
"env": {
"CRA_NETWORK": "your-value",
"CRA_KEY_FILE": "your-value",
"CRA_POLICY": "your-value",
"CRA_RPC_URL": "your-value",
"DATABASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"cra-agent": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cra-agent/mcp"
],
"env": {
"CRA_NETWORK": "your-value",
"CRA_KEY_FILE": "your-value",
"CRA_POLICY": "your-value",
"CRA_RPC_URL": "your-value",
"DATABASE_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
CRA_POLICY envCRA_RPC_URL envDATABASE_URL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 giupy997 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:CRA_NETWORK, CRA_KEY_FILE
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.0.11)于44天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Master CSS
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Inspect Master CSS classes, generated CSS, and project stylesheets from your AI client.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that lets an AI agent pay for an API call. The agent calls one tool, the rail reads the x402 price, checks a spending policy, pays in USDC on Arc through Circle Gateway with no gas for the buyer, and keeps the receipt.
The model never sees the key, and it cannot raise its own limit: both are read from the environment before the conversation starts.
npm i -g @cra-agent/mcp
cra-agent init --client claude-desktop
Creates the agent's key in ~/.cra-agent/agent.key (readable only by you, never overwritten), checks the limits, writes the entry into the client's config file with a copy of the old one, and prints the address to fund. --client is claude-desktop, cursor, claude-code or terminal; --policy, --network, --key-file and --dry-run do what they say. CRA Factory writes the command for you from four questions.
{ "mcpServers": { "cra-agent": {
"command": "cra-agent-mcp", "env": { "CRA_NETWORK": "arc", "CRA_KEY_FILE": "/path/to/agent.key", "CRA_POLICY": "daily=5,per_seller=0.5,per_payment=0.05" } } } }
CRA_KEY_FILE points at a file holding the private key, chmod 600. Never put a key in a prompt.
| Tool | What it does |
|---|---|
arc_search | Finds what can be bought on Arc from a few words ("bitcoin price", "web search"): CRA AGENT's own data, the CRA market, and the endpoints Circle's x402 catalogue lists as payable on Arc (Exa, Goldsky, BlockRun and others). Each result: the method and the URL with example parameters, where each parameter goes (query, path or JSON body), the price, the seller, who listed it, and whether your policy allows paying it now. Free. |
arc_quote | Reads the price of a URL and says whether the policy would allow it. Pays nothing. For a POST, pass the body the payment will carry: some sellers check it before they name a price. |
arc_pay | Pays for the URL and returns the response with a receipt. With lightning: true it pays in bitcoin over Lightning when the seller's 402 offers it (x402 exact on lnbtc), from the wallet in CRA_NWC_PAY_FILE, under the same limits in dollars. Limits are checked on what the 402 asks at pay time, before anything is signed. maxUsdc adds a ceiling for that one call: pass the price arc_search listed, and a seller who raised it since is refused even inside your limits. |
arc_balance | Wallet and Circle Gateway balances. |
arc_deposit | Moves wallet USDC into the Gateway balance. Needed once before the first payment. |
arc_ledger | Every attempt: quoted, rejected, signed, settled, failed. |
arc_proof | Matches settled payments to the on-chain transfer that carried them. |
arc_verify_receipt | Checks a signed receipt from another agent: who signed it, and whether the payment fitted the limits it states. |
arc_policy | Shows the limits in force. |
arc_job_* | ERC-8183 escrow jobs. Testnet only until the contract is deployed on Arc mainnet. |
cra-agent think " " runs a small autonomous agent whose brain is a pay-per-call LLM on Arc: BlockRun's chat completions, found in the bazaar, Claude Haiku 4.5 by default. Every thought is a paid call, and so is every tool the brain asks for: it searches the bazaar for free, then buys what it needs at the listed price. There is no API key anywhere, only the agent's wallet. The session budget (--budget, default $0.10) and the spending policy cover thinking and tools alike, a thought is capped with --ceiling (default $0.01), and the brain can only buy a URL that one of its searches returned. It prints each step with its cost and ends with the bill: so much for thinking, so much for tools. A short task costs a few cents: the run on cra-agent.tech/think that found when Arc mainnet went live and who validates it cost $0.023648, four thoughts and one web search from Exa.
It also knows a few free public APIs, called without paying and shown as such: DexScreener's pairs, boosted tokens and new token profiles, digested to what answers questions (pairs by 24-hour volume). --tools keeps it to a list of URL prefixes: anything else is never shown to it, so never bought.
With --record and a DATABASE_URL, the run is kept in Postgres as it happens, step by step, which is how the page shows it live and replays it after. --questions picks the question when none is given, which is how our server runs it on a timer: the file combines templates (What is the price of {coin} right now?) with lists (@coin = bitcoin (BTC) | ether (ETH)), and a recorded run never repeats one of the last hundred questions.
The same agent can be hired by anyone, over x402 upto: GET https://api.cra-agent.tech/v1/upto/think?task=… asks you to sign for up to $0.10 and charges what the run spent plus $0.005. arc_pay and cra-agent pay pay routes like this one: your policy is checked against the ceiling, since all of it could be taken, and your ledger keeps what was. The default policy allows $0.05 a payment, so give this one more with per_payment=0.10.
Paying on Arc takes USDC in Circle Gateway on Arc, and most agents hold theirs on Base or Solana. One command brings it over and deposits it:
cra-agent fund 5 --from base # from this agent's own wallet on Base, same key and address
cra-agent fund 5 --from solana --solana-key-file ~/sol.json # from a Solana wallet: our hex seed or solana-keygen's JSON cra-agent fund 5 --from base --dry-run # everything checked, nothing signed
It asks Eco for a route, and checks the quote before signing anything, from the transaction's own calldata: a CCTP burn of exactly that amount to Arc's domain, minting to this agent, a fee under the cap (--max-fee, default 0.5% or $0.01), the refund to the same wallet. From Base, the vault the USDC goes into must be the one Eco's Portal derives for that intent. It then waits for the USDC on Arc, usually seconds, and deposits it into Gateway, leaving $0.01 in the wallet for Arc's gas (--keep, or --no-deposit to keep it all in the wallet). From Base the wallet needs a little ETH for two transactions, about a cent; from Solana, a little SOL. The model has no tool for this: moving money between chains is the owner's call, from a terminal.
cra-agent find bitcoin price # what is for sale on Arc; needs no key (in a browser: cra-agent.tech/bazaar)
cra-agent balance cra-agent quote https://api.cra-agent.tech/v1/paid/rpc/health cra-agent quote https://api.exa.ai/search --body '{"query":"x402 on Arc"}' # the price of a POST, with its body cra-agent fund 5 --from base # USDC from Base to this agent on Arc, into Gateway cra-agent deposit 1 cra-agent withdraw 1 # Gateway balance back to the wallet; how a seller collects cra-agent pay https://api.cra-agent.tech/v1/paid/rpc/health cra-agent pay https://api.exa.ai/search 0.007 --body '{"query":"x402 on Arc"}' # a POST, refused above the listed price cra-agent think "What is x402, in two sentences?" --budget 0.10 # an agent that pays for its own thinking cra-agent proof cra-agent verify receipt.json # needs no key and no network cra-agent pq-key ~/.cra-agent/pq.key # a post-quantum key for receipts; prints only its public half cra-agent verify receipt.json --require-pq --on-arc # the second signature too, and Arc's own verdict on it
Every receipt carries the limits the payment passed under and is signed with the agent's key, so someone who was not there can check it. The signature proves the agent issued the statement and nobody changed it; the settlement on chain is the independent half.
| Variable | Meaning | |
|---|---|---|
CRA_NETWORK | arc (mainnet) or arcTestnet. Default arcTestnet. | |
CRA_KEY_FILE / CRA_PRIVATE_KEY | The agent's key. Prefer the file. | |
CRA_POLICY | `daily=5,per_seller=0.5,per_payment=0.05,rate=120/60s,allow=a.com\ | b.com,deny=c.com` |
CRA_RPC_URL | Optional, one or several separated by commas, in priority order. Tried before the public Arc endpoints. | |
CRA_RPC_STRICT | 1 to never fall back to a public endpoint. | |
CRA_BASE_RPC_URL / SOLANA_RPC_URL | Optional, for fund: the Base and Solana endpoints. Public ones by default. | |
DATABASE_URL | Optional Postgres for the ledger. Without it the ledger lives in memory. | |
CRA_PQ_KEY_FILE | Optional, the file cra-agent pq-key made. Every receipt is then signed a second time with SLH-DSA-SHA2-128s, the post-quantum scheme Arc verifies on chain. It covers the receipt, not the payment, and adds about a second to each one. |
Two things worth knowing. A payment is settled only after the seller's handler succeeds, so a failing endpoint costs nothing: https://api.cra-agent.tech/v1/paid/selftest/fail always answers 500 so you can check. And identity=required pays only sellers with an ERC-8004 identity on Arc: the address that gets paid must own an agent in the registry, or be the wallet an agent declared for payments. It proves an identity exists, not that the seller is honest; registering costs only gas.
Payments for AI agents on Arc, Circle's USDC-native L1. Site: cra-agent.tech · Source: github.com/giupy997/arcagentx402 · MIT