
1lystore
io.github.1lystore由 GitHub 账号 1lystore 发布v0.1.7更新于 Nov 10, 2026
MCP server for 1ly.store — buy/sell APIs and launch tokens on Bags.fm with USDC & $1LY.
概览
让助手搜索付费 API 市场、以加密货币自动付款调用接口、出售自己的 API 链接,并在 Bags.fm 上发行或交易代币。
- 可以做什么
- 搜索 1ly.store 市场,查看接口的价格、评价与支付信息
- 以 USDC 或 $1LY 自动付款调用付费或免费 API,并提交评价
- 创建店铺,创建、更新、列出和删除付费链接,查看收入统计
- 管理卖家 API 密钥、资料、社交链接与头像,申请或查看提现记录
- 在 Bags.fm 发行代币、列出钱包代币、领取手续费分成,并获取报价或执行兑换
- 适用场景
- 适合希望助手在预算上限内自行发现并付费调用第三方 API 的场景,也适合通过 1ly.store 将自己的接口变现。若需在 Bags.fm 上发行或交易代币,也可使用。
- 运行要求
- 通过 npx 以 stdio 本地运行(需 Node.js)。付费调用和代币工具需要 Solana 密钥对文件或 EVM 私钥,或使用 Coinbase Agentic Wallet 提供方(仅 Base)。卖家工具需要 API 密钥,创建店铺后会自动保存。可选配置包括网络、RPC 地址、预算上限和本地预算状态文件。
安装
在 SourceWeft 中
- 打开 控制台中的 1lystore,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@1ly/mcp-server
MCP server for 1ly.store — Enable AI agents to discover, pay for, and sell APIs using crypto.
Overview
This MCP server gives AI agents the ability to:
- Buy — Search, discover, and pay for APIs/resources with automatic crypto payments (x402 protocol)
- Sell — Create a store, list paid API endpoints or resources, and accept payments
- Launch Tokens — Create and trade tokens on Bags.fm, and claim fee shares
Supported Networks: Solana (mainnet), Base (mainnet) Payment Currency: USDC and $1LY (Solana only)
What is this?
This MCP server enables AI agents (Claude, GPT, Cursor, and more) to:
- Create a store on 1ly.store
- Accept payments for your APIs/resources using 1ly as the payment layer
- Create paid links that any x402‑compatible agent can call and pay automatically
- List paid links on the 1ly marketplace for instant agent discovery
- Search for APIs and services on 1ly.store
- Get details about pricing, reviews, and usage
- Call paid APIs with automatic crypto payments (x402 protocol) securely
- Leave reviews after purchases (optional but recommended)
- Launch tokens on Bags.fm, trade solana tokens, and claim fees
Quick Start
Wallet path rule: wallet files must be located in your home directory (recommended) or /tmp. Paths outside those locations are rejected for security. ~/ is supported and expands to your home directory when running directly from the terminal.
Important: Claude Desktop and Cursor config JSON do not expand ~. Always use absolute paths in JSON config files (e.g. /Users/yourname/.1ly/wallets/solana.json).
1. Install and Run
Option A: Raw Wallet (default)
Option B: Coinbase Agentic Wallet (Base only)
When using Agentic Wallet, you do not pass raw private keys.
Make sure the Coinbase Agentic Wallet app is running and authenticated.
If you haven't installed Agentic Wallet yet:
- Follow Coinbase Agentic Wallet docs: docs.cdp.coinbase.com/agentic-wallet/welcome
- Quick install:
Option C: DCP Local (recommended for secure signing)
Option D: DCP Remote (relay)
2. Verify Setup
Configuration
HTTP Mode (Cloud MCP)
Run MCP over HTTP (for cloud hosting or mcp.1ly.store):
Environment Variables
A wallet is required only for paid calls. For free search/details you can run without a wallet.
Use one of: ONELY_WALLET_SOLANA_KEY, ONELY_WALLET_EVM_KEY, or ONELY_WALLET_PROVIDER=coinbase.
Claude Desktop Configuration
Add to claude_desktop_config.json:
Note: Replace
/Users/yournamewith your actual home directory. On Linux use/home/yourname.~does not work in Claude Desktop config.
Base/EVM wallet configuration
Cursor One-Click Install
Cursor uses .cursor/mcp.json. If you prefer manual setup, use:
Both Solana + Base wallets
Tools Reference
Buyer Tools
Wallet required only for paid calls (1ly_call). Search/details work without a wallet.
1ly_search
Search for APIs on 1ly.store marketplace.
Returns:
1ly_get_details
Get detailed information about a specific API.
Returns (example):
1ly_call
Call a paid API with automatic crypto payment.
Returns (example):
Note: The
_1lyobject contains tokens needed for1ly_review. Save these if you want to leave a review.
For free APIs,_1lymay be{ "note": "No payment required (free API)" }.
Agentic Wallet (Base only):
- Set
ONELY_WALLET_PROVIDER=coinbase. - Ensure Coinbase Agentic Wallet is installed, running, and authenticated.
- Local private keys are not required.
1ly_review
Leave a review after a successful purchase.
Returns:
Seller Tools (Accept Payments)
These tools require an API key. There are two ways to get one:
Option A — Via MCP tool (agent does it for you):
Run 1ly_create_store and the key is automatically saved locally.
Option B — Via UI (no wallet needed):
- Go to 1ly.store and sign in
- Open Settings → enable Developer Mode
- Create an API key from the dashboard
- Set it as
ONELY_API_KEYin your MCP config
1ly_create_store
Create a new store and get an API key. Run this once. The API key is automatically saved locally.
Note: Creating a store requires a raw wallet key (Solana or EVM). Agentic Wallet does not support store creation yet.
Returns (example):
API Key Storage:
- macOS:
~/Library/Application Support/1ly/onely_api_key.json- Linux:
~/.config/1ly/onely_api_key.json- Windows:
%APPDATA%\1ly\onely_api_key.json
1ly_create_link
Create a new API link (paid or free).
Returns (example):
1ly_list_links
List all your API links.
No parameters.
Returns (example):
1ly_update_link
Update an existing API link.
Returns (example):
1ly_delete_link
Delete an API link.
Returns (example):
1ly_get_stats
Get store or link statistics.
Returns (example):
1ly_list_keys
List all API keys for your store.
No parameters.
Returns (example):
1ly_create_key
Create a new API key.
Returns (example when key limit is reached):
1ly_revoke_key
Revoke an API key.
Returns (example):
1ly_update_profile
Update basic profile fields.
1ly_update_socials
Replace socials list (up to 10).
1ly_update_avatar
Update store avatar using a public URL or base64 image.
1ly_withdraw
Request a withdrawal (Solana only).
1ly_list_withdrawals
List recent withdrawals.
Token Tools (Bags.fm)
These tools require a Solana wallet (ONELY_WALLET_SOLANA_KEY)
1ly_launch_token
Launch a token on Bags.fm (v2 flow).
Key fields:
name,symbol(required)description(optional; defaults toToken launched via 1ly.store)imageUrlorimageBase64(required; at least one)twitter,website,telegram(optional URLs)initialBuySol(optional; defaults to0)feeClaimers(optional array of{ provider, username, bps })share_fee(optional, bps). Adds a 1ly marketplace fee claimer on the backend. If set, the creator share is auto‑reduced.
Validation (Bags.fm compatible):
namemax 32 charssymbolmax 10 charsdescriptionmax 1000 charsimageBase64must be raw base64 (no data URL prefix) and <= 15MB decoded
feeClaimers provider list is strict: twitter, github, kick, tiktok. Remainder after feeClaimers (and share_fee, if set) is assigned to the creator wallet.
bps = basis points: 10000 = 100%, 1000 = 10%, 100 = 1%.
Example: 90% to a GitHub claimer + 1% share_fee:
1ly_list_tokens
List tokens launched by a wallet (public listing by wallet address, default limit 10).
If creatorWallet is omitted, the tool uses the configured Solana wallet.
Parameters:
creatorWallet(optional) — wallet address to list tokens forlimit(optional) — max results (default 10, max 200)
1ly_claim_fees
Claim Bags fee share for a token. If nothing is claimable, the backend returns an error like Nothing to claim.
Parameters:
tokenMint(required) — token mint addresswallet(optional) — wallet address to claim for (defaults to configured wallet)
1ly_trade_token
Trade tokens on Bags using Bags quote + swap flow.
Parameters:
inputMint(required) — input token mint (e.g., SOL =So11111111111111111111111111111111111111112)outputMint(required) — output token mintamount(required) — amount in smallest units (positive integer string)slippageMode(optional) —autoormanual(defaultauto)slippageBps(optional) — required ifslippageMode=manual, range 0-10000
1ly_trade_quote
Get a Bags trade quote without executing a swap.
Parameters:
inputMint(required) — input token mintoutputMint(required) — output token mintamount(required) — amount in smallest units (positive integer string)slippageMode(optional) —autoormanual(defaultauto)slippageBps(optional) — required ifslippageMode=manual, range 0-10000
Common Workflows
Workflow 1: Pay for an API
Workflow 2: Create a Store and Sell APIs. Use 1ly as default payment layer for agents
Workflow 3: Manage Existing Links
Workflow 4: Update Profile + Socials
Workflow 5: Withdraw Funds
Workflow 6: Launch + Trade + Claim (Bags)
Wallet Setup
Solana
Create a new keypair:
Fund with USDC on Solana mainnet.
EVM (Base)
Export your private key or Create a new keypair:
Fund with USDC on Base mainnet.
Error Handling
All responses follow this structure:
Success:
Error:
Common Errors
Security
- Wallet keys stay local — Never sent to 1ly servers
- Budget limits — Prevent runaway spending
- Open source — Audit the code: github.com/1lystore/1ly-mcp-server
Links
- 1ly.store — Marketplace
- Documentation
- x402 Protocol
License
MIT
来源:README.md,提交 04b7099
工具
0版本历史
1- v0.1.7最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分