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.

概覽

AI 產生的概覽

讓助理搜尋付費 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 位址、預算上限與本機預算狀態檔。
安裝前請注意
涉及真實資金:付費呼叫會從已入金的錢包扣除 USDC,代幣發行、交易與領取工具會在主網上轉移資產。私鑰透過 ONELY_WALLET_SOLANA_KEY 或 ONELY_WALLET_EVM_KEY 提供,建議使用專用的低餘額錢包。賣家工具會建立、修改與刪除連結並撤銷金鑰,提領會把資金送到指定地址。請維持單次與每日預算上限。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 1lystore,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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)
bash
# Solana walletONELY_WALLET_SOLANA_KEY="~/.1ly/wallets/solana.json" npx @1ly/mcp-server
# OR Base/EVM walletONELY_WALLET_EVM_KEY="~/.1ly/wallets/evm.key" npx @1ly/mcp-server
# OR both walletsONELY_WALLET_SOLANA_KEY="~/.1ly/wallets/solana.json" \ONELY_WALLET_EVM_KEY="~/.1ly/wallets/evm.key" \npx @1ly/mcp-server
Option B: Coinbase Agentic Wallet (Base only)
bash
ONELY_WALLET_PROVIDER="coinbase" npx @1ly/mcp-server

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:

bash
npx skills add coinbase/agentic-wallet-skillsnpx awal show
Option C: DCP Local (recommended for secure signing)
bash
# Start DCP locallydcp initnpx @dcprotocol/server
# Run MCP (auto-detects DCP at localhost:8420)npx @1ly/mcp-server
Option D: DCP Remote (relay)
bash
# Pairing outputs these valuesDCP_VAULT_ID="vault_..." \DCP_RELAY_URL="wss://relay.dcp.1ly.store" \DCP_VAULT_HPKE_PUBLIC_KEY="base64..." \npx @1ly/mcp-server

2. Verify Setup

bash
ONELY_WALLET_SOLANA_KEY="~/.1ly/wallets/solana.json" npx @1ly/mcp-server --self-test

Configuration

HTTP Mode (Cloud MCP)

Run MCP over HTTP (for cloud hosting or mcp.1ly.store):

bash
# HTTP transportMCP_TRANSPORT=http npx @1ly/mcp-server
# Custom host/portMCP_TRANSPORT=http MCP_HTTP_HOST=0.0.0.0 MCP_HTTP_PORT=3000 npx @1ly/mcp-server

Environment Variables

