SendMock MCP Server
Test email, SMS, payments and webhooks locally: read messages, OTPs and webhook deliveries.
SendMock scores 65 (Good), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Communication, Finance. GitHub shows 2 stars. Package registries report about 2,557 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
65 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is gradedMaintenance: Grade B
Last commit or release 7 days ago. Down one letter for 21 open issues against 2 stars.
How maintenance is graded
Where the 65 comes from
22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "shibbirweb-sendmock": { "command": "npx", "args": [ "-y", "sendmock@1.6.0" ], "env": { "SENDMOCK_SERVER": "http://127.0.0.1:8025", "SENDMOCK_TOKEN": "YOUR_SENDMOCK_TOKEN", "SENDMOCK_MCP_TOOLSETS": "core,email,sms,verify,extract,webhooks" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
SENDMOCK_SERVER | Optional | The running SendMock to talk to |
SENDMOCK_TOKENSecret | Optional | API token, when the server has UI auth on |
SENDMOCK_MCP_TOOLSETS | Optional | Toolsets to expose, comma-separated, or all |
SENDMOCK_SERVER | Optional | The running SendMock to talk to, as the container reaches it |
SENDMOCK_TOKENSecret | Optional | API token, when the server has UI auth on |
SENDMOCK_MCP_TOOLSETS | Optional | Toolsets to expose, comma-separated, or all |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
SendMock
SendMock is a local stand-in for the email, SMS, push and payment services your app talks to, and for the webhooks they send back. It is one small program you run on your machine, in Docker or in CI.
Webhook simulation built in: fire a delivered, bounced, opened, inbound reply or payment succeeded webhook whenever you need one, signed the way the real provider signs it, straight to your app on localhost. You test your webhook handlers without a tunnel, a public URL or a provider sandbox.
The problem: while you build and test an app, it sends real things. A sign-up test emails a real address, an OTP test texts a real phone and costs money, a checkout test needs a payment sandbox, and the webhooks those services send back are hard to trigger on demand. Teams end up with shared test inboxes, borrowed phones, provider sandboxes and flaky tests.
What SendMock does: your app sends to SendMock instead, over SMTP or the same HTTP APIs it already uses for Twilio, SendGrid, Stripe, FCM and others (only the address changes). SendMock keeps every message, shows it in a web UI, pulls out codes and links for your tests, and sends realistic webhooks back to your app. Nothing reaches a real inbox, phone or payment provider, and it costs nothing.
Documentation: https://shibbirweb.github.io/sendmock/docs/
Live demo: https://shibbirweb.github.io/sendmock/demo/
Website: https://shibbirweb.github.io/sendmock/

How it works
Your app sends to SendMock instead of the real provider:
%%{init: {"flowchart": {"curve": "basis"}}}%%
flowchart LR
App["Your app"] -->|"email, SMS, push, payments"| SendMock["SendMock"]
SendMock -.->|"the provider's answer and webhooks"| App
SendMock -->|"web UI and API"| You["You and your tests"]
No message reaches a real inbox, phone or provider unless you set up a real relay and allow the recipient.
Watch the video: SendMock: Test Email, SMS and Payment Webhooks on Localhost
What it catches
- Email over SMTP (and POP3 to read it back), with HTML, text and source previews, link and spam checks, one-time code extraction, and a Mailpit-compatible API.
- SMS and verification codes through the APIs of Twilio, Vonage and other providers, with conversation threads and replies.
- Push notifications sent through FCM, Expo and OneSignal.
- Payments through Stripe, PayPal, Razorpay, Paddle, bKash, SSLCommerz and your own gateways, with checkout pages and simulated outcomes.
- Webhooks sent back to your app, in Standard Webhooks or each provider's own format, with rules, templates and delivery logs.
- Any HTTP request sent to a catcher bin, with mock responses.
Everything works from the web UI, the REST API, the sendmock CLI and an MCP server for AI agents.
Install
| System | Command |
|---|---|
| macOS, Linux (Homebrew) | brew install shibbirweb/tap/sendmock |
| macOS, Linux (script) | curl -fsSL https://github.com/shibbirweb/sendmock/releases/latest/download/install.sh | sh |
| Windows (PowerShell) | irm https://github.com/shibbirweb/sendmock/releases/latest/download/install.ps1 | iex |
| Windows (Scoop) | scoop bucket add shibbirweb https://github.com/shibbirweb/scoop-bucket, then scoop install shibbirweb/sendmock |
| Any system with Node.js | npx sendmock (no install) |
| Any system with Bun | bunx sendmock (no install) |
| Docker | docker run --rm -p 1025:1025 -p 8025:8025 ghcr.io/shibbirweb/sendmock |
WinGet, Chocolatey, apt, dnf, Nix, Cargo, the beta of each channel, plain binaries, a Helm chart, a Docker Desktop extension and a menu bar app are on the install page.
Quick start
-
Start SendMock:
sendmock -
Open the web UI at http://127.0.0.1:8025.
-
Point your app's SMTP settings at host
127.0.0.1, port1025. Connect your app has the settings for PHP, Node.js, Python, Go, Java, Rust, Ruby and .NET.
SendMock listens on 127.0.0.1 only, so nothing outside your machine can reach it. sendmock --demo starts it with sample data to look around, sendmock --help lists the flags, and sendmock help --all every command.
Send your first message
Everything your app sends shows up in the web UI at once. The examples below are in JavaScript (Node.js); any language works the same way, since SendMock speaks plain SMTP and HTTP.
Email over SMTP
Use these settings in your app or mail library. No password or TLS is needed:
| Setting | Value |
|---|---|
| Host | 127.0.0.1 |
| Port | 1025 |
| Username and password | none (any are accepted) |
| Encryption | none |
For example, with Nodemailer:
import nodemailer from "nodemailer";
const transporter = nodemailer.createTransport({
host: "127.0.0.1",
port: 1025,
secure: false,
});
await transporter.sendMail({
from: "app@example.com",
to: "user@example.com",
subject: "Welcome",
html: "<p>Your code is <b>482913</b></p>",
});
Connect your app has the same settings for PHP, Python, Go, Java, Rust, Ruby and .NET.
Email and SMS over the REST API
This example uses fetch in JavaScript or TypeScript. From any other language, send the same JSON in an HTTP POST request.
Send an email:
await fetch("http://127.0.0.1:8025/api/v1/send", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
from: "app@example.com",
to: ["user@example.com"],
subject: "Welcome",
html: "<p>Your code is <b>482913</b></p>",
}),
});
Send an SMS:
await fetch("http://127.0.0.1:8025/api/v1/sms", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
from: "+15550001111",
to: "+15550002222",
body: "Your code is 482913",
}),
});
Through your provider's SDK
Keep your Twilio, Vonage, SendGrid, Mailgun, Postmark, Resend, SES, Stripe, FCM or Expo code and change its base URL to http://127.0.0.1:8025/providers/<provider>, for example http://127.0.0.1:8025/providers/twilio.
Learn more
- Email: attachments, outcomes such as bounces, replies, and the provider APIs.
- SMS: Twilio and Vonage SDKs, delivery status, test numbers and replies.
- Push notifications, payments and webhooks.
- Providers: every emulated provider API and its base URL.
- REST API reference: every endpoint, with a playground.
Use it from an AI agent
SendMock ships an MCP server and a skill, so an agent in Claude Code, Codex, Cursor, Gemini CLI or VS Code can read the codes your app sent, set up webhooks and check what happened:
sendmock ai install --target claude-code
Use SendMock from AI agents covers each agent.
Run it from source
-
Build the web UI:
cd webbun install --frozen-lockfilebun run build -
Start SendMock from the repository root:
cd ..cargo run -p sendmock -
Open http://127.0.0.1:8025.
Contributing
Read CONTRIBUTING.md to set up and make a change, and AGENTS.md for the rules every change follows. Report security problems privately as described in SECURITY.md.
License
SendMock is licensed under either of
- the Apache License, Version 2.0 (LICENSE-APACHE), or
- the MIT license (LICENSE-MIT),
at your option.
Frequently asked questions
What is SendMock MCP Server?
Test email, SMS, payments and webhooks locally: read messages, OTPs and webhook deliveries.
How do I install SendMock MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. SendMock MCP Server runs locally from the npm package sendmock with the command npx -y sendmock@1.6.0.
Is SendMock MCP Server free and open source?
Yes. SendMock MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does SendMock MCP Server support remote (HTTP) connections?
No remote endpoint is listed for SendMock MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is SendMock MCP Server's trust score calculated?
SendMock MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
