paperplane-mcp
MCP connector for Paperplane that lets AI tools page you on your phone with event notifications, blocking questions, alert management, replies, and follow-up ticket filing using a single long-lived token.
README
paperplane-mcp
An MCP connector for Paperplane — the inbox for the events your machines send you.
It lets an AI tool page you on your phone when a long job finishes or needs a decision, read back what fired, acknowledge or resolve an alert, and file a follow-up ticket. One long-lived credential, no per-channel keys.
Setup
1. Create a token
In the Paperplane app: Settings → Developer tokens → Create token. The secret is shown once —
copy it then. It looks like pplt_ followed by 64 hex characters.
2. Point a client at it
Claude Code — .mcp.json in your project, or ~/.claude.json for every project:
{
"mcpServers": {
"paperplane": {
"command": "npx",
"args": ["-y", "paperplane-mcp"],
"env": {
"PAPERPLANE_TOKEN": "pplt_...",
"PAPERPLANE_DEFAULT_CHANNEL": "Builds"
}
}
}
}
Claude Desktop uses the same block inside claude_desktop_config.json.
| Variable | Required | Default |
|---|---|---|
PAPERPLANE_TOKEN |
yes | — |
PAPERPLANE_API_BASE_URL |
no | https://paperplane-backend.parikshithv01.workers.dev |
PAPERPLANE_DEFAULT_CHANNEL |
no | none — tools then need an explicit channel |
The server checks the token at startup, so a revoked one fails fast with a message on stderr rather than surfacing mid-conversation.
Tools
| Tool | What it does |
|---|---|
paperplane_send_event |
Push a notification to the phone. Supports priority, nature, and action buttons. |
paperplane_ask |
Send a question to the phone and block until it's answered (or times out). |
paperplane_check_ask |
Non-blocking read of an ask's current status — recover an answer after a client-side timeout. |
paperplane_list_channels |
List the channels you belong to. |
paperplane_list_messages |
Read recent events and replies, newest first, with alert status. |
paperplane_set_alert_state |
Mark a message open, acked, or resolved. |
paperplane_reply |
Post a reply into a channel thread. |
paperplane_list_tickets |
Read the personal ticket board. |
paperplane_create_ticket |
File a follow-up, optionally linked back to an alert. |
Making something an alert
An event becomes an alert — badged, counted under "Needs attention", requiring acknowledgement —
when nature is one of error, failure, failed, critical, pending, or priority is one of
high, crit, critical, urgent. Anything else is an ordinary message.
Action buttons
callback attaches buttons to the notification:
{
"title": "Deploy failed",
"message": "api-service · main @ abc123",
"nature": "error",
"callback": [{ "label": "Re-run pipeline", "webhook": "https://ci.example.com/hooks/rerun" }]
}
The phone fires the webhook when the button is pressed — the connector never calls it.
Scopes
A token carries scopes; the connector uses events:write, channels:read, messages:read,
messages:write, tickets:read, and tickets:write. Tokens minted from the app carry all of them.
Mint a narrower one via the API if you want a send-only credential:
curl -X POST "$PAPERPLANE_API_BASE_URL/tokens" \
-H "authorization: Bearer $SESSION_JWT" -H 'content-type: application/json' \
-d '{"name":"CI notifier","scopes":["events:write"]}'
Channel administration, membership, retention, and token management are session-only and stay out of reach of any token.
Development
npm install
npm run build
npm run inspect # builds, then opens the MCP Inspector
Point it at a local backend with PAPERPLANE_API_BASE_URL=http://localhost:8787.
Tool handlers in src/tools/ take parsed arguments and return plain values — they know nothing
about MCP framing, so mounting them on a remote HTTP transport later is additive rather than a
rewrite.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。