VariableRequiredDescription
ONELY_WALLET_SOLANA_KEYNoPath to Solana keypair JSON file, or inline JSON array
ONELY_WALLET_EVM_KEYNoPath to EVM private key file, or inline hex key (with or without 0x)
ONELY_API_KEYNoAPI key for seller tools. Auto-loaded after 1ly_create_store
ONELY_BUDGET_PER_CALLNoMax USD per API call (default: 1.00)
ONELY_BUDGET_DAILYNoDaily USD spending limit (default: 50.00)
ONELY_BUDGET_STATE_FILENoPath to local budget state file (default: ~/.1ly-mcp-budget.json)
ONELY_NETWORKNoPreferred network: solana or base (default: solana)
ONELY_SOLANA_RPC_URLNoSolana RPC URL (default: https://api.mainnet-beta.solana.com)
ONELY_API_BASENoAPI base URL (default: https://1ly.store)
ONELY_WALLET_PROVIDERNoraw (default) or coinbase (Agentic Wallet, Base-only)
ONELY_SOLANA_DRY_RUNNoSet to 1 to simulate Solana transactions without broadcasting. No real payments. For testing only.
MCP_TRANSPORTNohttp to run HTTP MCP server (default: stdio)
MCP_HTTP_HOSTNoHost for HTTP MCP server (default: 0.0.0.0)
MCP_HTTP_PORTNoPort for HTTP MCP server (default: 3000)
DCP_VAULT_IDNoVault ID for DCP relay (remote mode)
DCP_RELAY_URLNoRelay URL (e.g., wss://relay.dcp.1ly.store)
DCP_RELAY_TOKENNoPairing token for relay (if required)
DCP_VAULT_HPKE_PUBLIC_KEYNoBase64 HPKE public key for the vault (remote mode)
DCP_RELAY_PLAINTEXTNoSet to 1 to disable HPKE (dev only)

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:

json
{  "mcpServers": {    "1ly": {      "command": "npx",      "args": ["@1ly/mcp-server"],      "env": {        "ONELY_WALLET_SOLANA_KEY": "/Users/yourname/.1ly/wallets/solana.json",        "ONELY_BUDGET_PER_CALL": "1.00",        "ONELY_BUDGET_DAILY": "50.00"      }    }  }}

Note: Replace /Users/yourname with your actual home directory. On Linux use /home/yourname. ~ does not work in Claude Desktop config.

Base/EVM wallet configuration
json
{  "mcpServers": {    "1ly": {      "command": "npx",      "args": ["@1ly/mcp-server"],      "env": {        "ONELY_WALLET_EVM_KEY": "/Users/yourname/.1ly/wallets/evm.key",        "ONELY_BUDGET_PER_CALL": "1.00",        "ONELY_BUDGET_DAILY": "50.00"      }    }  }}

Cursor One-Click Install

[Install MCP Server]

Cursor uses .cursor/mcp.json. If you prefer manual setup, use:

json
{  "mcpServers": {    "1ly": {      "command": "npx",      "args": ["@1ly/mcp-server"],      "env": {        "ONELY_WALLET_SOLANA_KEY": "/absolute/path/to/solana.json",        "ONELY_BUDGET_PER_CALL": "1.00",        "ONELY_BUDGET_DAILY": "50.00"      }    }  }}
Both Solana + Base wallets
json
{  "mcpServers": {    "1ly": {      "command": "npx",      "args": ["@1ly/mcp-server"],      "env": {        "ONELY_WALLET_SOLANA_KEY": "~/.1ly/wallets/solana.json",        "ONELY_WALLET_EVM_KEY": "~/.1ly/wallets/evm.key",        "ONELY_BUDGET_PER_CALL": "1.00",        "ONELY_BUDGET_DAILY": "50.00"      }    }  }}

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.

ParameterTypeRequiredDescription
querystringYesSearch term (e.g., "weather api")
typestringNoFilter: "api" or "standard"
maxPricenumberNoMaximum price in USD
minPricenumberNoMinimum price in USD
limitnumberNoResults to return (default: 10, max: 50)
json
{  "query": "weather api",  "type": "api",  "maxPrice": 0.10}

Returns:

json
{  "ok": true,  "data": {    "results": [      {        "title": "Real-time Weather",        "endpoint": "/api/link/joe/weather",        "price": "$0.010000000000000000 USDC",        "type": "api",        "seller": "Joe's APIs",        "stats": { "buyers": 150, "rating": "95%" }      }    ],    "total": 42,    "showing": 10  }}

1ly_get_details

Get detailed information about a specific API.

ParameterTypeRequiredDescription
endpointstringYesAPI endpoint (e.g., "joe/weather")
json
{  "endpoint": "joe/weather"}

Returns (example):

json
{  "ok": true,  "data": {    "endpoint": "/api/link/joe/weather",    "fullUrl": "https://1ly.store/api/link/joe/weather",    "link": {      "title": "Real-time Weather",      "description": "Global weather data",      "slug": "weather",      "price": "0.010000000000000000",      "currency": "USDC"    },    "paymentInfo": { "networks": ["solana", "base"] },    "reviews": {      "stats": { "total": 50, "positive": 48 },      "recent": [{ "positive": true, "comment": "Fast!" }]    }  }}

1ly_call

Call a paid API with automatic crypto payment.

ParameterTypeRequiredDescription
endpointstringYesAPI endpoint (e.g., "joe/weather")
methodstringNoHTTP method: GET, POST, PUT, DELETE, PATCH (default: GET)
bodyobjectNoRequest body for POST/PUT/PATCH
headersobjectNoAdditional headers
json
{  "endpoint": "joe/weather",  "method": "POST",  "body": { "city": "NYC" }}

Returns (example):

json
{  "ok": true,  "data": {    "data": {      "temp": 72,      "conditions": "sunny"    },    "_1ly": {      "purchaseId": "abc123",      "txHash": "tx_hash_here",      "reviewUrl": "https://1ly.store/api/review/abc123",      "reviewToken": "xyz789"    }  }}

Note: The _1ly object contains tokens needed for 1ly_review. Save these if you want to leave a review.
For free APIs, _1ly may 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.

ParameterTypeRequiredDescription
purchaseIdstringYesFrom _1ly.purchaseId in 1ly_call response
reviewTokenstringYesFrom _1ly.reviewToken in 1ly_call response
positivebooleanYestrue for positive, false for negative
commentstringNoReview comment (max 500 chars)
json
{  "purchaseId": "abc123",  "reviewToken": "xyz789",  "positive": true,  "comment": "Fast and accurate!"}

Returns:

json
{  "ok": true,  "data": {    "success": true,    "reviewId": "rev_456",    "message": "Positive review submitted!"  }}

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):

  1. Go to 1ly.store and sign in
  2. Open Settings → enable Developer Mode
  3. Create an API key from the dashboard
  4. Set it as ONELY_API_KEY in 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.

ParameterTypeRequiredDescription
usernamestringNoStore username (3-20 chars, auto-generated if omitted)
displayNamestringNoDisplay name (max 50 chars)
avatarUrlstringNoAvatar URL
json
{  "username": "myagent",  "displayName": "My Agent Store"}

Returns (example):

json
{  "ok": true,  "data": {    "success": true,    "data": {      "store": {        "username": "myagent",        "displayName": "My Agent Store",        "storeUrl": "https://1ly.store/myagent",        "createdBy": "agent",        "avatarUrl": null      },      "apiKey": "1ly_live_...",      "apiKeyPrefix": "1ly_live_..."    },    "meta": {      "savedKeyPath": "~/Library/Application Support/1ly/onely_api_key.json"    }  }}

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).

ParameterTypeRequiredDescription
titlestringYesLink title (max 200 chars)
urlstringYesTarget URL (your API endpoint)
pricestringNoPrice in USD (e.g., "0.10"). Omit for free
descriptionstringNoDescription (max 500 chars)
slugstringNoCustom slug (3-64 chars, lowercase, hyphens allowed)
currencystringNoAlways "USDC"
isPublicbooleanNoList publicly (default: true)
isStealthbooleanNoHide from search (default: false)
webhookUrlstringNoOptional webhook URL for purchase events
json
{  "title": "Premium Weather API",  "url": "https://api.example.com/weather",  "price": "0.05",  "description": "Real-time weather data",  "webhookUrl": "https://example.com/webhooks/1ly"}

Returns (example):

json
{  "ok": true,  "data": {    "success": true,    "data": {      "id": "uuid-here",      "slug": "premium-weather-api",      "fullUrl": "https://1ly.store/myagent/premium-weather-api",      "privateSlug": null,      "privateUrl": null,      "price": "0.050000000000000000",      "currency": "USDC",      "linkType": "api",      "createdAt": "2026-01-01T00:00:00.000Z"    }  }}

1ly_list_links

List all your API links.

No parameters.

json
{}

Returns (example):

json
{  "ok": true,  "data": {    "success": true,    "data": {      "links": [        {          "id": "uuid-here",          "url": "https://api.example.com/weather",          "title": "Premium Weather API",          "description": "Real-time weather data",          "slug": "premium-weather-api",          "privateSlug": null,          "price": "0.050000000000000000",          "currency": "USDC",          "isPaid": true,          "isPublic": true,          "isActive": true,          "linkType": "api",          "isStealth": false,          "createdAt": "2026-01-01T00:00:00.000Z",          "updatedAt": "2026-01-01T00:00:00.000Z"        }      ]    }  }}

1ly_update_link

Update an existing API link.

ParameterTypeRequiredDescription
idstring (UUID)YesLink ID
titlestringNoNew title
urlstringNoNew target URL
pricestringNoNew price
descriptionstringNoNew description
slugstringNoNew slug
isPublicbooleanNoUpdate visibility
isStealthbooleanNoUpdate stealth mode
webhookUrlstringNoUpdate webhook URL (set to null to clear)
json
{  "id": "uuid-here",  "price": "0.10"}

Returns (example):

json
{  "ok": true,  "data": {    "success": true,    "data": {      "id": "uuid-here",      "profileId": "profile-id",      "url": "https://api.example.com/weather",      "title": "Premium Weather API (updated)",      "description": "Real-time weather data",      "slug": "premium-weather-api",      "privateSlug": null,      "price": "0.100000000000000000",      "currency": "USDC",      "isPaid": true,      "isPublic": true,      "isActive": true,      "linkType": "api",      "isStealth": false,      "displayOrder": 1,      "createdAt": "2026-01-01T00:00:00.000Z",      "updatedAt": "2026-01-01T00:00:00.000Z"    }  }}

1ly_delete_link

Delete an API link.

ParameterTypeRequiredDescription
idstring (UUID)YesLink ID to delete
json
{  "id": "uuid-here"}

Returns (example):

json
{  "ok": true,  "data": {    "success": true  }}

1ly_get_stats

Get store or link statistics.

ParameterTypeRequiredDescription
periodstringNoTime period: "7d", "30d", "90d", "all"
linkIdstring (UUID)NoSpecific link ID (omit for store-wide stats)
json
{  "period": "30d"}

Returns (example):

json
{  "ok": true,  "data": {    "success": true,    "data": {      "period": "30d",      "views": 0,      "buyers": 9,      "revenue": "0.081000000000000009"    }  }}

1ly_list_keys

List all API keys for your store.

No parameters.

Returns (example):

json
{  "ok": true,  "data": {    "success": true,    "data": {      "keys": [        {          "id": "uuid-here",          "name": "Agent Key",          "keyPrefix": "1ly_live_...",          "isActive": true,          "lastUsedAt": "2026-01-01T00:00:00.000Z",          "createdAt": "2026-01-01T00:00:00.000Z"        }      ]    }  }}

1ly_create_key

Create a new API key.

ParameterTypeRequiredDescription
namestringNoKey name (max 64 chars)
json
{  "name": "production-key"}

Returns (example when key limit is reached):

json
{  "ok": false,  "error": {    "message": "Create key failed | status=400 | ... | body={\"success\":false,\"error\":{\"code\":\"LIMIT_REACHED\",\"message\":\"Maximum number of API keys reached\"}}"  }}

1ly_revoke_key

Revoke an API key.

ParameterTypeRequiredDescription
idstring (UUID)YesKey ID to revoke
json
{  "id": "uuid-here"}

Returns (example):

json
{  "ok": true,  "data": {    "success": true,    "data": {      "id": "uuid-here",      "revoked": true    }  }}

1ly_update_profile

Update basic profile fields.

ParameterTypeRequiredDescription
usernamestringNoNew username (lowercase + underscores)
displayNamestringNoPublic display name
biostringNoShort bio (max 160 chars)
json
{  "displayName": "My Store",  "bio": "We build paid APIs for agents."}

1ly_update_socials

Replace socials list (up to 10).

ParameterTypeRequiredDescription
socialsarrayYesSocial links
json
{  "socials": [    { "type": "x", "url": "https://x.com/1ly_store", "displayOrder": 0, "isVisible": true },    { "type": "website", "url": "https://1ly.store", "displayOrder": 1 }  ]}

1ly_update_avatar

Update store avatar using a public URL or base64 image.

ParameterTypeRequiredDescription
avatarUrlstringNoPublic image URL
imageBase64stringNoBase64-encoded image (max 5MB decoded)
mimeTypestringNoimage/png, image/jpeg, image/webp, image/gif
filenamestringNoOptional filename
json
{  "avatarUrl": "https://example.com/avatar.png"}

1ly_withdraw

Request a withdrawal (Solana only).

ParameterTypeRequiredDescription
amountstringYesAmount in USDC (min 0.1)
walletAddressstringYesSolana wallet address
json
{  "amount": "1.25",  "walletAddress": "7GmjjDitbCwW77dZmJko3pBDWhEh12soGNLR7zwAkf6M"}

1ly_list_withdrawals

List recent withdrawals.

ParameterTypeRequiredDescription
limitnumberNoMax items (default 25, max 100)
cursorstringNoPagination cursor
json
{  "limit": 10}

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 to Token launched via 1ly.store)
  • imageUrl or imageBase64 (required; at least one)
  • twitter, website, telegram (optional URLs)
  • initialBuySol (optional; defaults to 0)
  • 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):

  • name max 32 chars
  • symbol max 10 chars
  • description max 1000 chars
  • imageBase64 must 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:

json
{  "feeClaimers": [{ "provider": "github", "username": "abc", "bps": 9000 }],  "share_fee": 100}
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 for
  • limit (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 address
  • wallet (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 mint
  • amount (required) — amount in smallest units (positive integer string)
  • slippageMode (optional) — auto or manual (default auto)
  • slippageBps (optional) — required if slippageMode=manual, range 0-10000
1ly_trade_quote

Get a Bags trade quote without executing a swap.

Parameters:

  • inputMint (required) — input token mint
  • outputMint (required) — output token mint
  • amount (required) — amount in smallest units (positive integer string)
  • slippageMode (optional) — auto or manual (default auto)
  • slippageBps (optional) — required if slippageMode=manual, range 0-10000

Common Workflows

Workflow 1: Pay for an API

1. 1ly_search({ "query": "weather api" })2. 1ly_get_details({ "endpoint": "joe/weather" })3. 1ly_call({ "endpoint": "joe/weather", "body": { "city": "NYC" } })4. 1ly_review({ "purchaseId": "...", "reviewToken": "...", "positive": true })

Workflow 2: Create a Store and Sell APIs. Use 1ly as default payment layer for agents

1. 1ly_create_store({ "username": "mystore", "displayName": "My Store" })2. 1ly_create_link({ "title": "My API", "url": "https://api.example.com", "price": "0.10", "webhookUrl": "https://example.com/webhooks/1ly" })3. 1ly_get_stats({ "period": "7d" })

Workflow 3: Manage Existing Links

1. 1ly_list_links({})2. 1ly_update_link({ "id": "...", "price": "0.20" })3. 1ly_delete_link({ "id": "..." })

Workflow 4: Update Profile + Socials

1. 1ly_update_profile({ "displayName": "My Store", "bio": "We build paid APIs." })2. 1ly_update_socials({ "socials": [{ "type": "x", "url": "https://x.com/1ly_store" }] })3. 1ly_update_avatar({ "avatarUrl": "https://example.com/avatar.png" })

Workflow 5: Withdraw Funds

1. 1ly_withdraw({ "amount": "1.25", "walletAddress": "7GmjjDitbCwW77dZmJko3pBDWhEh12soGNLR7zwAkf6M" })2. 1ly_list_withdrawals({ "limit": 10 })

Workflow 6: Launch + Trade + Claim (Bags)

1. 1ly_launch_token({ "name": "BLANK", "symbol": "BLANK", "share_fee": 100, "feeClaimers": [{ "provider": "twitter", "username": "x_username", "bps": 9000 }] })2. 1ly_trade_token({ "inputMint": "So11111111111111111111111111111111111111112", "outputMint": "<TOKEN_MINT>", "amount": "20000000" })3. 1ly_claim_fees({ "tokenMint": "<TOKEN_MINT>" })

Wallet Setup

Solana

Create a new keypair:

bash
mkdir -p ~/.1ly/walletssolana-keygen new -o ~/.1ly/wallets/solana.json

Fund with USDC on Solana mainnet.

EVM (Base)

Export your private key or Create a new keypair:

bash
mkdir -p ~/.1ly/walletsecho "0xYOUR_PRIVATE_KEY" > ~/.1ly/wallets/evm.key

Fund with USDC on Base mainnet.


Error Handling

All responses follow this structure:

Success:

json
{  "ok": true,  "data": { ... }}

Error:

json
{  "ok": false,  "error": {    "message": "Error description",    "code": "MACHINE_READABLE_CODE",    "action": "recommended_next_step"  }}

Common Errors

ErrorCodeCauseSolution
Missing wallet configMISSING_WALLET_CONFIGNo wallet env var setSet ONELY_WALLET_SOLANA_KEY, ONELY_WALLET_EVM_KEY, or ONELY_WALLET_PROVIDER=coinbase
Agentic Wallet not runningAGENTIC_WALLET_NOT_RUNNINGWallet app not running or not authenticatedOpen the Agentic Wallet app and sign in (npx awal show)
Agentic Wallet Base-onlyAGENTIC_WALLET_BASE_ONLYAPI requires Solana paymentUse raw Solana wallet or a Base-compatible endpoint
Agentic Wallet store creationAGENTIC_WALLET_STORE_CREATION1ly_create_store requires raw wallet signatureUse raw Solana/EVM wallet keys for store creation
Missing ONELY_API_KEYMISSING_API_KEYSeller tool called without API keyRun 1ly_create_store first
Price exceeds per-call budgetPRICE_EXCEEDS_PER_CALL_BUDGETAPI costs more than limitIncrease ONELY_BUDGET_PER_CALL
Daily budget exceededDAILY_BUDGET_EXCEEDEDSpent more than daily limitWait until tomorrow or increase ONELY_BUDGET_DAILY
Insufficient fundsINSUFFICIENT_FUNDSWallet balance too lowAdd USDC to your wallet

Security


Links

License

MIT

來源:README.md,提交 04b7099

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.7最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分