Skip to content
VS Code

Agent Sniper for VS Code

io.github.nirholas/agent-sniper

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

client:VS Code transport:stdio runtime:npm

Install Agent Sniper in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "sniper-mode",
      "description": "SNIPER_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "sniper-network",
      "description": "SNIPER_NETWORK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solana-rpc-url",
      "description": "SOLANA_RPC_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solana-secret-key",
      "description": "SOLANA_SECRET_KEY",
      "password": true
    }
  ],
  "servers": {
    "agent-sniper": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/agent-sniper"
      ],
      "env": {
        "SNIPER_MODE": "${input:sniper-mode}",
        "SNIPER_NETWORK": "${input:sniper-network}",
        "SOLANA_RPC_URL": "${input:solana-rpc-url}",
        "SOLANA_SECRET_KEY": "${input:solana-secret-key}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Agent Sniper in other clients