Hey.com的MCP服务器:从克洛德或任何MCP客户端读取,发送,搜索和组织电子邮件. 在当地运行,不存储证书,遵守费率限制.
概览
一个本地的MCP服务器,可以让克洛德读取/写入您的Hey.com收件箱. 一个 Bun/TypeScript 服务器在stdio上暴露出工具,一个小的 Python 助手通过登录时的系统网页视图捕获会话 cookie. 没有云中继,没有存储的证书. 嘿.com没有公开的API. mcp-hey使用它的有浏览器-等同请求的网页端点,这样事情就可以在不通知的情况下中断. 目前表面为docs/API.md. Bun 1.1+, Python 3.10+和一个Hey.com账户. 在macOS和Linux上被测试;Windows可能需要WSL. 帮助者将会话 cookie 保存到data/hey-cookies.json (mode 600). 以后再用到过期为止 使用绝对路径 。 GUI应用经常缺乏您外壳的 PATH,所以如果看到产卵包 ENOENT,就设置命令到输出哪个包(Homebrew:/opt/homebrew/bin/bun). docker built -t mcp-hey.,再打印出"{"jsonrpc":"2.0""id":1""方法":"工具/列表""}\n""| docker run -i mcp-hey. 该图像没有登录帮助器, 因此在数据/ hey- cookies 上载已有的 cookie .
概述(AI 翻译)
一个本地的MCP服务器,可以让克洛德读取/写入您的Hey.com收件箱. 一个 Bun/TypeScript 服务器在stdio上暴露出工具,一个小的 Python 助手通过登录时的系统网页视图捕获会话 cookie. 没有云中继,没有存储的证书.
** 非正式API.** 嘿.com没有公开的API. mcp-hey使用它的有浏览器-等同请求的网页端点,这样事情就可以在不通知的情况下中断. 水流表面位于
docs/API.md.
□ 设置
** 先决条件:** Bun 1.1+、Python 3.10+和一个Hey.com账户。 在macOS和Linux上被测试;Windows可能需要WSL.
帮助者将会话 cookie 保存到 [ [T1] (mode [T2]). 以后再用到过期为止
□ MCP 客户端配置
QQ 客户端 QQ 在哪里
|-|-.
++ Claude 代码 claude mcp add --transport stdio hey --scope user -- bun run /absolute/path/to/mcp-hey/src/index.ts,或上方的块 [[T4] +++
(原始内容存档于2018-09-26). Claude桌面 ~/Library/Application Support/Claude/claude_desktop_config.json.
[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 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"hey": {
"command": "bun",
"args": ["run", "/absolute/path/to/mcp-hey/src/index.ts"]
}
}
}