
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@1ly/mcp-server
Advanced tools
MCP server for 1ly.store — Discover and pay for APIs with AI agents.
This MCP server enables AI agents (Claude, GPT, Cursor, etc.) to:
Pick one of the following and paste it into your terminal.
ONELY_WALLET_TYPE=solana \
ONELY_WALLET_KEY="$HOME/1ly-agent-wallet.json" \
npx @1ly/mcp-server
ONELY_WALLET_TYPE=evm \
ONELY_WALLET_KEY="$HOME/.1ly-base-private-key" \
npx @1ly/mcp-server
Optional safety limits:
ONELY_BUDGET_PER_CALL=1.00
ONELY_BUDGET_DAILY=50.00
ONELY_API_KEY="1ly_live_..." \
npx @1ly/mcp-server
https://1ly.storeKeys look like:
1ly_live_xxxxxxxx...
ONELY_API_KEY in your MCP config or environment.Authorization: Bearer <key> automatically.Authorization: Bearer 1ly_live_...
Add to claude_desktop_config.json:
{
"mcpServers": {
"1ly": {
"command": "npx",
"args": ["@1ly/mcp-server"],
"env": {
"ONELY_WALLET_TYPE": "solana",
"ONELY_WALLET_KEY": "/path/to/solana-wallet.json",
"ONELY_BUDGET_PER_CALL": "1.00",
"ONELY_BUDGET_DAILY": "50.00"
}
}
}
}
{
"mcpServers": {
"1ly": {
"command": "npx",
"args": ["@1ly/mcp-server"],
"env": {
"ONELY_API_KEY": "1ly_live_..."
}
}
}
}
Add to .cursor/mcp.json:
{
"servers": {
"1ly": {
"command": "npx @1ly/mcp-server",
"env": {
"ONELY_WALLET_TYPE": "solana",
"ONELY_WALLET_KEY": "/path/to/solana-wallet.json",
"ONELY_BUDGET_PER_CALL": "1.00",
"ONELY_BUDGET_DAILY": "50.00"
}
}
}
}
{
"servers": {
"1ly": {
"command": "npx @1ly/mcp-server",
"env": {
"ONELY_API_KEY": "1ly_live_..."
}
}
}
}
Run a quick self-test:
ONELY_WALLET_TYPE=solana \
ONELY_WALLET_KEY="$HOME/1ly-agent-wallet.json" \
npx @1ly/mcp-server --self-test
Typical flow:
1ly_search → find an API1ly_get_details → confirm price + supported networks1ly_call → auto‑pay with x402 v2 and return the API response1ly_review → optional review using the _1ly metadata1ly_create_link → create a paid or free API link (Developer Mode)1ly_searchSearch for APIs by keyword.
// Input
{ query: "weather api", type: "api", maxPrice: 0.10 }
// Output
{
results: [
{
title: "Real-time Weather",
endpoint: "/api/link/joe/weather",
price: 0.01,
stats: { buyers: 150, rating: 95 }
}
]
}
1ly_get_detailsGet full details about an API.
// Input
{ endpoint: "joe/weather" }
// Output
{
title: "Real-time Weather",
description: "Global weather data with forecasts",
price: 0.01,
reviews: [...],
paymentInfo: { networks: ["solana", "base"] }
}
1ly_callCall an API with automatic payment.
// Input
{ endpoint: "joe/weather", body: { city: "NYC" } }
// Output
{
data: { temp: 72, conditions: "sunny" },
_1ly: { purchaseId: "...", reviewToken: "..." }
}
1ly_reviewLeave a review after purchase.
// Input
{ purchaseId: "...", reviewToken: "...", positive: true, comment: "Fast and accurate!" }
// Output
{ success: true, reviewId: "..." }
1ly_create_linkCreate an API link (paid or free). Requires ONELY_API_KEY.
// Input
{
title: "Premium Trading Signals",
url: "https://example.com/signals",
price: "10.00",
description: "Daily crypto signals"
}
1ly_list_linksList API links for the store. Requires ONELY_API_KEY.
1ly_update_linkUpdate an API link by id. Requires ONELY_API_KEY.
1ly_delete_linkDelete an API link by id. Requires ONELY_API_KEY.
1ly_get_statsFetch store or link stats. Requires ONELY_API_KEY.
| Environment Variable | Required | Description |
|---|---|---|
ONELY_WALLET_TYPE | Yes | solana or evm |
ONELY_WALLET_KEY | Yes | Private key or path to keyfile |
ONELY_BUDGET_PER_CALL | No | Max USD per call (default: 1.00) |
ONELY_BUDGET_DAILY | No | Daily USD limit (default: 50.00) |
ONELY_NETWORK | No | Preferred network (default: solana) |
ONELY_API_KEY | No | Developer Mode API key for link management |
Create a wallet keypair:
solana-keygen new -o ~/1ly-agent-wallet.json
Fund it with USDC on Solana mainnet.
Create an EVM wallet (Base-compatible) and provide its private key via ONELY_WALLET_KEY.
0x prefix).Examples:
# from a file
export ONELY_WALLET_TYPE=evm
export ONELY_WALLET_KEY="$HOME/.1ly-base-private-key"
# or inline (starts with 0x...)
export ONELY_WALLET_TYPE=evm
export ONELY_WALLET_KEY="0xYOUR_PRIVATE_KEY"
We plan to offer an official devnet/testnet endpoint so you can try 1ly with test USDC before mainnet. For now, production usage requires mainnet USDC.
ONELY_WALLET_TYPE and ONELY_WALLET_KEY.ONELY_API_KEY to use link management tools.1ly_call handles payment automatically.purchaseId + reviewToken returned by 1ly_call.MIT
FAQs
MCP server for 1ly.store - Discover and pay for APIs with AI agents
The npm package @1ly/mcp-server receives a total of 44 weekly downloads. As such, @1ly/mcp-server popularity was classified as not popular.
We found that @1ly/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.