Pump SDK MCP Server

v1.0.2
io.github.nirholas/pump-fun-sdk Checked 1 hour ago Published 4 months ago

Build 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

ParameterTypeDescription
mint *stringToken mint address
solAmount *stringSOL amount in lamports to spend
user *stringBuyer wallet address

get_sell_quote

Calculate how much SOL you receive for selling a given number of tokens

ParameterTypeDescription
mint *stringToken mint address
tokenAmount *stringToken amount in raw units to sell
user *stringSeller wallet address
tokenProgramstringToken program (optional — auto-detected from mint)

get_price_impact

Calculate the price impact percentage of a buy or sell trade

ParameterTypeDescription
amount *stringAmount in lamports (buy) or raw tokens (sell)
mint *stringToken mint address
side *stringTrade side

get_market_cap

Get the current market cap of a token on the bonding curve in SOL

ParameterTypeDescription
mint *stringToken mint address

get_token_price

Get the current buy and sell price per token, including spread

ParameterTypeDescription
mint *stringToken mint address

get_bonding_curve_summary

Get a comprehensive summary of a token's bonding curve: reserves, market cap, price, graduation progress

ParameterTypeDescription
mint *stringToken mint address

get_graduation_progress

Check how close a token is to graduating from bonding curve to AMM pool

ParameterTypeDescription
mint *stringToken mint address

get_amm_quote

Get a quote for trading a graduated token on PumpAMM

ParameterTypeDescription
amount *stringInput amount (lamports for buy, raw tokens for sell)
mint *stringToken mint address (must be graduated)
side *stringTrade side
user *stringUser wallet address
slippagenumberSlippage tolerance as a decimal (0.05 = 5%)

build_buy_instructions

Build transaction instructions to buy tokens on the bonding curve with SOL

ParameterTypeDescription
mint *stringToken mint address
solAmount *stringSOL amount in lamports to spend
user *stringBuyer wallet address
slippagenumberSlippage tolerance percentage (0-100, default 1%)

build_sell_instructions

Build transaction instructions to sell tokens back to the bonding curve for SOL

ParameterTypeDescription
mint *stringToken mint address
tokenAmount *stringToken amount in raw units to sell
user *stringSeller wallet address
slippagenumberSlippage tolerance percentage (0-100, default 1%)

build_create_token

Build instructions to launch a new token on PumpFun with createV2

ParameterTypeDescription
creator *stringCreator wallet address
name *stringToken name
symbol *stringToken symbol
uri *stringMetadata JSON URI

build_create_and_buy

Build instructions to launch a new token AND make the initial buy in a single transaction

ParameterTypeDescription
creator *stringCreator wallet address
name *stringToken name
solAmount *stringSOL to spend on initial buy (lamports)
symbol *stringToken symbol
uri *stringMetadata JSON URI

build_amm_swap

Build swap instructions for graduated tokens on PumpAMM (buy or sell)

ParameterTypeDescription
amount *stringInput amount
minOutput *stringMinimum output amount (slippage protection)
mint *stringToken mint address (must be graduated)
side *stringTrade side
user *stringUser wallet address

build_migrate_instructions

Build instructions to migrate (graduate) a token from bonding curve to PumpAMM

ParameterTypeDescription
mint *stringToken mint address to graduate
user *stringUser triggering migration
withdrawAuthority *stringWithdraw authority address

build_routed_buy

Build buy instructions that auto-route to bonding curve or PumpAMM depending on graduation status

ParameterTypeDescription
mint *stringToken mint address
solAmount *stringSOL to spend in lamports
user *stringBuyer wallet address
slippagenumberSlippage tolerance (0.05 = 5%)

build_routed_sell

Build sell instructions that auto-route to bonding curve or PumpAMM depending on graduation status

ParameterTypeDescription
mint *stringToken mint address
tokenAmount *stringToken amount in raw units to sell
user *stringSeller wallet address
cashbackbooleanEnable cashback volume tracking
slippagenumberSlippage 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

ParameterTypeDescription
mint *stringToken mint address (must be on bonding curve, not graduated)
solAmount *stringSOL to spend in lamports
user *stringBuyer wallet address
slippagenumberSlippage tolerance (0.05 = 5%)

