Purpose
Raydium LaunchLab MCP is an MCP (Model Context Protocol) server designed to enable AI agents to directly perform token creation, purchase, and sale operations on Raydium Launchpad (also known as LaunchLab). It encapsulates on-chain token issuance and trading capabilities as AI-callable tools, suitable for agent scenarios that require automated token issuance, fundraising, or trading.
Main Capabilities
This server exposes three tools for interacting with Raydium Launchpad:
-
Mint Token: Create a bonding curve-based token on Raydium Launchpad and upload metadata to Pinata IPFS. Configurable parameters include:
name(string, 1-32 characters): token name, for example "My Token".symbol(string, 1-10 characters): token symbol, for example "MTK".imagePath(string): token logo path, for example "/assets/logo.png".decimals(integer, 0-18, default 6): number of decimals.fundRaisingTarget(positive number, default 85): target amount of SOL to raise.totalSupply(number, default 1,000,000,000): total token supply.totalSellPercent(number, default 0.75): percentage of supply used for fundraising.createOnly(boolean, default true): when true, skip the initial purchase.initialBuyAmount(non-negative number, default 0.1): amount of SOL for the initial purchase when createOnly is false.slippage(number, 0-1.0, default 0.01): acceptable price slippage percentage (for example, 0.01 means 1%).
Example prompt: Create a new token named 'My Token' with symbol 'MTK' on Raydium Launchpad, using the logo located at '/assets/logo.png', with a fundraising target of 35 SOL. Example response: Successfully created token (mint: <mint_address>, name: My Token, symbol: MTK). Transaction signature: <tx_id>
-
Buy Token: Use SOL to buy tokens from the Raydium Launchpad pool. Parameters include:
mintAddress(string): token mint address.inAmount(positive number): amount of SOL to spend.slippage(number, 0-1.0, default 0.01): acceptable price slippage percentage.
Example prompt: Use 0.5 SOL and 1% slippage to buy tokens from the Raydium Launchpad pool with mint address '<mint_address>'. Example response: Successfully bought token (mint: <mint_address>). Transaction signature: <tx_id>
-
Sell Token: Sell tokens back to the Raydium Launchpad pool. Parameters include:
mintAddress(string): token mint address.inAmount(positive number): amount of tokens to sell.slippage(number, 0-1.0, default 0.01): acceptable price slippage percentage.
Example prompt: With 1% slippage, sell 1,000,000 tokens from the Raydium Launchpad pool with mint address '<mint_address>'. Example response: Successfully sold token (mint: <mint_address>). Transaction signature: <tx_id>
In addition, this tool integrates IPFS to upload token images and metadata to IPFS for decentralized storage.
Usage
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 steps:
- Clone the repository:
git clone https://github.com/kukapay/raydium-launchlab-mcp.git cd raydium-launchlab-mcp - Install dependencies:
npm install - Configure the MCP client:
Replacement instructions:{ "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-mcpwith the actual installation path. - Replace
your-solana-rpc-urlwith your own Solana RPC URL. - Replace
your-private-key-as-integer-arraywith your Solana wallet private key (for example[1,2,3,...]). - Obtain
PINATA_JWTandPINATA_GATEWAYfrom your Pinata account.
- Replace
Use cases
- AI agents automatically launch new tokens and raise funds on Raydium Launchpad.
- Agents automatically buy or sell specific tokens according to strategy.
- Integrate token creation and IPFS metadata upload processes into automated workflows.
Limitations
- You need to prepare your own Solana RPC, private key, and Pinata credentials, and ensure the wallet has sufficient SOL.
- Only token operations on Raydium Launchpad are supported; other platforms are not involved.
- Regarding fees, pricing, token economics, or other features not described in the materials, none are currently provided.
- The project is open source under the MIT License; see the LICENSE file for details.