home / mcp / raydium launchlab mcp server

Raydium LaunchLab MCP Server

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

Installation
Add the following to your MCP client configuration file.

Configuration

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

Raydium LaunchLab MCP is a local MCP server experience that lets you mint, buy, and sell tokens on the Raydium Launchpad. It links your Solana wallet and IPFS storage to a programmable interface so you can manage token launches and trading programs efficiently.

How to use

You interact with the Raydium LaunchLab MCP by running the MCP client locally and issuing tool actions. The three core capabilities you’ll use are mint_token to create a new bonding-curve token with IPFS metadata, buy_token to acquire tokens from a Launchpad pool using SOL, and sell_token to return tokens to a pool. Each tool handles the required blockchain interactions and IPFS uploads under the hood. You provide token details, SOL amounts, mint addresses, and slippage preferences, and the MCP returns transaction identifiers so you can track progress.

Before you begin, make sure your Solana wallet is funded with SOL, you have a Pinata account for IPFS storage, and you know your Solana RPC URL. These credentials are supplied to the MCP client configuration so the server can sign transactions and upload metadata securely.

How to install

Follow these concrete steps to set up the Raydium LaunchLab MCP server on your machine.

Prerequisites you need before installation: Node.js version 18.x or higher, a Solana wallet private key with sufficient SOL, and a Pinata account for IPFS storage (JWT and gateway).

Commands to run in sequence:

git clone https://github.com/kukapay/raydium-launchlab-mcp.git
cd raydium-launchlab-mcp
```

```
npm install

Configure MCP Client

Configure the MCP client to run the local server by providing the runtime command and environment variables. Use the path to your installation when referencing the index file.

{
  "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, set `your-solana-rpc-url` to your Solana RPC endpoint, provide your private key as an integer array, and populate the Pinata credentials you generated in your Pinata account.

Notes on running

After you save the configuration, start your MCP client and verify that the Raydium LaunchLab server is ready. The server will expose the three tools (mint_token, buy_token, sell_token) for you to invoke from your MCP client.

Additional considerations

Security: keep your RPC URL, private key, and Pinata credentials secret. Use environment variables to avoid accidentally committing sensitive data. Regularly rotate your keys and monitor transaction activity. If you encounter issues, check that your Solana wallet has enough SOL for fees and that IPFS uploads are succeeding.

Examples of common tasks you’ll perform with the MCP server include minting a new token with a fundraising target, purchasing tokens from a Launchpad pool, and selling tokens back to a pool. Each operation returns a transaction signature so you can confirm on the Solana blockchain.

Troubleshooting

If the server fails to start, verify that Node.js is installed, that the path to index.js is correct, and that the environment variables are set. Ensure the Pinata credentials are correct and that your RPC URL is reachable. Check logs for any errors related to wallet private key format or IPFS uploads.

Available tools

mint_token

Create a bonding-curve-based token with customizable parameters 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