1ly
Enable AI agents to discover, launch tokens, pay for, and sell APIs and resources using x402
claude mcp add --transport stdio 1lystore-1ly-mcp-server npx @1ly/mcp-server
How to use
The 1ly MCP server enables AI agents to interact with the 1ly.store API marketplace. It lets agents search for APIs, purchase access, and pay with crypto using the x402 protocol, and it also supports sellers who want to create a store, list paid endpoints, and accept payments. In addition, the server can launch and manage tokens on Bags.fm, enabling token trading and fee sharing. The system supports Solana mainnet and Base mainnet, with USDC and the native 1LY token as payment options on Solana. To use paid features, you’ll need a wallet (Solana or EVM) or a Coinbase Agentic Wallet, and you can run the server with DCP for secure signing or with HTTP transport for cloud deployments. The Tools Reference section exposes buyer-facing actions like searching the marketplace or purchasing paid API access, and it also supports listing, pricing, reviews, and usage data for paid resources.
Once running, you can access the MCP server via the command shown in the Quick Start. For a local setup, ensure your wallet path variables are correctly set (absolute paths are required in Claude/Cursor integrations). The server exposes the 1ly_search tool for discovering APIs, and paid calls require a wallet. You can also run the server in HTTP mode for cloud hosting and set environment variables to tailor budgets, networks, and wallet sources to your needs.
Below is a succinct workflow example: first, start the MCP server with your preferred wallet setup (Solana, EVM, or Coinbase Agentic Wallet). Then, use 1ly_search to discover APIs, inspect pricing and usage, and finally purchase access or call paid endpoints. If you’re selling, create a store and list your paid links so agents can discover and buy access automatically.
How to install
Prerequisites:
- Node.js (recommended: LTS, v14+ or newer) and npm/yarn installed
- Basic familiarity with shell/terminal
- Optional: DCP tooling for secure signing (dcp) and a local wallet setup
-
Install Node.js and npm
- Download from https://nodejs.org or use your OS package manager
-
Run the MCP server with npx (no local install required)
-
Using a Solana wallet: ONELY_WALLET_SOLANA_KEY="~/.1ly/wallets/solana.json" npx @1ly/mcp-server
-
Using an EVM wallet: ONELY_WALLET_EVM_KEY="~/.1ly/wallets/evm.key" npx @1ly/mcp-server
-
Using both wallets: ONELY_WALLET_SOLANA_KEY="
/.1ly/wallets/solana.json" ONELY_WALLET_EVM_KEY="/.1ly/wallets/evm.key" npx @1ly/mcp-server -
Using Coinbase Agentic Wallet (Base only): ONELY_WALLET_PROVIDER="coinbase" npx @1ly/mcp-server
-
-
Optional: Run DCP locally for secure signing
- Start DCP locally and then run the MCP server: dcp init npx @dcprotocol/server npx @1ly/mcp-server
-
Verify HTTP mode (cloud-ready)
- Run with HTTP transport: MCP_TRANSPORT=http npx @1ly/mcp-server MCP_TRANSPORT=http MCP_HTTP_HOST=0.0.0.0 MCP_HTTP_PORT=3000 npx @1ly/mcp-server
-
Validate a quick test
- Example test call assuming wallet is configured: ONELY_WALLET_SOLANA_KEY="~/.1ly/wallets/solana.json" npx @1ly/mcp-server --self-test
Additional notes
Tips and notes:
- Wallets are required only for paid API calls. Free search and details can be performed without a wallet.
- Supported networks: Solana mainnet and Base mainnet. Payment currencies include USDC and 1LY (Solana only).
- Environment variables control budgets per call and per day (ONELY_BUDGET_PER_CALL, ONELY_BUDGET_DAILY) and wallet sources (ONELY_WALLET_SOLANA_KEY, ONELY_WALLET_EVM_KEY, ONELY_WALLET_PROVIDER).
- The MCP can run in multiple transports (stdio by default, HTTP for cloud hosting). Use MCP_TRANSPORT to switch modes.
- If you plan to expose the server publicly, consider enabling proper wallet handling, secure signing with DCP, and restricting endpoints if needed.
- For Claude Desktop and Cursor integrations, remember that absolute paths are required in their config files; tilde (~) expansion is not supported.
Related MCP Servers
context7
Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
pinion-os
Client SDK, Claude plugin and skill framework for the Pinion protocol. x402 micropayments on Base.
lucid-agents
Lucid Agents Commerce SDK. Bootstrap AI agents in 60 seconds that can pay, sell, and participate in agentic commerce supply chains. Our protocol agnostic SDK provides CLI-generated templates and drop-in adapters for Hono, Express, Next.js, and TanStack, giving you instant access to crypto/fiat payment rails (AP2, A2A, x402, ERC8004).
MiniMax -JS
Official MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
marinade-finance
Marinade Finance MCP Server is an MCP server specifically designed for the Marinade Finance.
solana-dev
Solana Model Context Protocol (MCP) Demo