build_sell_all

Build sell instructions that sell the user's entire token balance (closes ATA, returns rent)

ParameterTypeDescription
mint *stringToken mint address
user *stringSeller wallet address
slippagenumberSlippage 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)

ParameterTypeDescription
mint *stringToken mint address
percent *numberPercentage of balance to sell (0.01–100)
user *stringSeller wallet address
cashbackbooleanEnable cashback volume tracking
slippagenumberSlippage 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

ParameterTypeDescription
mint *stringToken mint address (must be on bonding curve)
targetSol *stringDesired SOL output in lamports
user *stringSeller wallet address
cashbackbooleanEnable cashback volume tracking
slippagenumberSlippage 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

ParameterTypeDescription
mint *stringToken mint address (must be on bonding curve)
tokenAmount *stringTotal tokens to sell in raw units
user *stringSeller wallet address
slippagenumberSlippage tolerance per chunk (0.05 = 5%)

get_fee_tier

Get the current fee tier (buy/sell fee percentages) based on token market cap

ParameterTypeDescription
mint *stringToken mint address

get_fee_breakdown

Decompose fees for a specific trade amount into platform, creator, and referral components

ParameterTypeDescription
amount *stringTrade amount in lamports
mint *stringToken mint address
side *stringTrade side

get_creator_vault_balance

Check how much SOL a creator has accumulated in their fee vault across both programs

ParameterTypeDescription
creator *stringCreator wallet address

get_minimum_distributable_fee

Check the minimum fee threshold required before distribution to shareholders

ParameterTypeDescription
mint *stringToken mint address

build_collect_creator_fees

Build instructions for a creator to collect accumulated fees from both Pump and PumpAMM

ParameterTypeDescription
creator *stringCreator wallet address

build_distribute_fees

Build instructions to distribute accumulated fees to all shareholders

ParameterTypeDescription
mint *stringToken mint address with fee sharing config

get_fee_sharing_config

Get the fee sharing configuration for a token

ParameterTypeDescription
mint *stringToken mint address

build_update_fee_shares

Build instructions to update shareholder allocation (BPS must total 10000)

ParameterTypeDescription
authority *stringCurrent admin authority
currentShareholders *arrayCurrent shareholders
mint *stringToken mint address
newShareholders *arrayNew shareholders (total BPS must equal 10000)

get_bonding_curve_state

Get raw bonding curve account data: reserves, supply, completion status, creator

ParameterTypeDescription
mint *stringToken mint address

get_token_info

Get token information: creator, market cap, reserves, graduation status

ParameterTypeDescription
mint *stringToken mint address

get_creator_profile

Get creator profile including vault balance and fee earnings

ParameterTypeDescription
creator *stringCreator wallet address

get_token_holders

Get holder information for a token (guidance for RPC query)

ParameterTypeDescription
mint *stringToken mint address

get_recent_trades

Get guidance on fetching recent trades from transaction history

ParameterTypeDescription
mint *stringToken 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

ParameterTypeDescription
mint *stringToken mint address

get_token_balance

Get a user's token balance for a specific mint in both raw units and human-readable form

ParameterTypeDescription
mint *stringToken mint address
user *stringUser wallet address
tokenProgramstringToken program (optional — auto-detected from mint)

is_graduated

Check if a token has graduated from bonding curve to PumpAMM

ParameterTypeDescription
mint *stringToken mint address

fetch_multiple_bonding_curves

Batch-fetch bonding curve state for multiple mints in a single RPC call (max 100)

ParameterTypeDescription
mints *arrayArray of token mint addresses (max 100)

parse_transaction_events

Decode and classify all Pump program events emitted in a confirmed transaction

ParameterTypeDescription
signature *stringTransaction 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)

ParameterTypeDescription
poolAddress *stringPumpAMM pool account address

get_amm_pool

Get PumpAMM pool state for a graduated token: reserves, LP supply, mint addresses

ParameterTypeDescription
mint *stringToken mint address (graduated)

get_amm_reserves

Get current pool reserves in both token and SOL units

