About Samva MCP
Samva MCP is an MCP server for developers integrating Samva, offering authenticated email tools plus discovery of public documentation and templates. It supports using Samva email capabilities in agent workflows.
Key features
- 01Authenticated email tools
- 02Public documentation discovery
- 03Template discovery
Use cases
- 01Use Samva email tools in agent workflows
- 02Find public Samva documentation
- 03Discover available email templates
MCP support
It provides Samva's hosted MCP server, exposing authenticated email tools and discovery of public documentation and templates to MCP clients.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.samva.devclaude mcp add --transport http dev-samva https://mcp.samva.dev{"mcpServers":{"dev-samva":{"type":"http","url":"https://mcp.samva.dev"}}}Open in Cursor{"servers":{"dev-samva":{"type":"http","url":"https://mcp.samva.dev"}}}Open in VS Code{"mcpServers":{"dev-samva":{"type":"http","url":"https://mcp.samva.dev"}}}{"mcpServers":{"dev-samva":{"serverUrl":"https://mcp.samva.dev"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
Tools
Details
From the project READMESamva
Open-source packages, examples, cookbooks, and agent plugins for integrating Samva into real applications.
Use these to send transactional email, connect auth email flows, work with templates, handle delivery events, and verify signed webhooks. Ask questions about the code on DeepWiki.
Structure
packages/*— package integrations (@samva/*).examples/*— complete, runnable example apps.cookbooks/*.md— documentation-first, copy-pasteable recipes.plugins/*— coding-agent plugins and public documentation.
While Samva is 0.x, the maintained integrations support only the current SDK minor: 0.27. Workspace
packages require samva@^0.27.0 as a peer and test against 0.27.0. Examples use
samva@^0.27.0; copyable external import maps pin [email protected].
Package integrations
@samva/better-auth— Better Auth email callbacks powered by Samva.@samva/email-sdk— Provider-owned Samva community adapter for Email SDK.
Agent plugins
samva— OpenAI Codex and Cursor packaging for the canonical hosted MCP server and Samva agent skill.- Samva in ChatGPT — the published ChatGPT plugin is a separate listing from the Codex and Cursor package; the guide covers connecting one organization and a read-only first check.
Cookbooks
AstroAuth.jsBetter AuthClerkEffect SDKEmail SDKHono on Cloudflare WorkersInbound email repliesMailboxesNext.jsPrismaReact EmailSupabase AuthSvelteKitTanStack StartTSX templates
Integrations land as individual pull requests. See CONTRIBUTING.md to propose or build one.
Examples
astro-email— Astro Action and JSON endpoint on Cloudflare Workers.better-auth-nextjs— Better Auth callbacks in a Next.js App Router application.clerk-webhook— Clerk webhook verification and transactional email in Next.js.effect-sdk— Email sends through thesamva/effectSDK entrypoint.email-sdk— Email SDK sends through the provider-owned Samva community adapter.hono-cloudflare-workers— Hono Worker with a JSON email endpoint.inbound-email-replies— receives an inbound reply, verifies the signed webhook, and answers in-thread.mailbox-agent— an agent that follows a mailbox event stream and replies in approval mode, plus the same behavior as an@samva/mailboxwebhook extension.nextjs-transactional— App Router contact form plus/api/sendroute handler using the Samva SDK.react-email-samva— React Email rendering and delivery through Samva.supabase-auth-hook— Supabase Auth Send Email Hook implemented as an Edge Function.sveltekit-transactional— SvelteKit form action and raw email endpoint.tanstack-start-transactional— TanStack Start server function and server route.tsx-template-samva— adefineTemplateemail project: check, render, preview, and publish with the Samva CLI.
Getting started
This is a Bun + Turborepo monorepo.
bun install
bun run build
bun run typecheck
bun run test
bun run lint
bun run format:check
Related open source
- SML — the markup, Vite plugin, and editor behind Samva's TSX templates.
- DomainKit — Samva sets up customer domains with DomainKit. See how it works.
Contributing
Contributions are welcome — see CONTRIBUTING.md for local setup, package conventions, and how to propose a new integration. Maintainers use the Tegami release flow for package versions, changelogs, npm publication, tags, and GitHub Releases. GitHub Actions publishes; merging the Version Packages pull request is the human gate.
Security
To report a vulnerability, see SECURITY.md. Please do not file public issues for security reports.
License
MIT © Arya Labs, Inc.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.