# Agent Sniper

> Agent Sniper is an open-source MCP server. Self-custodial pump.fun sniper: arm strategies, snipe, manage positions. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Website:** https://three.ws
- **Repository:** https://github.com/nirholas/three.ws/tree/HEAD/packages/agent-sniper
- **MCP Registry name:** io.github.nirholas/agent-sniper
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add agent-sniper --env SOLANA_SECRET_KEY='<SOLANA_SECRET_KEY>' -- npx -y @three-ws/agent-sniper
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "agent-sniper": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/agent-sniper"
      ],
      "env": {
        "SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "agent-sniper": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/agent-sniper"
      ],
      "env": {
        "SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "agent-sniper": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/agent-sniper"
      ],
      "env": {
        "SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "agent-sniper": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/agent-sniper"
      ],
      "env": {
        "SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "agent-sniper": {
      "command": "npx",
      "args": [
        "-y",
        "@three-ws/agent-sniper"
      ],
      "env": {
        "SOLANA_SECRET_KEY": "<SOLANA_SECRET_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Agent Sniper free?

Yes. Agent Sniper is open source, so you can use and self-host it for free.

### How do I add Agent Sniper to Claude Code?

Run this command in your terminal: claude mcp add agent-sniper --env SOLANA_SECRET_KEY='<SOLANA_SECRET_KEY>' -- npx -y @three-ws/agent-sniper

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/agent-sniper
