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 集成