gank-mcp-server
v3.1.0
Published
mcp server for the gank trading api. ai agents trade on solana through pump.fun.
Maintainers
Readme
gank-mcp-server
mcp server for the gank trading api. trade solana tokens through pump.fun from any mcp client.
works with claude desktop, windsurf, cursor, and anything else that speaks mcp.
setup
grab your api key from gank.dev → profile → api keys.
claude desktop
add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"gank": {
"command": "npx",
"args": ["-y", "gank-mcp-server"],
"env": {
"GANK_API_KEY": "your-api-key"
}
}
}
}windsurf
add to your mcp config:
{
"mcpServers": {
"gank": {
"command": "npx",
"args": ["-y", "gank-mcp-server"],
"env": {
"GANK_API_KEY": "your-api-key"
}
}
}
}cursor
same format — add to .cursor/mcp.json in your project or global config.
env vars
| var | required | default |
|-----|----------|---------|
| GANK_API_KEY | yes | — |
| GANK_API_URL | no | https://gank.dev/api/v2 |
tools
trading
| tool | description |
|------|------------|
| buy_token | buy a token with SOL (regular wallet) |
| sell_token | sell % of holdings (regular or dev wallet) |
| get_token_price | price in SOL and USD |
wallets
| tool | description |
|------|------------|
| list_wallets | all wallets grouped by type |
| get_wallet_balance | SOL + token holdings for a wallet |
| get_balances_batch | batch SOL balances |
| create_wallet | generate keypair (call save_wallet after) |
| save_wallet | assign wallet to a type (dev/regular/snipe/swarm/volume/bundle) |
| fund_wallet | transfer SOL between wallets (max 10 SOL) |
| consolidate_wallets | sell tokens + sweep SOL to one destination |
| vamp_all | recover all SOL — sell tokens, close accounts, sweep to destination |
| privacy_swap_quote | get a quote for SOL→XMR→SOL privacy swap |
| privacy_swap_initiate | start a privacy swap (~40-60 min, cross-chain transfer) |
| privacy_swap_status | check active swap progress |
| privacy_swap_history | past swap operations |
launches
| tool | description |
|------|------------|
| reserve_mint | reserve a vanity '...pump' contract address |
| launch_token | launch on pump.fun with optional dev buy |
| get_launch_status | launch details by ID |
| get_launch_by_token | lookup launch by token mint |
| get_launch_history | past launches |
| execute_snipe | snipe a token (snipe wallet) |
| swarm_buy | parallel multi-wallet buy (swarm wallets) |
| run_volume_bot | start volume generation (volume wallets) |
| stop_volume_bot | stop volume bot |
info
| tool | description |
|------|------------|
| get_positions | token positions across all wallets |
| get_account_info | account details |
| get_user_stats | level, points, volume |
| get_pending_fees | unclaimed creator fees |
| claim_creator_fees | claim creator fees |
| search_tokens | search by name, symbol, or address |
wallet types
each type is locked to its module — using the wrong type gets rejected.
| type | for |
|------|-----|
| dev | launching tokens |
| regular | buying and selling |
| snipe | sniping |
| swarm | multi-wallet buys |
| volume | volume bot |
| bundle | bundle buys |
links
- app: gank.dev
- x: @gankdev
- telegram: t.me/gankdev
- bot: t.me/gankdevbot
- discord: discord.gg/qU9tgDNXHe
- dev: @pissdart · t.me/pissdart
license
MIT
