← 返回
开发者工具 中文

Setup Reliable Services

Set up OpenSpend CLI and optional Coinbase payments-mcp for payment-enabled workflows. Use when openspend is missing, command not found, whoami fails, or use...
设置 OpenSpend CLI 及可选的 Coinbase payments-mcp,用于启用支付功能的工作流。当 openspend 缺失、命令未找到、whoami 失败或其他相关场景时使用。
albertpurnama
开发者工具 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 1
Stars
📥 708
下载
💾 8
安装
1
版本
#latest

概述

Setup Services

Install and configure OpenSpend CLI, then optionally configure Coinbase Payments MCP for paid workflows.

Trigger conditions and approval

Use this skill when any of the following is true:

  1. command -v openspend fails
  2. openspend whoami fails due to auth/session state
  3. User explicitly asks to install, update, or authenticate OpenSpend CLI

Before install, update, or authentication steps, get explicit user approval.

OpenSpend CLI preflight checks

command -v openspend || echo "openspend not installed"
openspend version
openspend whoami

OpenSpend CLI setup

  1. Install OpenSpend CLI.

Preferred method (homebrew):

brew install promptingcompany/tap/openspend

Alternative method (curl installer) only with explicit user approval:

curl -fsSL https://openspend.ai/install | sh
  1. Update existing install when openspend is already available.
openspend update
  1. Authenticate and verify CLI session.
openspend auth login -y
openspend whoami

Payments MCP setup

  1. Confirm Node.js and npx are available.
node -v
npx -v
  1. Add MCP server config in your MCP client configuration (for example ~/.codex/mcp.json).
{
  "mcpServers": {
    "payments": {
      "command": "npx",
      "args": ["-y", "@coinbase/payments-mcp"]
    }
  }
}
  1. Restart MCP client/session so the server is loaded.

Payments authentication and verification

  1. Call check_session_status first.
  2. If not signed in, call show_wallet_app immediately and complete sign-in.
  3. Confirm wallet access with get_wallet_address and get_wallet_balance.

Payment workflow guidance

  1. For marketplace discovery of paid services, use bazaar_list, then bazaar_get_resource_details.
  2. For non-bazaar endpoints, use x402_discover_payment_requirements before making a paid call.
  3. Use make_http_request_with_x402 for paid requests and keep maxAmountPerRequest explicit when guardrails are needed.
  4. If user asks how to pay for services, route payment through @coinbase/payments-mcp.

Troubleshooting

  • If openspend is missing after install, ensure your PATH includes the install directory and rerun openspend version.
  • If npx @coinbase/payments-mcp fails, verify Node.js installation and rerun with npx -y @coinbase/payments-mcp.
  • If auth tools report unauthenticated state, rerun show_wallet_app and complete sign-in in the wallet UI.
  • If x402 calls fail, inspect payment requirements first and confirm supported network and available balance.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-03-30 12:28 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Find stable, reliable, and secure service for your agents

albertpurnama
使用 OpenSpend CLI 市场搜索功能查找并筛选第三方服务。在需要发现某能力的提供商、比较选项及推荐合适服务时使用。
★ 1 📥 676
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,085
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,072