# three.ws Notifications

Hands an agent the three.ws notification inbox: read events, mark them read, tune delivery channels, register Web Push devices.

- 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/notifications-mcp
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/threews-notifications

## What it does

Seven tools over stdio, all scoped to one three.ws account. The agent pulls the inbound feed — market alerts, sales and earnings, purchase receipts, social mentions, IRL interactions, security notices — marks entries read, and deletes the ones it no longer needs. A separate pair of tools covers the delivery matrix: which channels (`in_app`, `push`, `email`, `telegram`) carry each event category to the owner. Two more register and drop Web Push devices from a browser `PushSubscription`.

Every call goes to the live three.ws API. The server authenticates with `THREE_WS_API_KEY` or an OAuth token, sends it as `Bearer`, and resolves the owning account per request. Nothing is signed locally and no other secret is kept. You need Node 20+ and a key; without the key the server cannot authenticate. Two runtime dependencies: `@modelcontextprotocol/sdk` and `zod`.

Deleting a notification and unregistering a device carry destructive annotations, so clients that honour tool annotations will ask before running them. Marking read and patching preferences are idempotent — a repeat call changes nothing.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `THREE_WS_API_KEY`, `THREE_WS_BASE`, `THREE_WS_TIMEOUT_MS` — 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_API_KEY=<THREE_WS_API_KEY> --env THREE_WS_BASE=<THREE_WS_BASE> --env THREE_WS_TIMEOUT_MS=<THREE_WS_TIMEOUT_MS> --transport stdio notifications-mcp -- npx -y @three-ws/notifications-mcp
```
Replace <…> with your own values

### Codex

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

### Cursor

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

### GitHub Copilot

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

### Gemini CLI

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

## When to use it
- catch up on what landed in the inbox since the last check
- clear every unread notification in one call
- stop email delivery for social mentions
- register a browser as a Web Push device
- drop a notification from the feed for good

## Example prompts
- Show my delivery preferences and disable telegram for sales notifications.
- Register this Web Push device and unregister the old one.

## 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) — 43 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
