AgentHubAgentHub

mcp-server

MCP ServerMCP Registry官方收录

io.github.1lystore/mcp-server · v0.1.7

MCP server for 1ly.store — buy/sell APIs and launch tokens on Bags.fm with USDC & $1LY.

概览

mcp-server 是一个MCP Server,收录自 官方 MCP Registry。支持 stdio 传输。本页提供 Cursor、Claude Code 等客户端的安装配置片段。

安装

选择你的平台查看安装方式

{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@1ly/mcp-server"
      ]
    }
  }
}

环境变量

ONELY_WALLET_SOLANA_KEY可选secret

Path to Solana keypair JSON file (e.g. /home/user/.1ly/wallets/solana.json) or inline JSON byte array. Required for paid API calls and token tools (launch, trade, claim). Note: Claude Desktop does not expand ~, use absolute paths.

ONELY_WALLET_EVM_KEY可选secret

Path to EVM private key file or 0x-prefixed hex string. Required for payments on Base network.

ONELY_API_KEY可选secret

1ly.store seller API key. Auto-saved locally after running the 1ly_create_store tool — you do not need to set this manually. Required for seller tools: manage links, stats, withdrawals, keys, and profile.

ONELY_WALLET_PROVIDER可选

Wallet provider to use. 'raw' (default) uses local key files via ONELY_WALLET_SOLANA_KEY or ONELY_WALLET_EVM_KEY. 'coinbase' uses Coinbase Agentic Wallet (Base network only, requires the wallet app running locally).

ONELY_NETWORK可选

Preferred blockchain network for payments. 'solana' (default) or 'base'. Determines which wallet is used when an API supports both networks.

ONELY_SOLANA_RPC_URL可选

Solana RPC endpoint URL. Defaults to https://api.mainnet-beta.solana.com. Use a private RPC (e.g. Helius, Quicknode) for better reliability and rate limits.

ONELY_BUDGET_PER_CALL可选

Maximum USD amount allowed per single paid API call. Defaults to 1.00. The server will refuse any call priced above this limit.

ONELY_BUDGET_DAILY可选

Maximum total USD spending per calendar day (UTC). Defaults to 50.00. Resets at UTC midnight. The server will refuse calls that would exceed this limit.

ONELY_BUDGET_STATE_FILE可选

Path to the local JSON file used to track daily spending. Defaults to ~/.1ly-mcp-budget.json. Created automatically with owner-only permissions (0600).

ONELY_SOLANA_DRY_RUN可选

Set to '1' to simulate Solana transactions without broadcasting to the blockchain. Returns a fake signature. Use for testing only — no real payments will be made.

ONELY_API_BASE可选

Override the 1ly.store API base URL. Defaults to https://1ly.store. Only http://localhost:PORT is accepted as an alternative (for local development). Do not change in production.

相关资源

统一 Manifest

{
  "id": "io.github.1lystore/mcp-server",
  "type": "mcp-server",
  "version": "0.1.7",
  "displayName": "mcp-server",
  "description": "MCP server for 1ly.store — buy/sell APIs and launch tokens on Bags.fm with USDC & $1LY.",
  "repository": {
    "url": "https://github.com/1lystore/1ly-mcp-server",
    "source": "github"
  },
  "distribution": {
    "packages": [
      {
        "registryType": "npm",
        "identifier": "@1ly/mcp-server",
        "version": "0.1.7",
        "transport": "stdio",
        "environmentVariables": [
          {
            "name": "ONELY_WALLET_SOLANA_KEY",
            "description": "Path to Solana keypair JSON file (e.g. /home/user/.1ly/wallets/solana.json) or inline JSON byte array. Required for paid API calls and token tools (launch, trade, claim). Note: Claude Desktop does not expand ~, use absolute paths.",
            "isSecret": true
          },
          {
            "name": "ONELY_WALLET_EVM_KEY",
            "description": "Path to EVM private key file or 0x-prefixed hex string. Required for payments on Base network.",
            "isSecret": true
          },
          {
            "name": "ONELY_API_KEY",
            "description": "1ly.store seller API key. Auto-saved locally after running the 1ly_create_store tool — you do not need to set this manually. Required for seller tools: manage links, stats, withdrawals, keys, and profile.",
            "isSecret": true
          },
          {
            "name": "ONELY_WALLET_PROVIDER",
            "description": "Wallet provider to use. 'raw' (default) uses local key files via ONELY_WALLET_SOLANA_KEY or ONELY_WALLET_EVM_KEY. 'coinbase' uses Coinbase Agentic Wallet (Base network only, requires the wallet app running locally)."
          },
          {
            "name": "ONELY_NETWORK",
            "description": "Preferred blockchain network for payments. 'solana' (default) or 'base'. Determines which wallet is used when an API supports both networks."
          },
          {
            "name": "ONELY_SOLANA_RPC_URL",
            "description": "Solana RPC endpoint URL. Defaults to https://api.mainnet-beta.solana.com. Use a private RPC (e.g. Helius, Quicknode) for better reliability and rate limits."
          },
          {
            "name": "ONELY_BUDGET_PER_CALL",
            "description": "Maximum USD amount allowed per single paid API call. Defaults to 1.00. The server will refuse any call priced above this limit."
          },
          {
            "name": "ONELY_BUDGET_DAILY",
            "description": "Maximum total USD spending per calendar day (UTC). Defaults to 50.00. Resets at UTC midnight. The server will refuse calls that would exceed this limit."
          },
          {
            "name": "ONELY_BUDGET_STATE_FILE",
            "description": "Path to the local JSON file used to track daily spending. Defaults to ~/.1ly-mcp-budget.json. Created automatically with owner-only permissions (0600)."
          },
          {
            "name": "ONELY_SOLANA_DRY_RUN",
            "description": "Set to '1' to simulate Solana transactions without broadcasting to the blockchain. Returns a fake signature. Use for testing only — no real payments will be made."
          },
          {
            "name": "ONELY_API_BASE",
            "description": "Override the 1ly.store API base URL. Defaults to https://1ly.store. Only http://localhost:PORT is accepted as an alternative (for local development). Do not change in production."
          }
        ]
      }
    ],
    "remotes": []
  },
  "dependencies": [],
  "installTargets": [
    "claude-code",
    "claude-desktop",
    "cursor",
    "vscode"
  ],
  "keywords": [],
  "provenance": {
    "origin": "official-mcp-registry",
    "originalId": "io.github.1lystore/mcp-server",
    "originalUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.1lystore%2Fmcp-server/versions/latest",
    "isOfficial": true,
    "status": "active"
  }
}
mcp-server — MCP Server 安装与配置 · AgentHub