ParameterTypeDescription
mint *stringToken mint address (graduated)

get_amm_price

Get the current token price derived from AMM pool reserves

ParameterTypeDescription
mint *stringToken mint address (graduated)

build_amm_deposit

Build instructions to deposit liquidity into a PumpAMM pool

ParameterTypeDescription
maxBaseAmountIn *stringMax token amount to deposit
maxQuoteAmountIn *stringMax SOL amount in lamports
minLpTokenAmountOut *stringMin LP tokens to receive
mint *stringToken mint address (graduated)
user *stringDepositor wallet address

build_amm_withdraw

Build instructions to withdraw liquidity from a PumpAMM pool

ParameterTypeDescription
lpTokenAmountIn *stringLP tokens to burn
minBaseAmountOut *stringMin tokens to receive
minQuoteAmountOut *stringMin SOL to receive (lamports)
mint *stringToken mint address (graduated)
user *stringWithdrawer wallet address

build_create_fee_sharing

Build instructions to create a fee sharing config for a token (enables revenue sharing)

ParameterTypeDescription
creator *stringCreator wallet address
mint *stringToken mint address
poolstringAMM pool address (if graduated)

build_update_shareholders

Build instructions to update fee sharing shareholders and their BPS allocations

ParameterTypeDescription
authority *stringAdmin authority
currentShareholders *arrayCurrent shareholders
mint *stringToken mint address
newShareholders *arrayNew shareholders (BPS must total 10000)

build_revoke_admin

Build instructions to permanently lock fee sharing config (irreversible!)

ParameterTypeDescription
authority *stringCurrent admin authority to revoke
mint *stringToken mint address

get_shareholders

List current shareholders and their fee share percentages for a token

ParameterTypeDescription
mint *stringToken mint address

get_distributable_amount

Check the current distributable fee balance for a token's shareholders

ParameterTypeDescription
mint *stringToken mint address

build_claim_share

Build instructions to distribute accumulated fees to all shareholders

ParameterTypeDescription
mint *stringToken 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

ParameterTypeDescription
maxAttemptsnumberMaximum generation attempts
prefixstringDesired prefix (case-insensitive, max 5 chars)
suffixstringDesired 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

ParameterTypeDescription
address *stringAddress to validate

estimate_vanity_time

Estimate how long it will take to generate a vanity address with a given pattern

ParameterTypeDescription
keysPerSecondnumberGeneration speed (keys/sec, default 1000 for TS, 100000 for Rust)
prefixstringDesired prefix
suffixstringDesired suffix

restore_keypair

Restore a Solana keypair from a 64-byte secret key array

ParameterTypeDescription
secretKey *array64-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.

ParameterTypeDescription
message *stringThe message to sign
privateKey *stringBase58-encoded 64-byte private key

verify_signature

Verify an Ed25519 message signature against a Solana public key

ParameterTypeDescription
message *stringThe original message
publicKey *stringSigner's public key
signature *stringBase58-encoded signature

get_unclaimed_tokens

Check how many PUMP token incentives a user has unclaimed across both programs

ParameterTypeDescription
user *stringUser wallet address

get_current_day_tokens

Preview the current day's projected token incentive earnings

ParameterTypeDescription
user *stringUser wallet address

get_volume_stats

Get aggregate volume accumulator stats for a user (total volume, claimed, unclaimed)

ParameterTypeDescription
user *stringUser wallet address

build_claim_incentives

Build instructions to claim token incentives from both Pump and PumpAMM programs

ParameterTypeDescription
payer *stringTransaction fee payer address
user *stringUser wallet address

build_claim_cashback

Build instructions to claim accumulated cashback rewards

ParameterTypeDescription
user *stringUser wallet address

search_tokens

Search PumpFun tokens by name or symbol (provides guidance for external APIs)

ParameterTypeDescription
query *stringSearch query (token name or symbol)

get_token_metadata_uri

Get guidance on fetching a token's metadata URI from Metaplex

ParameterTypeDescription
mint *stringToken mint address

get_token_socials

Get guidance on extracting social links from token metadata

ParameterTypeDescription
mint *stringToken mint address