KR

kukapay/raydium-launchlab-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

4 stars 6 forks 质量 63 趋势 12MIT

An MCP server that enables AI agents to launch, buy, and sell tokens on the Raydium Launchpad(aka LaunchLab).

概览

An MCP server that enables AI agents to launch, buy, and sell tokens on the Raydium Launchpad(also know as LaunchLab). - : Create a bonding-curve-based token with customizable parameters (name, symbol, decimals, total supply, fundraising target, etc.) and upload metadata to IPFS. - : Purchase tokens from a Raydium Launchpad pool using SOL. - : Sell tokens back to a Raydium Launchpad pool. - : Uploads token images and metadata to IPFS for decentralized storage. - : Version 18.x or higher. - : A private key with sufficient SOL for transactions. - : API credentials for IPFS storage (JWT and gateway). 2. : 3. : - Replace /path/to/raydium-launchlab-mcp with your actual installation path. - Replace your-solana-rpc-url with your own Solana rpc url. - Replace your-private-key-as-integer-array with your Solana wallet's private key (e.g., [1,2,3,...]). - Obtain PINATA_JWT and PINATA_GATEWAY from your Pinata account.

README

以下为原文 README 节选,完整内容请查看原文。

Raydium LaunchLab MCP

An MCP server that enables AI agents to launch, buy, and sell tokens on the Raydium Launchpad(also know as LaunchLab).

Features

  • Mint Token: Create a bonding-curve-based token with customizable parameters (name, symbol, decimals, total supply, fundraising target, etc.) and upload metadata to IPFS.
  • Buy Token: Purchase tokens from a Raydium Launchpad pool using SOL.
  • Sell Token: Sell tokens back to a Raydium Launchpad pool.
  • IPFS Integration: Uploads token images and metadata to IPFS for decentralized storage.

Prerequisites

  • Node.js: Version 18.x or higher.
  • Solana Wallet: A private key with sufficient SOL for transactions.
  • Pinata Account: API credentials for IPFS storage (JWT and gateway).

Installation

  1. Clone the Repository:

    git clone https://github.com/kukapay/raydium-launchlab-mcp.git
    cd raydium-launchlab-mcp
    
  2. Install Dependencies:

    npm install
    
  3. Configure MCP Client:

    {
      "mcpServers": {
        "raydium-launchlab": {
          "command": "node",
          "args": ["/path/to/raydium-launchlab-mcp/index.js"],
          "env": {
             "RPC_URL": "your-solana-rpc-url",
             "PRIVATE_KEY": "your-private-key-as-integer-array",
             "PINATA_JWT": "your-pinata-jwt",
             "PINATA_GATEWAY": "your-pinata-gateway"
          }
        }
      }
    }
    
    • Replace /path/to/raydium-launchlab-mcp with your actual installation path.
    • Replace your-solana-rpc-url with your own Solana rpc url.
    • Replace your-private-key-as-integer-array with your Solana wallet’s private key (e.g., [1,2,3,...]).
    • Obtain PINATA_JWT and PINATA_GATEWAY from your Pinata account.

Tools

The MCP server exposes three tools for interacting with Raydium Launchpad:

1. mint_token

Creates a bonding-curve-based token on Raydium Launchpad with metadata uploaded to Pinata IPFS.

Parameters:

  • name (string, 1-32 chars): Token name (e.g., “My Token”).
  • symbol (string, 1-10 chars): Token symbol (e.g., “MTK”).
  • imagePath (string): Path to the token logo (e.g., “/assets/logo.png”).
  • decimals (integer, 0-18, default: 6): Number of decimal places.
  • fundRaisingTarget (number, positive, default: 85): Target SOL amount to raise.
  • totalSupply (number, default: 1,000,000,000): Total token supply.
  • totalSellPercent (number, default: 0.75): Percentage of supply for fundraising.
  • createOnly (boolean, default: true): If true, skips initial buy.
  • initialBuyAmount (number, non-negative, default: 0.1): SOL amount for initial buy (if createOnly is false).
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "raydium-launchlab": { "command": "node", "args": ["/path/to/raydium-launchlab-mcp/index.js"], "env": { "RPC_URL": "your-solana-rpc-url", "PRIVATE_KEY": "your-private-key-as-integer-array", "PINATA_JWT": "your-pinata-jwt", "PINATA_GATEWAY": "your-pinata-gateway" } } } }