Samotpravil MCP Server
by dkansterio.github.dkanster/samotpravil-mcpv1.8.0
MCP server for Samotpravil SMTP API — documentation search and API proxy. Interim npm: samotpravil-mcp; future: @samotpravil/mcp after org migration.
context tax
queued
security
queued
cold start
queued
freshness
Active27d ago
Install Samotpravil MCP server
Install in Claude Code
claude mcp add samotpravil -e SAMOTPRAVIL_API_KEY='<samotpravil-api-key>' -e POSTMAN_API_KEY='<postman-api-key>' -e SAMOTPRAVIL_HTTP_AUTH_TOKEN='<samotpravil-http-auth-token>' -- npx -y samotpravil-mcpInstall in Cursor
{
"mcpServers": {
"samotpravil": {
"command": "npx",
"args": [
"-y",
"samotpravil-mcp"
],
"env": {
"SAMOTPRAVIL_API_KEY": "<samotpravil-api-key>",
"POSTMAN_API_KEY": "<postman-api-key>",
"SAMOTPRAVIL_HTTP_AUTH_TOKEN": "<samotpravil-http-auth-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"samotpravil": {
"command": "npx",
"args": [
"-y",
"samotpravil-mcp"
],
"env": {
"SAMOTPRAVIL_API_KEY": "<samotpravil-api-key>",
"POSTMAN_API_KEY": "<postman-api-key>",
"SAMOTPRAVIL_HTTP_AUTH_TOKEN": "<samotpravil-http-auth-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"samotpravil": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"samotpravil-mcp"
],
"env": {
"SAMOTPRAVIL_API_KEY": "<samotpravil-api-key>",
"POSTMAN_API_KEY": "<postman-api-key>",
"SAMOTPRAVIL_HTTP_AUTH_TOKEN": "<samotpravil-http-auth-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"samotpravil": {
"command": "npx",
"args": [
"-y",
"samotpravil-mcp"
],
"env": {
"SAMOTPRAVIL_API_KEY": "<samotpravil-api-key>",
"POSTMAN_API_KEY": "<postman-api-key>",
"SAMOTPRAVIL_HTTP_AUTH_TOKEN": "<samotpravil-http-auth-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SAMOTPRAVIL_API_KEY | — | yes | API key for api.samotpravil.ru (Authorization header) |
| SAMOTPRAVIL_READ_ONLY | — | — | When true, block mutating HTTP methods except GET/HEAD |
| SAMOTPRAVIL_ALLOW_SEND | — | — | When false, block send/package endpoints |
| SAMOTPRAVIL_ALLOW_MUTATIONS | — | — | When false, block stop-list, domain, authkey and other mutating endpoints |
| SAMOTPRAVIL_ALLOW_GENERIC_API | — | — | When false, disable the generic api_request tool |
| SAMOTPRAVIL_HTTP_HOST | — | — | Bind address for --http transport (default 127.0.0.1) |
| POSTMAN_API_KEY | — | yes | Postman API key for maintainer tools (postman_get_collection, postman_sync_snapshot, …) |
| POSTMAN_COLLECTION_UID | — | — | Postman collection UID for documentation (default 2s93RZM9in) |
| SAMOTPRAVIL_HTTP_AUTH_TOKEN | — | yes | Bearer token required for HTTP transport when exposed beyond localhost |
| SAMOTPRAVIL_HTTP_PORT | — | — | Port for --http transport (default 3000) |
| SAMOTPRAVIL_DOCS_MODE | — | — | Documentation source: auto | live | snapshot |
Freshness
Active — last maintenance signal 27d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-13 · 27d ago · GitHub
Latest release
2026-07-13 · 3mo ago · GitHub · v1.8.0
Package published
no data · npm/PyPI
Registry entry updated
2026-07-13 · 3mo ago · official registry · v1.8.0
FAQ
›How do I install the Samotpravil MCP server in Claude Code?
Run: claude mcp add samotpravil -e SAMOTPRAVIL_API_KEY='<samotpravil-api-key>' -e POSTMAN_API_KEY='<postman-api-key>' -e SAMOTPRAVIL_HTTP_AUTH_TOKEN='<samotpravil-http-auth-token>' -- npx -y samotpravil-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Samotpravil require an API key?
Yes. It expects SAMOTPRAVIL_API_KEY, POSTMAN_API_KEY, SAMOTPRAVIL_HTTP_AUTH_TOKEN, of which 3 are secrets.
›Can I use Samotpravil as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Samotpravil in the official MCP registry?
Yes, as io.github.dkanster/samotpravil-mcp.
Alternatives to Samotpravil
Other email MCP servers.