tem-mcp
Provides tools for interacting with Scaleway Transactional Email (TEM): send emails from addresses on a configured sending domain, list and inspect sent emails, retrieve sending statistics, cancel pending emails, and list registered sending domains.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
tem-mcp
MCP (Model Context Protocol) server for Scaleway Transactional Email (TEM). Lets MCP consumers send emails from any address on your configured sending domain (TEM_SENDING_DOMAIN).
Built for Node.js 26+ — runs TypeScript natively with zero build step, uses built-in node:test and process.loadEnvFile. Only 3 runtime dependencies.
Tools
Tool | Description |
| Send an email from any |
| List sent emails, filterable by domain. |
| Get full details of an email by ID. |
| Sending statistics (sent, delivered, bounced, …). |
| Cancel a pending (not yet sent) email. |
| List registered sending domains. |
Related MCP server: maacgo-email
Configuration
Env var | Required | Default | Description |
| yes | — | Scaleway access key |
| yes | — | Scaleway secret key |
| yes | — | Scaleway project ID |
| yes (http mode) | — | Bearer token required on every MCP request |
| no |
|
|
| no |
| HTTP bind address |
| no |
| HTTP port |
| no |
| Default region |
| yes | — | Domain for sender addresses, e.g. |
A .env file in the working directory is loaded automatically via process.loadEnvFile().
Usage
pnpm install
pnpm start # HTTP server on 127.0.0.1:3000 (bearer auth)
MCP_TRANSPORT=stdio pnpm start # local stdio mode (no token needed)
pnpm dev # run with --watch for development
pnpm test # run tests with node:testHTTP mode (remote, e.g. Vibe web)
The server speaks Streamable HTTP at POST /mcp (stateless). Every request
requires Authorization: Bearer $MCP_AUTH_TOKEN. GET /health is unauthenticated.
Vibe web ──HTTPS──► reverse proxy (TLS) ──► tem-mcp :3000/mcp ──► Scaleway TEMPoint your MCP client at https://your-host/mcp with the bearer token.
Put a TLS-terminating reverse proxy (Caddy/nginx) in front — the server itself
listens on plain HTTP on localhost.
stdio mode (local)
{
"mcpServers": {
"tem": {
"command": "node",
"args": ["/path/to/tem-mcp/src/index.ts"],
"env": {
"MCP_TRANSPORT": "stdio",
"SCW_ACCESS_KEY": "SCW…",
"SCW_SECRET_KEY": "…",
"SCW_PROJECT_ID": "…"
}
}
}
}Example: send an email
{
"tool": "send_email",
"arguments": {
"from": "noreply",
"fromName": "My App",
"to": [{ "email": "user@example.com", "name": "User" }],
"subject": "Hello from TEM",
"text": "Plain text body",
"html": "<h1>HTML body</h1>"
}
}This sends from noreply@example.com (with TEM_SENDING_DOMAIN=example.com).
Architecture
src/
├── index.ts # Entry point — HTTP (Streamable HTTP + bearer auth) or stdio transport
├── config.ts # Env loading (process.loadEnvFile) + validation
├── scaleway.ts # TemClient wrapper around @scaleway/sdk Temv1alpha1.API
└── tools.ts # Tool definitions (zod schemas) registered on McpServer
test/
└── server.test.ts # Tests using node:testNode.js 26 features used
Native TypeScript —
.tsfiles run directly, no build stepnode:test— built-in test runner (pnpm test)process.loadEnvFile()— native.envloading, nodotenvutil.styleText()— colored terminal output, no chalknode --watch— file watching for dev modefetch/WebSocket— global, used internally by the SDKs
Related MCP Connectors
Send transactional email and manage domains, audiences, and broadcasts from any MCP client.
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Hosted email for AI agents: create inboxes, send, receive, and reply over MCP with scoped API keys
Send transactional email and check delivery: bounces, suppressions, per-provider stats.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables sending emails via SMTP with support for HTML content, attachments, bulk sending, and template-based emails. Features session management and full MCP Streamable HTTP transport compliance.-
- AlicenseNot gradedqualityCmaintenanceEnables sending transactional email and campaigns, managing contacts and templates, and reading delivery reports and wallet usage from any MCP client.MIT
- AlicenseNot gradedqualityBmaintenanceEnables authenticated management of email, drafts, sending, domains, contacts, templates, campaigns, workflows, and webhooks through typed MCP tools backed by a REST API.MIT
- AlicenseAqualityBmaintenanceLocal stdio MCP package for transactional email, sending domains and Correio mailboxes for AI agents, subject to team and mailbox permissions. @mepmail/mcp (MIT, Node >=20) implements a documented subset of the separately hosted OAuth service.28AGPL 3.0