pumpfun
MCP server from noahgsolomon/pumpfun-mcp-server
claude mcp add --transport stdio noahgsolomon-pumpfun-mcp-server node /path/to/pumpfun-mcp/build/index.js \ --env HELIUS_RPC_URL="https://your-helius-rpc-url.com"
How to use
The pumpfun MCP server provides programmatic access to interact with the Pump.fun platform on Solana. It exposes a set of tools that let you query token information, create new tokens, buy and sell existing tokens, and manage accounts and balances through the MCP protocol. By integrating with Claude or other MCP-compatible assistants, you can perform complex token operations using natural language prompts, while the MCP server handles the underlying Solana interactions and token mechanics. The server also ships standalone scripts for direct command-line use, making it useful for both integration and ad-hoc operations.
Key capabilities include: getting token info for a Pump.fun token, creating new tokens with metadata and an initial buy amount, buying and selling tokens with configurable slippage, and managing accounts stored in the .keys directory. It also supports listing accounts and querying balances for SOL and specific tokens. To run the server in your environment, point your MCP client to the pumpfun server and supply your Helıus RPC URL via HELIUS_RPC_URL as shown in the example configuration.
How to install
Prerequisites:
- Node.js and npm installed
- Git installed
- Access to a Solana RPC endpoint (e.g., Helıus) for HELIUS_RPC_URL
Install steps:
- Clone the repository and install dependencies
git clone https://github.com/noahgsolomon/pumpfun-mcp.git
cd pumpfun-mcp
npm install
- Create an environment file with your Solana RPC URL (optional if you plan to pass it via env):
# .env
HELIUS_RPC_URL=https://your-helius-rpc-url.com
- Generate or configure keypairs if needed:
# If you have a wallet private key, add it to .env and run conversion
# Then create the keypair file used by the MCP
node convert-key.js
- Build the project:
npm run build
- Run the MCP server:
node build/index.js
Optional: If you want to run the server via npx or other runners, refer to your MCP client configuration and ensure the working path to build/index.js is correct.
Additional notes
Security: keypairs are stored unencrypted in the .keys folder. Secure this folder and control access to the machine running the MCP server. Fees: ensure enough SOL is funded for transaction fees. Slippage defaults to 100 basis points (1%), but you can adjust per transaction. Images for tokens require a local file path; remote URLs are not supported. The standalone scripts can be convenient for quick tests: Get Token Info, Create Token, Buy Token, Sell Token, List Accounts, and Get Account Balance. Remember to set HELIUS_RPC_URL to a valid endpoint and provide a valid PRIVATE_KEY if you plan to use an existing wallet.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud