Our MCP server lets your agent create test addresses and read the codes and links in your test emails. Sign in with your browser, no API key.
https://api.testmail.app/mcp
claude mcp add --transport http testmail https://api.testmail.app/mcp
Add --scope user to use it in all your projects.
Or sign in from your terminal: claude mcp login testmail
Or in the VS Code extension:
Type /mcp and click Add server. Name it testmail, choose HTTP (remote), paste the URL above and click Add server. Then click Authenticate, and start a new conversation: the tools load there.
codex mcp add testmail --url https://api.testmail.app/mcp
No window? Open the link it prints, or run codex mcp login testmail if it printed none.
Or in the Codex app or IDE extension:
Open Settings > MCP servers > Add server. Name it testmail, choose Streamable HTTP and paste the URL above. Save, restart, then click Authenticate.
Or add it yourself:
Open Cursor's Customize page, add a new MCP server and paste the URL above.
Or add it to the config file:
{
"mcpServers": {
"testmail": {
"url": "https://api.testmail.app/mcp"
}
}
}For one project only, put the same config in .cursor/mcp.json in that project.
Or add it to the config file:
{
"mcpServers": {
"testmail": {
"type": "http",
"url": "https://api.testmail.app/mcp",
"tools": ["*"]
}
}
}To share it with your team, put the same config in .mcp.json at the root of your workspace.
On a Claude Team or Enterprise plan, an owner adds it first, in Organization settings > Connectors; then each person connects it with their own testmail.app account.
In a chat, check it's switched on: + button > Connectors.
Using Claude Code too?
Signed in with the same claude.ai account, Claude Code gets the connector: it's in its /mcp list.
Then ask your agent "Who am I on testmail.app?" It answers with your account's email.
Paste this prompt into Claude Code or Codex
Set up the testmail.app MCP server in this agent, so you can read my test emails while we test my app. It's a remote server at https://api.testmail.app/mcp with no API key: I sign in to testmail.app in my browser. 1. First check whether it's already set up: claude mcp list in Claude Code (a claude.ai connector for testmail.app counts too), or codex mcp list in Codex. If one already uses https://api.testmail.app/mcp as its URL, don't add another: if it shows Connected (Claude Code) or OAuth under Auth (Codex), skip to step 4; if it's turned off, tell me how to turn it on; otherwise go to step 2. If testmail is there with another URL, ask me before changing it. Otherwise add it with your own command, not by editing config files: - Claude Code: claude mcp add --transport http testmail https://api.testmail.app/mcp - Codex: codex mcp add testmail --url https://api.testmail.app/mcp - Another agent: tell me where to add the address in your settings, then stop. 2. Then ask me to sign in. Don't try it yourself: it needs me, in the app and in my browser. - Claude Code: I type /mcp, choose testmail, then Authenticate. If it isn't listed (this chat started before it was added), I run claude mcp login testmail in my own terminal. - Codex: your add command may already have started the sign-in: it opens my browser or prints a link. If it did, tell me, give me the link if there is one, and wait while I finish. If it didn't, or that sign-in ends without success, ask me to run codex mcp login testmail in my own terminal. testmail.app opens in my browser; I sign in (or sign up) and click Allow. 3. Never ask me to paste a password, sign-in code, link or API key into this chat, and never sign in or click Allow for me. 4. When I say I'm done, check it: claude mcp get testmail says Connected (Claude Code), or codex mcp list shows OAuth under Auth for testmail (Codex). Then tell me to start a new chat so the testmail tools load; testmail_whoami there shows the account.
Add the server URL to your agent with its own command, or paste it into its settings.
testmail.app opens in your browser. Sign in (or sign up for free), and then click Allow.
Ask your agent to test a signup. It creates the address and reads the email for you.
Sign up on my app with a new testmail.app address and verify the account.
Request a password reset for my test user, then follow the reset link from the email.
Did I get any emails in the last 10 minutes?
Read me the last 3 emails in my test inbox.
All six are read-only
No credit card required.