Self-custodial pump.fun sniper: arm strategies, snipe, manage positions. Simulate by default.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add agent-sniper --env SOLANA_SECRET_KEY='<SOLANA_SECRET_KEY>' -- npx -y @three-ws/agent-sniper~/.codex/config.toml
[mcp_servers.agent-sniper]
command = "npx"
args = ["-y", "@three-ws/agent-sniper"]
env = { SOLANA_SECRET_KEY = "<SOLANA_SECRET_KEY>" }
# codex mcp add agent-sniper --env SOLANA_SECRET_KEY='<SOLANA_SECRET_KEY>' -- npx -y @three-ws/agent-sniper~/.cursor/mcp.json
{
"mcpServers": {
"agent-sniper": {
"command": "npx",
"args": [
"-y",
"@three-ws/agent-sniper"
],
"env": {
"SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"agent-sniper": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/agent-sniper"
],
"env": {
"SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agent-sniper": {
"command": "npx",
"args": [
"-y",
"@three-ws/agent-sniper"
],
"env": {
"SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agent-sniper": {
"command": "npx",
"args": [
"-y",
"@three-ws/agent-sniper"
],
"env": {
"SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"agent-sniper": {
"command": "npx",
"args": [
"-y",
"@three-ws/agent-sniper"
],
"env": {
"SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>"
}
}
}
}Environment variables
SOLANA_SECRET_KEY
Replace the placeholders with your own credentials and keep them out of version control.