
1lystore
io.github.1lystorePublished by GitHub account 1lystorev0.1.7Updated Nov 10, 2026
MCP server for 1ly.store — buy/sell APIs and launch tokens on Bags.fm with USDC & $1LY.
Overview
Lets an assistant search a marketplace of paid APIs, call them with automatic crypto payments, sell its own API links, and launch or trade tokens.
- What you can do
- Search the 1ly.store marketplace and read pricing, reviews and payment details for an endpoint
- Call paid or free APIs with automatic USDC or $1LY payment, then leave a review
- Create a store, create, update, list and delete paid links, and view revenue stats
- Manage seller API keys, profile, socials and avatar, and request or list withdrawals
- Launch tokens on Bags.fm, list a wallet's tokens, claim fee shares, and get quotes or execute swaps
- When to use it
- Use it when an agent should discover and pay for third-party APIs on its own within spending limits, or when you want to monetize your own endpoints through 1ly.store. It is also relevant if you launch or trade tokens on Bags.fm from an assistant.
- Requirements
- Runs locally via npx as a stdio process (Node.js). A Solana keypair file or EVM private key is needed for paid calls and token tools, or the Coinbase Agentic Wallet provider for Base. Seller tools need an API key, auto-saved after creating a store. Optional settings cover network choice, RPC URL, budget limits and a local budget state file.
Installation
In SourceWeft
- Open 1lystore in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: README.md at commit 04b7099
Tools
0Version history
1- v0.1.7LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts