Skip to content
MCP server
Registry

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.

by shibbirwebApache-2.0TypeScript2 stars
Trust score
65Good
Trust score 65 of 100, Good

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.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 65 comes from

22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "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

NameRequiredNotes
SENDMOCK_SERVEROptionalThe running SendMock to talk to
SENDMOCK_TOKENSecretOptionalAPI token, when the server has UI auth on
SENDMOCK_MCP_TOOLSETSOptionalToolsets to expose, comma-separated, or all
SENDMOCK_SERVEROptionalThe running SendMock to talk to, as the container reaches it
SENDMOCK_TOKENSecretOptionalAPI token, when the server has UI auth on
SENDMOCK_MCP_TOOLSETSOptionalToolsets to expose, comma-separated, or all

Tools 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

CI Release npm crates.io Downloads npm downloads crates.io downloads Docker pulls GHCR License: MIT OR Apache-2.0 Docs Live demo

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/

The SendMock overview: latest emails and SMS, webhook deliveries and payments

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

Play the video: SendMock: Test Email, SMS and Payment Webhooks on Localhost (2:01, on YouTube)

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

SystemCommand
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.jsnpx sendmock (no install)
Any system with Bunbunx sendmock (no install)
Dockerdocker 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

  1. Start SendMock:

    sendmock
    
  2. Open the web UI at http://127.0.0.1:8025.

  3. Point your app's SMTP settings at host 127.0.0.1, port 1025. 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:

SettingValue
Host127.0.0.1
Port1025
Username and passwordnone (any are accepted)
Encryptionnone

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

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

You need Rust and Bun.

  1. Build the web UI:

    cd web
    
    bun install --frozen-lockfile
    
    bun run build
    
  2. Start SendMock from the repository root:

    cd ..
    
    cargo run -p sendmock
    
  3. 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

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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server