TempJar
為代理程式和應用程式提供免費的臨時電子郵件:透過 MCP、REST API 或 CLI 建立和讀取臨時收件匣。可自訂帳號名稱、透過密碼取回帳號、保留 6 個月;免費方案每個帳號每月可接收 1,000 封電子郵件。僅接收郵件,不適用於銀行或重要帳號。
託管 MCP 伺服器
npx add-mcp 'https://tempjar.com/api/mcp'可安裝到 Claude Code、Codex、Cursor 等客戶端
文件
Free plan only (no paid plan yet): 1,000 emails received per account per calendar month, across all your API keys. When the quota is reached, further mail to your API inboxes is not stored until the next month. API reads and inbox creation are not counted.
1 · Create an account
Complete the captcha, then register. Your API key is shown exactly once — save it, TempJar stores only its hash and can never show it again.
Create account + API key
2 · REST API
Base: https://tempjar.com/api/v1 — clean URLs, no .php shown. Send X-API-Key: tj_live_... (or Authorization: Bearer tj_live_...).
Inboxes
GET /inboxes
POST /inboxes
DELETE /inboxes/{id}
Messages
GET /inboxes/{id}/messages
GET /inboxes/{id}/messages/{message_id}
Account
GET /domains
GET /usage
curl -H "X-API-Key: tj_live_..." https://tempjar.com/api/v1/domains
curl -H "X-API-Key: tj_live_..." https://tempjar.com/api/v1/usage
curl -X POST -H "X-API-Key: tj_live_..." -H "Content-Type: application/json" \
-d '{"handle":"my-test","domain":"jarinbox.com"}' \
https://tempjar.com/api/v1/inboxes
curl -H "X-API-Key: tj_live_..." "https://tempjar.com/api/v1/inboxes/1/messages?limit=20"
Create with handle, domain, optional password (generated if omitted, shown once), and lifespan 24h or 6mo (default 6mo).
3 · MCP server
URL: https://tempjar.com/api/mcp (Streamable HTTP, JSON-RPC 2.0). Tools: list_domains, list_inboxes, create_inbox, list_messages, get_message, get_usage.
{
"mcpServers": {
"tempjar": {
"url": "https://tempjar.com/api/mcp",
"headers": { "X-API-Key": "tj_live_..." }
}
}
}
4 · CLI
Download: tempjar-cli.py — Python 3.8+, no extra packages. Your key is stored locally with permissions 600 when you use set-key.
python3 tempjar-cli.py set-key
python3 tempjar-cli.py domains
python3 tempjar-cli.py create my-test jarinbox.com
python3 tempjar-cli.py messages 1
python3 tempjar-cli.py usage
python3 tempjar-cli.py register --email you@example.com
Or: TEMPJAR_API_KEY=tj_live_... python3 tempjar-cli.py inboxes
Rules
- One API key is enough to start; create more, or revoke old ones, while signed in on this page's account session. A revoked key stops working immediately.
- Never share your API key. TempJar staff will never ask for it.
- Temp mail is for low-stakes sign-ups only — never banking or accounts you cannot afford to lose. Some sites block disposable domains.