Pump.fun MCP Server
펌프펀-mcp
솔라나 기반 Pump.fun 플랫폼과 상호 작용하기 위한 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버를 통해 AI 어시스턴트는 Pump.fun 플랫폼에서 토큰을 생성, 구매 및 판매할 수 있습니다.
용법
https://github.com/user-attachments/assets/0b0f1f6f-6ea6-4ca8-92a8-b4cc895814e4
Claude나 다른 MCP 호환 AI 어시스턴트와 함께 이 서버를 사용하려면 MCP 클라이언트에 다음 구성을 추가하세요.
MacOS를 사용하고 Claude Desktop에서 실행하려면 ~/Library/Application \Support/Claude/claude_desktop_config.json 파일에 다음을 작성하세요.
지엑스피1
https://your-helius-rpc-url.com Helius RPC URL 로 바꾸세요.
Related MCP server: AMOCA Solana MCP Server
설치
이 저장소를 복제하세요:
git clone https://github.com/noahgsolomon/pumpfun-mcp.git cd pumpfun-mcp종속성 설치:
npm installSolana RPC URL로
.env파일을 만듭니다.HELIUS_RPC_URL=https://your-helius-rpc-url.comHelius 에서 무료 RPC URL을 얻을 수 있습니다.
기존 Solana 지갑을 사용하려면
.env파일에 개인 키를 추가하세요.PRIVATE_KEY=your-base58-encoded-private-key그런 다음 변환 스크립트를 실행하여 키 쌍 파일을 만듭니다.
node convert-key.js이렇게 하면 키 쌍이 포함된
default.json파일이.keys폴더에 생성됩니다.프로젝트를 빌드하세요:
npm run buildMCP 서버를 실행합니다.
node build/index.js
구성 요소
도구
토큰 정보 가져오기
Pump.fun 토큰에 대한 정보를 얻으세요
입력 매개변수:
tokenAddress(문자열, 필수): 토큰의 민트 주소
토큰 생성
새로운 Pump.fun 토큰을 생성하세요
입력 매개변수:
name(문자열, 필수): 토큰 이름symbol(문자열, 필수): 토큰 심볼description(문자열, 필수): 토큰 설명imageUrl(문자열, 선택 사항): 로컬 이미지 파일 경로initialBuyAmount(숫자, 필수): SOL 단위의 초기 구매 금액(최소 0.0001)accountName(문자열, 선택 사항): 사용할 계정의 이름(기본값은 "default")
토큰 구매
Pump.fun 토큰을 구매하세요
입력 매개변수:
tokenAddress(문자열, 필수): 토큰의 민트 주소buyAmount(숫자, 필수): SOL로 구매할 금액(최소 0.0001)accountName(문자열, 선택 사항): 사용할 계정의 이름(기본값은 "default")slippageBasisPoints(숫자, 선택 사항): 기준 포인트 단위의 미끄러짐 허용 오차(기본값은 100)
토큰 판매
Pump.fun 토큰 판매
입력 매개변수:
tokenAddress(문자열, 필수): 토큰의 민트 주소sellAmount(숫자, 필수): 판매할 토큰 수량(모두 판매하려면 0 사용)accountName(문자열, 선택 사항): 사용할 계정의 이름(기본값은 "default")slippageBasisPoints(숫자, 선택 사항): 기준 포인트 단위의 미끄러짐 허용 오차(기본값은 100)
목록 계정
키 폴더에 있는 모든 계정을 나열합니다
입력 매개변수가 필요하지 않습니다
계정 잔액 가져오기
계정의 SOL 및 토큰 잔액을 확인하세요
입력 매개변수:
accountName(문자열, 선택 사항): 확인할 계정의 이름(기본값은 "default"임)tokenAddress(문자열, 선택 사항): 잔액을 확인할 토큰 주소
계정 관리
MCP는 .keys 폴더에 Solana 키 쌍을 자동으로 생성하고 관리합니다. 각 키 쌍은 계정 이름을 파일 이름으로 사용하는 JSON 파일로 저장됩니다.
토큰을 생성할 때 mint 키 쌍도 mint- 접두사를 붙여 .keys 폴더에 저장됩니다.
자신의 계정으로 MCP를 사용하려면 다음이 필요합니다.
.env파일에 개인 키를 추가하고node convert-key.js실행합니다.해당 지갑에 충분한 SOL이 있어야 합니다.
독립형 스크립트
이 프로젝트에는 직접 실행할 수 있는 여러 개의 독립 실행형 스크립트가 포함되어 있습니다.
토큰 정보 가져오기 :
node build/get-token-info.js <token_address>토큰 생성 :
node build/create-token.js <name> <symbol> <description> <initial_buy_amount> [account_name] [image_url]토큰 구매 :
node build/buy-token.js <token_address> <buy_amount_sol> [account_name] [slippage_basis_points]토큰 판매 :
node build/sell-token.js <token_address> <sell_amount> [account_name] [slippage_basis_points]계정 목록 :
node build/list-accounts.js계정 잔액 가져오기 :
node build/get-token-balance.js <account_name> [token_address]
중요 참고 사항
보안 : 키 쌍은
.keys폴더에 암호화되지 않은 상태로 저장됩니다. 이 폴더를 적절하게 보호하세요.수수료 : Solana에서 이루어지는 모든 거래에는 수수료로 SOL이 필요합니다. 계좌에 충분한 SOL이 있는지 확인하세요.
슬리피지 : 기본 슬리피지 허용 범위는 1%(100 베이시스 포인트)입니다. 각 거래마다 이 허용 범위를 조정할 수 있습니다.
이미지 : 이미지로 토큰을 생성할 때는 이미지의 로컬 파일 경로를 제공해야 합니다. 원격 URL은 지원되지 않습니다.
개발
프로젝트 구조
src/index.ts: 메인 MCP 서버 진입점src/get-token-info.ts: 토큰 정보 검색src/create-token.ts: 토큰 생성 기능src/buy-token.ts: 토큰 구매 기능src/sell-token.ts: 토큰 판매 기능src/list-accounts.ts: 계정 목록 기능src/get-token-balance.ts: 계좌 잔액 확인src/utils.ts: 공유 유틸리티 함수convert-key.js: base58 개인 키를 키페어 JSON 파일로 변환하는 유틸리티
건물
npm run buildAvailable Tools
6 toolsbuy-tokenC
Buy a Pump.fun token
Inputs: buyAmount (required), tokenAddress (required), accountName, slippageBasisPoints.
create-tokenC
Create a new Pump.fun token
Inputs: description (required), initialBuyAmount (required), name (required), symbol (required), +2 more.
get-account-balanceC
Get the SOL and token balances for an account
Inputs: accountName, tokenAddress.
get-token-infoC
Get information about a Pump.fun token
Inputs: tokenAddress (required).
list-accountsB
List all accounts in the keys folder
Inputs: no named parameters.
sell-tokenC
Sell a Pump.fun token
Inputs: sellAmount (required), tokenAddress (required), accountName, slippageBasisPoints.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose with no overlap: buying, selling, creating tokens, getting token info, getting account balances, and listing accounts. The actions and targets are well-defined and unambiguous.
Most tools follow a consistent verb_noun pattern (e.g., buy-token, create-token, get-token-info, sell-token). However, 'list-accounts' uses 'list' instead of 'get' for consistency with 'get-account-balance', and 'get-account-balance' includes a hyphenated compound noun, causing minor deviations.
With 6 tools, this server is well-scoped for managing Pump.fun tokens and accounts. Each tool serves a clear, essential function, and the count is appropriate for the domain without being excessive or insufficient.
The toolset covers core token operations (create, buy, sell, get info) and account management (balance, listing), providing good coverage. A minor gap is the lack of update or delete operations for tokens or accounts, but agents can likely work around this for basic workflows.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
DexTrading's MCP server gives AI assistants live, read-only data on profitable on-chain traders on Solana, BNB Chain, Base and Robinhood Chain. Free, no API key. Tools: smart_money_buying_now (coins proven wallets are buying now), find_traders_to_copy (best traders, coin launchers and fake numbers left out), trader_report_card (profit, win rate, hold time, red flags, verdict), compare_traders (side by side) and build_copy_squad (a group copied only when several agree).
Pay-per-call MCP tools over x402 (USDC/Solana): LLM, utilities, x402 market and model prices.
Production-grade MCP gateway delivering 8 real-time AI tools with instant x402 micropayments settled in USDC on Base Mainnet or SPL-USDC on Solana. Features Basescan contract auditing, wallet analytics, headless browser scraping, and pre-scraped oracle data feeds.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server enabling AI agents to interact with the Solana blockchain for DeFi operations like checking balances, transferring tokens, executing swaps, and fetching price data.21MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI models to interact with the Solana blockchain, providing RPC methods, wallet management, DeFi trading capabilities, and Helius API integration for enhanced Solana development.5MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables Claude AI to interact with the Solana blockchain, allowing it to execute transactions, query accounts, manage wallets, get price predictions, trade tokens, and access various blockchain data sources.4-
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that extends AI capabilities by providing tools to interact with the Solana blockchain, enabling operations like transactions, account queries, and wallet management.1Apache 2.0