# Sealjay/mcp-hey [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/Sealjay/mcp-hey  
**GitHub Stars:** 15  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sealjay-mcp-hey

## Description
Local MCP server for Hey.com email. Read, search, send, reply, and manage the screener via locally cached session from Hey's webview auth.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/Sealjay/mcp-hey), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/Sealjay/mcp-hey.git
```

2. Run:

```sh
cd mcp-hey
```

3. Install:

```sh
bun install
```

4. Install:

```sh
uv pip install -r auth/requirements.txt
```

5. Sign in:

```sh
bun run dev   # first run: log in to Hey in the webview, then Ctrl+C
```

6. Add to Claude Code:

```sh
claude mcp add --transport stdio hey --scope user -- bun run /absolute/path/to/mcp-hey/src/index.ts
```

## Documentation

## What Sealjay/mcp-hey does

Sealjay/mcp-hey gives an MCP-compatible agent local access to a Hey.com mailbox. Its 37 tools cover inbox-style folders, the feed, paper trail, trash, spam, drafts, sent mail, set-aside messages, reply-later items, the screener, labels, collections, search, and cached mailbox data.

Write operations include sending, replying, forwarding, saving and editing drafts, deleting drafts, changing message status, moving messages, muting threads, and marking messages seen or unseen. Additional tools handle Hey-specific actions such as bubbling messages up, screening senders, and retrieving calendar invites or attachments.

## How it works

The MCP process is implemented in Bun and TypeScript and communicates through stdio. A Python helper using the system webview opens Hey's own login page when a valid session is unavailable. It saves session cookies in `data/hey-cookies.json` with restrictive file permissions, then reuses them on later runs until they expire.

A local SQLite cache stores messages and threads and supports full-text search. Returned messages include a `sender_group` value describing where Hey normally delivers mail from that sender. Several listing and search tools can optionally filter by sender group. The `HEY_SENDER_GROUPS` setting controls whether sender groups are filtered from the cache, looked up during each request, or omitted.

Requests use browser-like headers, write actions obtain a fresh CSRF token, and the client backs off when Hey reports rate limiting. The server can start and advertise its tools before login; the first operation that needs Hey triggers authentication when required.

## Setup and configuration

Install Bun 1.1 or newer, Python 3.10 or newer, and a Hey.com account. After cloning the project, install JavaScript dependencies with `bun install` and the authentication helper's dependencies with `uv pip install -r auth/requirements.txt`.

Register the server as a stdio MCP process using an absolute path to `src/index.ts`:

```json
{
  "mcpServers": {
    "hey": {
      "command": "bun",
      "args": ["run", "/absolute/path/to/mcp-hey/src/index.ts"]
    }
  }
}
```

Claude Desktop, Cursor, and Claude Code are documented client targets. GUI applications may not inherit the shell's executable path, so use Bun's absolute path if the client cannot spawn `bun`. Docker can run the server, but the container does not include the login helper; mount an existing `data/hey-cookies.json` file instead.

## Tools and capabilities

The tool surface includes:

- Reading email lists, summaries, individual messages, attachments, and calendar invites.
- Searching cached mail and checking cache status.
- Listing and applying labels and collections.
- Sending, replying, forwarding, and managing drafts.
- Setting aside messages, scheduling reply-later status, moving mail, changing read status, and muting threads.
- Bubbling messages up or removing them from the bubble-up view.
- Screening senders and managing Hey's screener.

## Limitations and notes

Hey.com has no public API, so the server uses web endpoints and browser-shaped requests. Changes to Hey's site or session behavior may require fixes, and unusual request patterns can trigger anti-abuse controls. Reduce concurrent calls or wait if sustained `429` responses occur.

The server handles one account per instance and provides no calendar event creation, attachment uploads, or real-time notifications. It parses English Hey interface text, so a non-English Hey locale is unsupported. The locally stored session cookie is sensitive, and email content can contain prompt injection; review agent-proposed external or destructive actions before approving them.

_Full upstream README: https://allmcps.com/mcp/sealjay-mcp-hey/readme_

