io.github.nirholas/agent-sniper icon
io.github.nirholas

agent-sniper

Agent Sniper

Self-custodial pump.fun sniper: arm strategies, snipe, manage positions. Simulate by default.

stdiocommunityapplication

Package Details

Transportstdio
Runtimenpx

Package Arguments

Positional
subcommand
mcpRun the stdio MCP server face. The same binary also serves 'run' (trade loop), 'serve' (x402 API), 'arm', and 'status'.

Environment Variables

SNIPER_MODE(str)
Default:simulate

Trade mode: simulate | live. simulate scores, guards, and logs every decision but NEVER broadcasts. live signs and broadcasts real transactions with real funds. Defaults to simulate — keep it there until your strategy is verified.

SNIPER_NETWORK(str)
Default:mainnet

Solana cluster to trade on: mainnet | devnet. Defaults to mainnet.

SOLANA_RPC_URL(str)

Solana RPC endpoint. A public RPC rate-limits under the new-mint firehose, so live mode refuses to start without this set. Optional in simulate mode.

SOLANA_SECRET_KEY(str)
Secret

Default self-custody wallet secret for single-agent runs — base58, a JSON byte array, or 0x-hex. Stays on your machine; the engine signs locally. Required only for live trading. Treat it like a password.