three.ws Alerts

io.github.nirholasPublished by GitHub account nirholasv0.1.3Updated Oct 24, 2026

Create, update, and delete pump.fun alert rules and read fired-alert history across channels.

The publisher's own server: AlertsBar

VerifiedSTDIODesktop onlyFinanceSecurity & Monitoring

Overview

AI-generated overview

A local MCP server that lets an assistant create, tune and delete pump.fun alert rules on three.ws and read the alerts that fired.

What you can do
List alert rules with live delivery health and recent per-channel outcomes, and read fired-alert history newest first with summaries and payloads. Create new rules on pump.fun events such as graduations, market-cap crossings, whale buys, new launches and market anomalies. Update existing rules: thresholds, pause or resume, delivery channels, rule kind. Permanently delete a rule together with its fire and delivery history.
When to use it
Use it when you already have a three.ws account and want an assistant to set up or adjust pump.fun monitoring rules and review what fired, without opening the dashboard. Rules are evaluated server-side by the three.ws cron, so they keep firing across devices.
Requirements
Node.js 20 or newer, run via npx or a local install. A signed-in three.ws session token in THREE_WS_SESSION, taken from the __Host-sid cookie. Network access to three.ws, or a custom endpoint via THREE_WS_BASE; optional THREE_WS_TIMEOUT_MS.
Before you install
THREE_WS_SESSION is an account credential equivalent to a signed-in browser session; treat it like a password and keep it out of shared configs. The server can create, change and permanently delete alert rules and their history; prefer pausing with enabled:false over deleting. Rules can send alerts to a webhook or Telegram chat, so delivery targets and webhook secrets should be checked. No Solana key or signer is involved.

Installation

In SourceWeft

  1. Open three.ws Alerts in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

[three.ws]

@three-ws/alerts-mcp

Run your own pump.fun monitoring from any AI agent — define alert rules, deliver them in-app / by signed webhook / to Telegram, and read the fired-alert history.

[npm] [license] [node] [MCP Registry] [three.ws]


A Model Context Protocol server that turns the three.ws pump.fun alerts surface into an agent-drivable control plane over stdio. Define rules on pump.fun events — graduations, market-cap crossings, whale buys, new launches — and let the three.ws cron evaluate them against the live event stream and deliver across in-app, webhook, and Telegram. Read back what actually fired, with per-channel delivery health.

Rules are account-scoped: every call carries your three.ws session, so the server reads and writes only your rules and your alert history. The pumpfun-monitor cron does the watching server-side, so your rules fire across devices with no dashboard open.

Install

bash
npm install @three-ws/alerts-mcp

Or run with npx (no install):

bash
npx @three-ws/alerts-mcp

Quick start

Claude Code, one line:

bash
claude mcp add alerts -e THREE_WS_SESSION=your-__Host-sid-cookie -- npx -y @three-ws/alerts-mcp

Claude Desktop / Cursor (claude_desktop_config.json or mcp.json):

json
{	"mcpServers": {		"alerts": {			"command": "npx",			"args": ["-y", "@three-ws/alerts-mcp"],			"env": {				"THREE_WS_SESSION": "your-__Host-sid-cookie"			}		}	}}

Inspect the surface with the MCP Inspector:

bash
THREE_WS_SESSION=… npx -y @modelcontextprotocol/inspector npx @three-ws/alerts-mcp

Authentication

Every tool is account-scoped. Set THREE_WS_SESSION to the value of your __Host-sid cookie from a signed-in three.ws browser session (DevTools → Application → Cookies → __Host-sid). The server sends it the same way your browser does; for writes it first fetches a one-time CSRF token from /api/csrf-token and echoes it, exactly like the site. Treat the session value like a password. No Solana key or signer is involved.

Tools

ToolTypeWhat it does
list_alert_rulesread-onlyList your alert rules with live delivery health — last_fired_at, recent failures, recent per-channel outcomes.
create_alert_rulewrite (appends)Define a new rule on a pump.fun event. Not idempotent — each call adds a rule (max 50).
update_alert_rulewrite (idempotent)Retune a threshold, pause/resume (enabled), swap delivery channels, or change kind. Only passed fields change.
delete_alert_rulewrite (destructive)Permanently remove a rule and its fire/delivery history. Prefer update_alert_rule with enabled:false to pause.
get_alert_historyread-onlyRead the alerts that actually fired, newest first — each with a summary, originating rule_id, and full payload.

