# three.ws Alerts

An MCP server that lets your agent define pump.fun alert rules and read back what fired, across three delivery channels.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 249
- Author: nirholas
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/nirholas/three.ws/tree/HEAD/packages/alerts-mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/threews-alerts

## What it does

Your agent gets five tools: list, create, update and delete rules, plus alert history. Rules watch pump.fun events such as token graduations, market-cap thresholds, large buys and new mints. Evaluation runs on the three.ws cron, so a rule fires with no dashboard open.

Delivery goes in-app, to an HTTPS webhook, or to Telegram. Each rule with a webhook gets its own secret, used to sign a request header so you can verify the call on your end. Repeated fires are throttled by `cooldown_seconds`.

Node.js 20 or newer is required, along with the `__Host-sid` cookie from a signed-in three.ws session, passed as `THREE_WS_SESSION`. That value grants account access — store it like a password. Without a live session the server has nothing to write to, since every call is account-scoped. `create_alert_rule` adds a new rule on each call, so a retry after a timeout can hit the rule cap; pause with `update_alert_rule` and `enabled:false` instead of using delete, which wipes the history too.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `THREE_WS_BASE`, `THREE_WS_TIMEOUT_MS`, `THREE_WS_SESSION` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env THREE_WS_BASE=<THREE_WS_BASE> --env THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> --env THREE_WS_SESSION=<THREE_WS_SESSION> --transport stdio alerts-mcp -- npx -y @three-ws/alerts-mcp
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add alerts-mcp --env THREE_WS_BASE=<THREE_WS_BASE> --env THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> --env THREE_WS_SESSION=<THREE_WS_SESSION> -- npx -y @three-ws/alerts-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "alerts-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "@three-ws/alerts-mcp"
            ],
            "env": {
                "THREE_WS_BASE": "<THREE_WS_BASE>",
                "THREE_WS_TIMEOUT_MS": "<THREE_WS_TIMEOUT_MS>",
                "THREE_WS_SESSION": "<THREE_WS_SESSION>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "alerts-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@three-ws/alerts-mcp"
            ],
            "env": {
                "THREE_WS_BASE": "<THREE_WS_BASE>",
                "THREE_WS_TIMEOUT_MS": "<THREE_WS_TIMEOUT_MS>",
                "THREE_WS_SESSION": "<THREE_WS_SESSION>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e THREE_WS_BASE=<THREE_WS_BASE> -e THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> -e THREE_WS_SESSION=<THREE_WS_SESSION> alerts-mcp npx -y @three-ws/alerts-mcp
```
Replace <…> with your own values

## When to use it
- watch token graduations and get a Telegram message
- catch large SOL buys on a specific mint
- review fired alerts with per-channel delivery health
- pause a rule without losing its delivery history
- spot a market anomaly by processor and severity level

## Example prompts
- List my alert rules and their delivery health
- Create a graduation rule for agent `8a1c…-uuid` with a webhook and Telegram
- Show the last two alerts that fired

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

From the same set: [nirholas/three.ws](https://affpapa.org/en/nevibecode/by/nirholas/three.ws.md) — 29 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
