Skip to content
项目

关于

📪The free temporary email service powered by Cloudflare

效率与自动化

这些数字如何统计

实测星标增长

24小时
0
7天
+2
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Fake Mail - The free temporary email service

📪 Website: https://mail.fakeact.fun

Fake email generator, delete emails 2 hours after receiving

This is a temporary email service that uses Cloudflare Workers to create a temporary email address and view the received email in web browser.

/app - Astro ssr

/mailbox - Cloudflare Worker

Multiple email addresses

use clerk to login && register

Data is stored encrypted on cloudflare D1

Logged-in MCP

After you sign in, Fake Mail exposes its own MCP server for that Clerk user. This is the product endpoint, not Clerk's dashboard MCP.

  • Endpoint: https://mail.fakeact.fun/mcp
  • Transport: Streamable HTTP (POST). No browser session cookie. An unauthenticated GET returns 401 with the same WWW-Authenticate Bearer challenge as a tools/call that has no token. initialize and tools/list still work without a token. A GET that already has an Authorization header is still verified by Clerk before it reaches the streamable transport.
  • Auth: Clerk OAuth. A client that receives 401 follows /.well-known/oauth-protected-resource/mcp to this site's Clerk instance, opens a browser so you can sign in and approve access, then retries with a bearer token. The token audience is the MCP URL above and the scope is profile. Older clients can also read /.well-known/oauth-authorization-server.
  • Anonymous 2-hour addresses (KV /api/get) are not available here. Only mailboxes stored for the signed-in user are.

Connect with any MCP client that supports Streamable HTTP and OAuth, for example:

{
  "mcpServers": {
    "fakemail": {
      "url": "https://mail.fakeact.fun/mcp"
    }
  }
}

Tools:

Tool Input Output
create_mailbox { alias? } optional remark, at most 400 characters { mailbox: { id, email_address, alias, created_at } }
delete_mailbox { id } mailbox id { deleted: true, id }
list_mailboxes {} { mailboxes: [{ id, email_address, alias, created_at }] }
list_messages { id } mailbox id { mailbox_id, messages: [{ message_id, subject, sender, senderName, cc, received_at, is_read }] } (no body)
get_message { message_id } { message: { message_id, subject, sender, senderName, cc, content, received_at, is_read } }

create_mailbox generates the address the same way as POST /api/generate (word.word + a number from 0 to 999 + @fakeact.fun). It does not accept a custom local-part. A user can have at most 5 mailboxes. delete_mailbox removes a mailbox only when user_email_addresses.user_id is the signed-in user, and also deletes that mailbox's emails, email_status, and email_tag_relations rows. content is the plain-text body when the message has one, otherwise the HTML body. The same fields are returned by GET /api/getMails. get_message does not mark the message read.

The signed-in settings page shows the URL for the deployment you are on and a prompt you can copy into an AI agent (Cursor, Claude, ChatGPT, or another MCP client). For local development, set MCP_RESOURCE_URL to the exact dev URL, such as http://localhost:4321/mcp, in app/.env or the worker vars. The production default is https://mail.fakeact.fun/mcp.

Before clients can finish sign-in on a deployed site, add that exact URL once in the Clerk Dashboard for the same Clerk application this site uses: Agents → MCP servers → Add MCP server. That turns on the aud claim. Allow public clients if the dashboard asks. No new Cloudflare secret is required when PUBLIC_CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEY are already set.

License

Fake Mail is licensed under the MIT License.

探索相关项目

加载中…