pumpfun-mcp logo

pumpfun-mcp

by noahgsolomon

A Model Context Protocol (MCP) server for interacting with the Pump.fun platform on Solana. This server enables AI assistants to create, buy, and sell tokens on the Pump.fun platform.

View on GitHub

Last updated: N/A

What is pumpfun-mcp?

The pumpfun-mcp server is a Model Context Protocol (MCP) server designed to facilitate interaction with the Pump.fun platform on the Solana blockchain. It allows AI assistants to programmatically create, buy, and sell tokens on Pump.fun.

How to use pumpfun-mcp?

To use this server, you need to clone the repository, install dependencies, configure your Solana RPC URL (ideally Helius), and optionally add your private key. Then, build the project and run the server. Finally, configure your MCP-compatible AI assistant (like Claude) to connect to the server using the provided configuration example.

Key features of pumpfun-mcp

  • Token creation (name, symbol, description, image, initial buy amount)

  • Token buying and selling with slippage control

  • Account management (creation and listing)

  • Balance retrieval for SOL and tokens

  • Standalone scripts for direct interaction

Use cases of pumpfun-mcp

  • Automated token trading strategies on Pump.fun

  • AI-powered token creation and management

  • Integration with AI assistants for decentralized finance (DeFi)

  • Programmatic access to Pump.fun functionalities

  • Building custom trading bots for Pump.fun

FAQ from pumpfun-mcp

Where are the keypairs stored?

Keypairs are stored unencrypted in the .keys folder. Secure this folder appropriately.

What is required for transactions?

All transactions on Solana require SOL for transaction fees. Ensure your accounts have sufficient SOL.

What is the default slippage tolerance?

The default slippage tolerance is 1% (100 basis points). You can adjust this for each transaction.

Can I use remote URLs for token images?

No, when creating tokens with images, you must provide a local file path to the image. Remote URLs are not supported.

How do I use my own Solana wallet?

Add your private key to the .env file and run node convert-key.js. Ensure the wallet has sufficient SOL.