
sealjay/mcp-hey
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
Hey.comのMCPサーバー:ClaudeまたはMCPクライアントからメールを読み込み、送信、検索、および整理します。 ローカルで実行し、資格情報を保存せず、レート制限を尊重します.
概要
ローカル MCP サーバーで、Claude の読み込み/書き込みアクセスを Hey.com の受信トレイに提供します。 Bun/TypeScript サーバは、stdio 上でツールを明示し、小規模な Python ヘルパーがセッション Cookie を、システム Webview をログインでキャプチャします。 クラウドリレーなし、保存された認証情報なし。 Hey.comには公開APIはありません。 mcp-hey は、Web エンドポイントをブラウザーの識別リクエストで使用しているため、通知なしでは物事を破ることができます。 現在の表面はdocs/API.mdにあります。 Bun 1.1+、Python 3.10+ および Hey.com アカウント。 macOS と Linux でテスト済み。 Windows では WSL が必要 ヘルパーはセッションクッキーをdata/hey-cookies.json(モード600)に保存します。 その後は、有効期限が切れるまで再利用します。 絶対パスを使用します。 GUIアプリは、シェルのPATHを欠くことが多いため、スプーン・ブン・エノエントを見ると、そのbun(Homebrew: /opt/homebrew/bin/bun)の出力にコマンドを設定します。 docker build -t mcp-hey ., その後 printf '{"jsonrpc":"2.0","id":1,"method":"tools/list"}\n' | docker run -i mcp-hey. 画像にはログインヘルパーがないので、既存のクッキーをデータ/ヒークッキーにマウントします.
概要(AI 翻訳)
ローカル MCP サーバーで、Claude の読み込み/書き込みアクセスを Hey.com の受信トレイに提供します。 Bun/TypeScript サーバは、stdio 上でツールを明示し、小規模な Python ヘルパーがセッション Cookie を、システム Webview をログインでキャプチャします。 クラウドリレーなし、保存された認証情報なし。
非公式 API。 Hey.comには公開APIはありません。 mcp-hey は、Web エンドポイントをブラウザーの識別リクエストで使用しているため、通知なしでは物事を破ることができます。 現在の表面は
docs/API.mdにあります。
セットアップ
前提条件: Bun 1.1+、Python 3.10+、Heay.comアカウント。 macOS と Linux でテスト済み。 Windows では WSL が必要
ヘルパーはセッションクッキーをdata/hey-cookies.json(モード[600)に保存します。 その後は、有効期限が切れるまで再利用します。
#MCP クライアントの設定
| 会社概要 |
お問い合わせ
| クロードコード | [claude mcp add --transport stdio hey --scope user -- bun run /absolute/path/to/mcp-hey/src/index.ts]、または[[T4]の上のブロック |
| クロードデスクトップ | [[T5] |
| カーソル | [[T6] |
絶対パスを使用します.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
mcp-hey
A local MCP server that gives Claude read/write access to your Hey.com inbox. A Bun/TypeScript server exposes the tools over stdio, and a small Python helper captures session cookies through the system webview at login. No cloud relay, no stored credentials.
Unofficial API. Hey.com has no public API. mcp-hey uses its web endpoints with browser-identical requests, so things can break without notice. The current surface is in
docs/API.md.
Setup
Prerequisites: Bun 1.1+, Python 3.10+ and a Hey.com account. Tested on macOS and Linux; Windows likely needs WSL.
git clone https://github.com/Sealjay/mcp-hey.git
cd mcp-hey
bun install
uv pip install -r auth/requirements.txt
bun run dev # first run: log in to Hey in the webview, then Ctrl+C
The helper saves session cookies to data/hey-cookies.json (mode 600). Later runs reuse them until they expire.
MCP client configuration
{
"mcpServers": {
"hey": {
"command": "bun",
"args": ["run", "/absolute/path/to/mcp-hey/src/index.ts"]
}
}
}
| Client | Where |
|---|---|
| Claude Code | claude mcp add --transport stdio hey --scope user -- bun run /absolute/path/to/mcp-hey/src/index.ts, or the block above in .mcp.json |
| Claude Desktop | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Cursor | ~/.cursor/mcp.json |
Use absolute paths. GUI apps often lack your shell’s PATH, so if you see spawn bun ENOENT, set command to the output of which bun (Homebrew: /opt/homebrew/bin/bun).
Docker: docker build -t mcp-hey ., then printf '{"jsonrpc":"2.0","id":1,"method":"tools/list"}\n' | docker run -i mcp-hey. The image has no login helper, so mount existing cookies at data/hey-cookies.json.
Tools
37 tools. Parameters, return shapes and errors are in docs/TOOLS.md.
| Category | Tools |
|---|
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"hey": {
"command": "bun",
"args": ["run", "/absolute/path/to/mcp-hey/src/index.ts"]
}
}
}