three.ws Alerts

io.github.nirholas由 GitHub 帳號 nirholas 發布v0.1.3更新於 Oct 24, 2026

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

發布方自己的服務:AlertsBar

已驗證STDIO僅桌面金融安全與監控

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理在 three.ws 上建立、調整和刪除 pump.fun 警示規則,並讀取已觸發的警示。

可以做什麼
列出警示規則及其投遞健康狀況和近期各頻道結果,並依時間倒序讀取已觸發警示的摘要與完整內容。建立針對 pump.fun 事件的新規則,例如畢業、市值突破、巨鯨買入、新發行和市場異常。更新既有規則:門檻、暫停或恢復、投遞頻道、規則類型。永久刪除規則及其觸發和投遞歷史。
適用情境
當你已有 three.ws 帳號,希望讓助理不必開啟儀表板就能設定或調整 pump.fun 監控規則並查看觸發了什麼時使用。規則由 three.ws 的伺服器端排程工作評估,因此跨裝置持續生效。
執行需求
需要 Node.js 20 或更新版本,透過 npx 或本機安裝執行。需要 THREE_WS_SESSION 中的 three.ws 登入工作階段權杖,取自 __Host-sid cookie。需要連線至 three.ws 的網路,或透過 THREE_WS_BASE 指定自訂位址;可選 THREE_WS_TIMEOUT_MS。
安裝前請注意
THREE_WS_SESSION 是等同於已登入瀏覽器工作階段的帳號憑證,應像密碼一樣保管,不要放入共用設定。此伺服器可建立、修改並永久刪除警示規則及其歷史;建議用 enabled:false 暫停而非刪除。規則可向 webhook 或 Telegram 聊天室投遞警示,應核對投遞目標和 webhook 密鑰。不涉及 Solana 私鑰或簽章器。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 three.ws Alerts,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

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

來源:packages/alerts-mcp/README.md,提交 914d712

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.1.3最新Oct 10, 2026
  2. v0.1.2Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Alerts 整合