Pump SDK MCP Server
v1.0.2Build extend and maintain pump - Token creation buying selling migration fee collection
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_buy_quote
Calculate how many tokens you receive for a given SOL amount on the bonding curve
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
solAmount * | string | SOL amount in lamports to spend |
user * | string | Buyer wallet address |
get_sell_quote
Calculate how much SOL you receive for selling a given number of tokens
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
tokenAmount * | string | Token amount in raw units to sell |
user * | string | Seller wallet address |
tokenProgram | string | Token program (optional — auto-detected from mint) |
get_price_impact
Calculate the price impact percentage of a buy or sell trade
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount in lamports (buy) or raw tokens (sell) |
mint * | string | Token mint address |
side * | string | Trade side |
get_market_cap
Get the current market cap of a token on the bonding curve in SOL
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_token_price
Get the current buy and sell price per token, including spread
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_bonding_curve_summary
Get a comprehensive summary of a token's bonding curve: reserves, market cap, price, graduation progress
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_graduation_progress
Check how close a token is to graduating from bonding curve to AMM pool
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_amm_quote
Get a quote for trading a graduated token on PumpAMM
| Parameter | Type | Description |
|---|---|---|
amount * | string | Input amount (lamports for buy, raw tokens for sell) |
mint * | string | Token mint address (must be graduated) |
side * | string | Trade side |
user * | string | User wallet address |
slippage | number | Slippage tolerance as a decimal (0.05 = 5%) |
build_buy_instructions
Build transaction instructions to buy tokens on the bonding curve with SOL
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
solAmount * | string | SOL amount in lamports to spend |
user * | string | Buyer wallet address |
slippage | number | Slippage tolerance percentage (0-100, default 1%) |
build_sell_instructions
Build transaction instructions to sell tokens back to the bonding curve for SOL
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
tokenAmount * | string | Token amount in raw units to sell |
user * | string | Seller wallet address |
slippage | number | Slippage tolerance percentage (0-100, default 1%) |
build_create_token
Build instructions to launch a new token on PumpFun with createV2
| Parameter | Type | Description |
|---|---|---|
creator * | string | Creator wallet address |
name * | string | Token name |
symbol * | string | Token symbol |
uri * | string | Metadata JSON URI |
build_create_and_buy
Build instructions to launch a new token AND make the initial buy in a single transaction
| Parameter | Type | Description |
|---|---|---|
creator * | string | Creator wallet address |
name * | string | Token name |
solAmount * | string | SOL to spend on initial buy (lamports) |
symbol * | string | Token symbol |
uri * | string | Metadata JSON URI |
build_amm_swap
Build swap instructions for graduated tokens on PumpAMM (buy or sell)
| Parameter | Type | Description |
|---|---|---|
amount * | string | Input amount |
minOutput * | string | Minimum output amount (slippage protection) |
mint * | string | Token mint address (must be graduated) |
side * | string | Trade side |
user * | string | User wallet address |
build_migrate_instructions
Build instructions to migrate (graduate) a token from bonding curve to PumpAMM
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address to graduate |
user * | string | User triggering migration |
withdrawAuthority * | string | Withdraw authority address |
build_routed_buy
Build buy instructions that auto-route to bonding curve or PumpAMM depending on graduation status
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
solAmount * | string | SOL to spend in lamports |
user * | string | Buyer wallet address |
slippage | number | Slippage tolerance (0.05 = 5%) |
build_routed_sell
Build sell instructions that auto-route to bonding curve or PumpAMM depending on graduation status
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
tokenAmount * | string | Token amount in raw units to sell |
user * | string | Seller wallet address |
cashback | boolean | Enable cashback volume tracking |
slippage | number | Slippage tolerance (0.05 = 5%) |
build_buy_by_sol_amount
Build bonding-curve buy instructions for a given SOL budget — SDK computes expected token output automatically
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address (must be on bonding curve, not graduated) |
solAmount * | string | SOL to spend in lamports |
user * | string | Buyer wallet address |
slippage | number | Slippage tolerance (0.05 = 5%) |
build_sell_all
Build sell instructions that sell the user's entire token balance (closes ATA, returns rent)
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
user * | string | Seller wallet address |
slippage | number | Slippage tolerance (0.05 = 5%) |
build_sell_by_percentage
Build sell instructions for a percentage of the user's token balance (e.g. 50 = sell half)
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
percent * | number | Percentage of balance to sell (0.01–100) |
user * | string | Seller wallet address |
cashback | boolean | Enable cashback volume tracking |
slippage | number | Slippage tolerance (0.05 = 5%) |
build_sell_to_target_sol
Build sell instructions that yield approximately a target SOL amount — SDK computes the required token amount
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address (must be on bonding curve) |
targetSol * | string | Desired SOL output in lamports |
user * | string | Seller wallet address |
cashback | boolean | Enable cashback volume tracking |
slippage | number | Slippage tolerance (0.05 = 5%) |
build_sell_chunked
Build chunked sell instructions for very large amounts that exceed the safe single-tx overflow limit — returns multiple transaction groups
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address (must be on bonding curve) |
tokenAmount * | string | Total tokens to sell in raw units |
user * | string | Seller wallet address |
slippage | number | Slippage tolerance per chunk (0.05 = 5%) |
get_fee_tier
Get the current fee tier (buy/sell fee percentages) based on token market cap
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_fee_breakdown
Decompose fees for a specific trade amount into platform, creator, and referral components
| Parameter | Type | Description |
|---|---|---|
amount * | string | Trade amount in lamports |
mint * | string | Token mint address |
side * | string | Trade side |
get_creator_vault_balance
Check how much SOL a creator has accumulated in their fee vault across both programs
| Parameter | Type | Description |
|---|---|---|
creator * | string | Creator wallet address |
get_minimum_distributable_fee
Check the minimum fee threshold required before distribution to shareholders
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
build_collect_creator_fees
Build instructions for a creator to collect accumulated fees from both Pump and PumpAMM
| Parameter | Type | Description |
|---|---|---|
creator * | string | Creator wallet address |
build_distribute_fees
Build instructions to distribute accumulated fees to all shareholders
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address with fee sharing config |
get_fee_sharing_config
Get the fee sharing configuration for a token
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_bonding_curve_state
Get raw bonding curve account data: reserves, supply, completion status, creator
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_token_info
Get token information: creator, market cap, reserves, graduation status
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_creator_profile
Get creator profile including vault balance and fee earnings
| Parameter | Type | Description |
|---|---|---|
creator * | string | Creator wallet address |
get_token_holders
Get holder information for a token (guidance for RPC query)
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_recent_trades
Get guidance on fetching recent trades from transaction history
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_sol_usd_price
Get the current SOL/USD price from Jupiter Price API
get_graduation_status
Check whether a token has graduated to AMM and its progress percentage
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_token_balance
Get a user's token balance for a specific mint in both raw units and human-readable form
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
user * | string | User wallet address |
tokenProgram | string | Token program (optional — auto-detected from mint) |
is_graduated
Check if a token has graduated from bonding curve to PumpAMM
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
fetch_multiple_bonding_curves
Batch-fetch bonding curve state for multiple mints in a single RPC call (max 100)
| Parameter | Type | Description |
|---|---|---|
mints * | array | Array of token mint addresses (max 100) |
parse_transaction_events
Decode and classify all Pump program events emitted in a confirmed transaction
| Parameter | Type | Description |
|---|---|---|
signature * | string | Transaction signature to decode |
get_pool_by_address
Fetch PumpAMM pool state directly by pool account address (use when you have the pool PDA, not the mint)
| Parameter | Type | Description |
|---|---|---|
poolAddress * | string | PumpAMM pool account address |
get_amm_pool
Get PumpAMM pool state for a graduated token: reserves, LP supply, mint addresses
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address (graduated) |
get_amm_reserves
Get current pool reserves in both token and SOL units
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address (graduated) |
get_amm_price
Get the current token price derived from AMM pool reserves
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address (graduated) |
build_amm_deposit
Build instructions to deposit liquidity into a PumpAMM pool
| Parameter | Type | Description |
|---|---|---|
maxBaseAmountIn * | string | Max token amount to deposit |
maxQuoteAmountIn * | string | Max SOL amount in lamports |
minLpTokenAmountOut * | string | Min LP tokens to receive |
mint * | string | Token mint address (graduated) |
user * | string | Depositor wallet address |
build_amm_withdraw
Build instructions to withdraw liquidity from a PumpAMM pool
| Parameter | Type | Description |
|---|---|---|
lpTokenAmountIn * | string | LP tokens to burn |
minBaseAmountOut * | string | Min tokens to receive |
minQuoteAmountOut * | string | Min SOL to receive (lamports) |
mint * | string | Token mint address (graduated) |
user * | string | Withdrawer wallet address |
build_create_fee_sharing
Build instructions to create a fee sharing config for a token (enables revenue sharing)
| Parameter | Type | Description |
|---|---|---|
creator * | string | Creator wallet address |
mint * | string | Token mint address |
pool | string | AMM pool address (if graduated) |
build_revoke_admin
Build instructions to permanently lock fee sharing config (irreversible!)
| Parameter | Type | Description |
|---|---|---|
authority * | string | Current admin authority to revoke |
mint * | string | Token mint address |
get_distributable_amount
Check the current distributable fee balance for a token's shareholders
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
generate_keypair
Generate a new Solana keypair (Ed25519). Key material is zeroized after return.
generate_vanity_address
Generate a Solana keypair with a vanity prefix and/or suffix pattern
| Parameter | Type | Description |
|---|---|---|
maxAttempts | number | Maximum generation attempts |
prefix | string | Desired prefix (case-insensitive, max 5 chars) |
suffix | string | Desired suffix (case-insensitive, max 5 chars) |
validate_address
Check if a string is a valid Solana address and whether it's on-curve or a PDA
| Parameter | Type | Description |
|---|---|---|
address * | string | Address to validate |
estimate_vanity_time
Estimate how long it will take to generate a vanity address with a given pattern
| Parameter | Type | Description |
|---|---|---|
keysPerSecond | number | Generation speed (keys/sec, default 1000 for TS, 100000 for Rust) |
prefix | string | Desired prefix |
suffix | string | Desired suffix |
restore_keypair
Restore a Solana keypair from a 64-byte secret key array
| Parameter | Type | Description |
|---|---|---|
secretKey * | array | 64-byte secret key as array of numbers |
sign_message
Sign an arbitrary message with a private key (Ed25519 detached signature). Key is zeroized after use.
| Parameter | Type | Description |
|---|---|---|
message * | string | The message to sign |
privateKey * | string | Base58-encoded 64-byte private key |
verify_signature
Verify an Ed25519 message signature against a Solana public key
| Parameter | Type | Description |
|---|---|---|
message * | string | The original message |
publicKey * | string | Signer's public key |
signature * | string | Base58-encoded signature |
get_unclaimed_tokens
Check how many PUMP token incentives a user has unclaimed across both programs
| Parameter | Type | Description |
|---|---|---|
user * | string | User wallet address |
get_current_day_tokens
Preview the current day's projected token incentive earnings
| Parameter | Type | Description |
|---|---|---|
user * | string | User wallet address |
get_volume_stats
Get aggregate volume accumulator stats for a user (total volume, claimed, unclaimed)
| Parameter | Type | Description |
|---|---|---|
user * | string | User wallet address |
build_claim_incentives
Build instructions to claim token incentives from both Pump and PumpAMM programs
| Parameter | Type | Description |
|---|---|---|
payer * | string | Transaction fee payer address |
user * | string | User wallet address |
build_claim_cashback
Build instructions to claim accumulated cashback rewards
| Parameter | Type | Description |
|---|---|---|
user * | string | User wallet address |
search_tokens
Search PumpFun tokens by name or symbol (provides guidance for external APIs)
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (token name or symbol) |
get_token_metadata_uri
Get guidance on fetching a token's metadata URI from Metaplex
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |
get_token_socials
Get guidance on extracting social links from token metadata
| Parameter | Type | Description |
|---|---|---|
mint * | string | Token mint address |