Agent-native payments via 1ly MCP. Use when the user needs x402 payment handling, to accept USDC for APIs/services, to pay for paid APIs, to create stores or...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install 1ly-payments或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install 1ly-payments⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/1ly-payments/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: 1ly-payments description: Agent-native payments via 1ly MCP. Use when the user needs x402 payment handling, to accept USDC for APIs/services, to pay for paid APIs, to create stores or paid links, need payment gateway for agents or to run agent-to-agent paid workflows. Supports Solana and Base. Capabilities include accepting USDC, marketplace search, paid API calls with auto-payment, store/link creation, stats, key management, and token launch, trade and fee-claim on Bags.fm. metadata: {"openclaw":{"always":false,"emoji":"💸","homepage":"https://1ly.store","requires":{"bins":["mcporter","npx"],"env":[]},"install":[{"id":"mcporter","kind":"node","package":"mcporter","bins":["mcporter"],"label":"Install mcporter"}],"configPaths":["~/Library/Application Support/1ly/onely_api_key.json","~/.config/1ly/onely_api_key.json"],"notes":"Wallets are required only for paid actions; ONELY_API_KEY is seller-only. Prefer Coinbase Agentic Wallet for Base (EVM) operations."}} ---
This MCP server gives AI agents the ability to:
Supported Networks: Solana (mainnet), Base (mainnet) Payment Currency: USDC
ONELY_BUDGET_PER_CALL, ONELY_BUDGET_DAILY).1.00 per call, 50.00 daily). Always override them explicitly (or set ONELY_BUDGET_PER_CALL=0 to disable auto-spend).1) Install mcporter and add 1ly MCP server:
npm install -g mcporter
mcporter config add 1ly --command "npx @1ly/[email protected]"
Verify package integrity: npm view @1ly/mcp-server dist.integrity
2) Export wallet and budget env vars (only required for paid actions).
- ONELY_WALLET_SOLANA_KEY=/path/to/solana-wallet.json (keypair JSON or inline array) - Generate a keypair: solana-keygen new --outfile ~/.1ly/wallets/solana.json - Wallet files must be in the user home directory or /tmp. Paths outside are rejected for security. - If the agent is sandboxed and cannot read files, use inline format: ONELY_WALLET_SOLANA_KEY='[12,34,56,...]'
- Preferred: Coinbase Agentic Wallet: ONELY_WALLET_PROVIDER=coinbase - Or raw key: ONELY_WALLET_EVM_KEY=/path/to/evm.key (private key file or inline hex) - Wallet files must be in the user home directory or /tmp. Paths outside are rejected for security. - Inline hex is supported: ONELY_WALLET_EVM_KEY='0x...'
ONELY_BUDGET_PER_CALL, ONELY_BUDGET_DAILYONELY_BUDGET_STATE_FILE, ONELY_NETWORK, ONELY_SOLANA_RPC_URL, ONELY_API_BASEONELY_API_KEY (auto-saved after 1ly_create_store)3) Verify setup:
mcporter list 1ly
| Variable | Required? | Description | |----------|----------|-------------| | ONELY_WALLET_SOLANA_KEY | No (conditional) | Path to Solana keypair JSON file, or inline JSON array | | ONELY_WALLET_EVM_KEY | No (conditional) | Path to EVM private key file, or inline hex key (with or without 0x) | | ONELY_API_KEY | No (conditional) | API key for seller tools. Auto-loaded after 1ly_create_store | | ONELY_BUDGET_PER_CALL | No (conditional) | Max USD per API call (default: 1.00) | | ONELY_BUDGET_DAILY | No (conditional) | Daily USD spending limit (default: 50.00) | | ONELY_BUDGET_STATE_FILE | No | Path to local budget state file (default: ~/.1ly-mcp-budget.json) | | ONELY_NETWORK | No | Preferred network: solana or base (default: solana) | | ONELY_SOLANA_RPC_URL | No | Solana RPC URL (default: https://api.mainnet-beta.solana.com) | | ONELY_API_BASE | No | API base URL (default: https://1ly.store) | | ONELY_WALLET_PROVIDER | No (conditional) | raw (default) or coinbase (Agentic Wallet, Base-only) |
A wallet is required only for paid actions. Use one of: ONELY_WALLET_SOLANA_KEY, ONELY_WALLET_EVM_KEY, or ONELY_WALLET_PROVIDER=coinbase.
Buyer tools (spend):
1ly_search: find paid APIs/services on 1ly.store1ly_get_details: fetch price and payment info for a specific link1ly_call: pay and call a paid API (x402 handled by server)1ly_review: leave a review after a successful purchaseSeller tools (accept):
1ly_create_store: create a store and save API key locally1ly_create_link: create a paid or free link for an API/service1ly_list_links: list existing links1ly_update_link: update price/URL/visibility1ly_delete_link: delete a link1ly_get_stats: view store or link stats1ly_list_keys: list API keys1ly_create_key: create a new API key1ly_revoke_key: revoke an API key1ly_withdraw: request a withdrawal1ly_list_withdrawals: list recent withdrawals1ly_update_profile: update store profile1ly_update_socials: update store socials1ly_update_avatar: update store avatarToken tools (Bags.fm, Solana):
1ly_launch_token: launch a token on Bags.fm1ly_list_tokens: list tokens launched by a wallet1ly_trade_quote: get a trade quote1ly_trade_token: trade tokens using the quote+swap flow1ly_claim_fees: claim Bags fee share for a token - Requires Solana wallet and a reliable RPC. Recommended: set ONELY_SOLANA_RPC_URL to your own provider. Default is Solana public mainnet RPC.
1ly_search, 1ly_get_details1ly_call (Solana or Base wallet required)ONELY_API_KEYONELY_WALLET_SOLANA_KEY and recommended ONELY_SOLANA_RPC_URLUse mcporter list 1ly --schema if tool names or parameters differ.
1ly_search: { "query": "...", "limit": 5 }1ly_get_details: { "endpoint": "seller/slug" }1ly_call: { "endpoint": "seller/slug", "method": "GET", "body": {...} }1ly_create_store: { "username": "...", "displayName": "..." }1ly_create_link: { "title": "...", "url": "https://...", "price": "1.00", "currency": "USDC", "isPublic": true }1ly_withdraw: { "amount": "1.25", "walletAddress": "..." }1ly_update_profile: { "username": "...", "displayName": "...", "bio": "..." }1ly_update_socials: { "socials": { "twitter": "...", "website": "..." } }1ly_update_avatar: { "avatarUrl": "https://..." } or { "imageBase64": "...", "mimeType": "image/png", "filename": "avatar.png" }1ly_launch_token: { "name": "GOLDEN", "symbol": "GOLDEN", "imageUrl": "https://...", "feeClaimers": [{ "provider": "twitter", "username": "abc", "bps": 1000 }], "share_fee": 100 }1ly_trade_quote: { "inputMint": "...", "outputMint": "...", "amount": "1000000", "slippageMode": "auto" }1ly_trade_token: { "inputMint": "...", "outputMint": "...", "amount": "1000000", "slippageMode": "auto" }1) Create a store once via 1ly_create_store (this saves ONELY_API_KEY). 2) Create or share a paid link via 1ly_create_link. 3) Share the link; the buyer's call handles payment and access automatically via x402. 4) Deliver results as part of the paid endpoint response (no manual confirmation needed).
...
安装 1ly Payments 后,可以对 AI 说这些话来触发它
Help me get started with 1ly Payments
Explains what 1ly Payments does, walks through the setup, and runs a quick demo based on your current project
Use 1ly Payments to agent-native payments via 1ly MCP
Invokes 1ly Payments with the right parameters and returns the result directly in the conversation
What can I do with 1ly Payments in my developer & devops workflow?
Lists the top use cases for 1ly Payments, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/1ly-payments/ 目录(个人级,所有项目可用),或 .claude/skills/1ly-payments/(项目级)。重启 AI 客户端后,用 /1ly-payments 主动调用,或让 AI 根据上下文自动发现并使用。
1ly Payments 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
1ly Payments 可免费安装使用。请查阅仓库了解许可证信息。
Agent-native payments via 1ly MCP. Use when the user needs x402 payment handling, to accept USDC for APIs/services, to pay for paid APIs, to create stores or...
1ly Payments 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using 1ly Payments
Identifies repetitive steps in your workflow and sets up 1ly Payments to handle them automatically