Rule kinds & targeting

kindTargetthreshold
graduationglobal, or target_mint / target_agent—
price_abovetarget_mint (required)USD market cap
price_belowtarget_mint (required)USD market cap
whale_buytarget_mint (required)minimum buy size in SOL
new_minttarget_agent (required)—
market_anomalynone (whole market); optional filters: processors (price, tvl, stablecoin_supply, stablecoin_peg, funding, open_interest), min_severity (medium, high default, critical), subject,

At least one delivery channel must be on: deliver_in_app (default true), webhook_url (HTTPS — a per-rule webhook_secret is generated for verifying the webhook-signature header), and/or telegram_chat (numeric chat id or @username). cooldown_seconds (5–86400, default 300) throttles repeat fires.

Any coin referenced in a rule is runtime input you supply. three.ws promotes only $THREE (FeMbDoX7R1Psc4GEcvJdsbNbZA3bfztcyDCatJVJpump).

Example

jsonc
// create_alert_rule — alert when a tracked agent's coin graduates, via webhook + Telegram> {    "kind": "graduation",    "target_agent": "8a1c…-uuid",    "webhook_url": "https://hooks.example.com/pump",    "telegram_chat": "123456789",    "cooldown_seconds": 600  }{  "ok": true,  "rule": {    "id": "…", "kind": "graduation", "label_display": "Graduations · tracked agent",    "target_agent": "8a1c…-uuid", "deliver_in_app": true,    "webhook_url": "https://hooks.example.com/pump",    "webhook_secret": "whsec_…", "telegram_chat": "123456789",    "cooldown_seconds": 600, "enabled": true,    "last_fired_at": null, "recent_failures": 0, "recent_deliveries": []  }}
jsonc
// get_alert_history — what fired, newest first> { "limit": 2 }{  "ok": true, "count": 2, "unread_count": 1,  "alerts": [    { "id": 1841, "fired_at": "2026-06-24T…Z", "read": false,      "summary": "Whale bought 12.50 SOL ($2,310) of $THREE",      "rule_id": "…", "kind": "whale_buy", "mint": "FeMb…pump", "symbol": "THREE",      "event": { "amount_sol": 12.5, "amount_usd": 2310, "buyer": "…", "tx": "…" } }  ]}

Requirements

  • Node.js >= 20.
  • A signed-in three.ws session (THREE_WS_SESSION).
  • Network access to https://three.ws (or your own THREE_WS_BASE).

Environment variables

VariableRequiredDefaultNotes
THREE_WS_SESSIONyes—Your __Host-sid cookie value. Account credential — secret.
THREE_WS_BASEnohttps://three.wsOverride only for self-hosting / preview deployments.
THREE_WS_TIMEOUT_MSno20000Per-request timeout (ms).

Programmatic use

The package entry point exports TOOLS (every tool definition: name, title, description, inputSchema, annotations, handler) and buildServer(), which returns a fully-registered McpServer with no transport attached. Importing is side-effect free and needs no session, so you can mount the alert tools inside a host of your own or inspect the surface offline; the session is only required when a handler actually runs.

js
// run with: THREE_WS_SESSION=<your __Host-sid value> node this-file.mjsimport { TOOLS, buildServer } from '@three-ws/alerts-mcp';
for (const tool of TOOLS) {	const kind = tool.annotations.readOnlyHint ? 'read ' : 'write';	console.log(`${kind} ${tool.name}`);}
// A tool handler is a plain async function against the live API.const list = TOOLS.find((t) => t.name === 'list_alert_rules');console.log(await list.handler({}));
// Or hand the whole registered server to your own MCP transport.buildServer();

Links


Part of the three.ws SDK suite — 3D AI agents, on-chain identity, and agent payments.
Website · Changelog · GitHub

Source: packages/alerts-mcp/README.md at commit 914d712

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

2
  1. v0.1.3LatestOct 10, 2026
  2. v0.1.2Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Alerts integrations