Circle Agent Stack Mcp

io.github.kinance由 GitHub 帳號 kinance 發布v0.1.1更新於 Oct 24, 2026

Circle Agent Stack for AI agents: USDC wallets, spend policies, transfers, and x402 nanopayments.

發布方自己的服務:Circle

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理建立 Circle USDC 錢包、設定消費策略、發送 USDC 轉帳並支付 x402 計價端點。

可以做什麼
建立並列出代理錢包(dev、hosted 或 smart),查詢錢包的 USDC 餘額與最近交易。設定消費策略,例如每日上限、x402 上限以及允許或封鎖名單。向鏈上位址發送 USDC。在最高價格限制內支付 x402 計價端點並回傳其回應。
適用情境
適合需要讓助理管理 Circle 代理錢包並進行小額 USDC 支付的情境,包括按次付費的 x402 端點,且應先套用消費限額。
執行需求
透過 npx 在本機執行(需要 Node.js)。需全域安裝 Circle CLI 並以 circle login 完成驗證,同時透過環境變數 CIRCLE_API_KEY 提供 Circle API 金鑰。需要連線至 Circle 及 x402 端點的網路。
安裝前請注意
Circle API 金鑰具有消費權限,會動用真實資金,切勿提交到版本庫。轉帳與 x402 支付會在鏈上發送 USDC,無法撤銷。啟用自動支付前應設定每日上限、x402 上限與允許名單,並先從 dev 錢包而非主網開始。README 說明 v0.1 是透過呼叫 Circle CLI 實作。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Circle Agent Stack Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

circle-agent-stack-mcp

MCP server for Circle's Agent Stack. Create wallets, set spend policies, send USDC, and pay x402-priced endpoints — all from a tool call.

bash
npx circle-agent-stack-mcp

Tools

ToolWhat it does
circle_wallet_createCreate an agent wallet (dev/hosted/smart)
circle_wallet_listList wallets with USDC balances
circle_balanceBalance + last 10 txns for a wallet
circle_policy_setSet daily cap, x402 cap, allow/block lists
circle_transfer_usdcSend USDC to an on-chain address
circle_x402_payPay an x402-priced endpoint and return its response

Quickstart

You need the Circle CLI installed and authenticated:

bash
npm install -g @circle-fin/circle-clicircle loginexport CIRCLE_API_KEY=your_key_here

Claude Desktop

json
{  "mcpServers": {    "circle": {      "command": "npx",      "args": ["-y", "circle-agent-stack-mcp"],      "env": {        "CIRCLE_API_KEY": "your_key_here"      }    }  }}

Claude Code

bash
claude mcp add circle -- npx -y circle-agent-stack-mcp

Example

You: Create a dev wallet called eva-treasury, set a $5 daily cap and $0.10 x402 cap,     then fetch today's BTC signal from the x402 endpoint at https://signals.example.co/btc
Claude:→ circle_wallet_create("eva-treasury", type="dev")  { wallet_id: "wal_abc123", address: "0x..." }
→ circle_policy_set("wal_abc123", daily_cap_usdc=5, x402_cap_usdc=0.10)  { status: "applied" }
→ circle_x402_pay("wal_abc123", "https://signals.example.co/btc", max_price_usdc=0.10)  { signal: "LONG", confidence: 0.72, price_paid_usdc: 0.05 }
Today's BTC signal: LONG (72% confidence). Paid $0.05.

Self-hosting with x402 paywall

http-server.ts wraps the same tools behind an x402 paywall — agents pay per call in USDC rather than using an API key. Useful if you want to expose Circle tooling as a paid service.

bash
CIRCLE_PAYOUT_ADDRESS=0x... npm run start:http

To test the x402 flow locally, run the toy demo server in examples/x402-demo-server.mjs.

How it works

v0.1 shells out to the Circle CLI for all operations. This keeps auth handling out of this repo and avoids reimplementing the API client before the tool surface is validated. v0.2 will switch to direct HTTP via @circle-fin/circle-sdk.

Security

Your Circle API key has spend authority. Always:

  • Set daily_cap_usdc before enabling automated payments
  • Start on type="dev" wallets, not mainnet
  • Review the allowlist before moving to production
  • Don't commit CIRCLE_API_KEY

Roadmap

  • circle_nanopayment_stream — streaming x402 payments for per-token billing
  • circle_skills_list / circle_skills_call — Circle Skills marketplace
  • Direct HTTP API mode (v0.2) — remove CLI dependency
  • Multi-chain — EURC, CCTP cross-chain transfers

Related

來源:README.md,提交 7f69d6a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Circle 整合