
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 分