GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
MCP server for Samotpravil API — docs, typed tools, Python SDK parity, safety flags.
Pick the AI app you use, then copy the settings.
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Samotpravil MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Samotpravil MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "samotpravil": { "command": "npx", "args": [ "-y", "samotpravil-mcp" ], "env": { "SAMOTPRAVIL_API_KEY": "your-value", "POSTMAN_API_KEY": "your-value", "SAMOTPRAVIL_HTTP_AUTH_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SAMOTPRAVIL_API_KEY, POSTMAN_API_KEY, SAMOTPRAVIL_HTTP_AUTH_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Samotpravil MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
SettingsDeveloperEdit Config
{
"mcpServers": {
"samotpravil": {
"command": "npx",
"args": [
"-y",
"samotpravil-mcp"
],
"env": {
"SAMOTPRAVIL_API_KEY": "your-value",
"POSTMAN_API_KEY": "your-value",
"SAMOTPRAVIL_HTTP_AUTH_TOKEN": "your-value"
}
}
}
}Paste the key only into the app’s field, never into a chat or to anyone
Use Samotpravil MCP and tell me what you can do for me, then show me one thing✓ If Claude says it is using Samotpravil MCP or shows a Samotpravil MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SAMOTPRAVIL_READ_ONLY When true, block mutating HTTP methods except GET/HEADSAMOTPRAVIL_ALLOW_SEND When false, block send/package endpointsSAMOTPRAVIL_ALLOW_MUTATIONS When false, block stop-list, domain, authkey and other mutating endpointsSAMOTPRAVIL_ALLOW_GENERIC_API When false, disable the generic api_request toolSAMOTPRAVIL_HTTP_HOST Bind address for --http transport (default 127.0.0.1)POSTMAN_COLLECTION_UID Postman collection UID for documentation (default 2s93RZM9in)SAMOTPRAVIL_HTTP_PORT Port for --http transport (default 3000)SAMOTPRAVIL_DOCS_MODE Documentation source: auto | live | snapshotDescriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Samotpravil MCP yet
Samotpravil MCP runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect Samotpravil MCP
B · Others in Developer tools that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
You need a Samotpravil MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Samotpravil MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user samotpravil --env SAMOTPRAVIL_API_KEY=your-value --env POSTMAN_API_KEY=your-value --env SAMOTPRAVIL_HTTP_AUTH_TOKEN=your-value -- npx -y samotpravil-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SAMOTPRAVIL_API_KEY, POSTMAN_API_KEY, SAMOTPRAVIL_HTTP_AUTH_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Samotpravil MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user samotpravil --env SAMOTPRAVIL_API_KEY=your-value --env POSTMAN_API_KEY=your-value --env SAMOTPRAVIL_HTTP_AUTH_TOKEN=your-value -- npx -y samotpravil-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see Samotpravil MCP listed as connected
Use Samotpravil MCP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Samotpravil MCP or shows a Samotpravil MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SAMOTPRAVIL_READ_ONLY When true, block mutating HTTP methods except GET/HEADSAMOTPRAVIL_ALLOW_SEND When false, block send/package endpointsSAMOTPRAVIL_ALLOW_MUTATIONS When false, block stop-list, domain, authkey and other mutating endpointsSAMOTPRAVIL_ALLOW_GENERIC_API When false, disable the generic api_request toolSAMOTPRAVIL_HTTP_HOST Bind address for --http transport (default 127.0.0.1)POSTMAN_COLLECTION_UID Postman collection UID for documentation (default 2s93RZM9in)SAMOTPRAVIL_HTTP_PORT Port for --http transport (default 3000)SAMOTPRAVIL_DOCS_MODE Documentation source: auto | live | snapshotDescriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Samotpravil MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Samotpravil MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "samotpravil": { "command": "npx", "args": [ "-y", "samotpravil-mcp" ], "env": { "SAMOTPRAVIL_API_KEY": "your-value", "POSTMAN_API_KEY": "your-value", "SAMOTPRAVIL_HTTP_AUTH_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SAMOTPRAVIL_API_KEY, POSTMAN_API_KEY, SAMOTPRAVIL_HTTP_AUTH_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Samotpravil MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the Samotpravil MCP settings, SAMOTPRAVIL_API_KEY, POSTMAN_API_KEY, SAMOTPRAVIL_HTTP_AUTH_TOKEN is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Samotpravil MCP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Samotpravil MCP or shows a Samotpravil MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SAMOTPRAVIL_READ_ONLY When true, block mutating HTTP methods except GET/HEADSAMOTPRAVIL_ALLOW_SEND When false, block send/package endpointsSAMOTPRAVIL_ALLOW_MUTATIONS When false, block stop-list, domain, authkey and other mutating endpointsSAMOTPRAVIL_ALLOW_GENERIC_API When false, disable the generic api_request toolSAMOTPRAVIL_HTTP_HOST Bind address for --http transport (default 127.0.0.1)POSTMAN_COLLECTION_UID Postman collection UID for documentation (default 2s93RZM9in)SAMOTPRAVIL_HTTP_PORT Port for --http transport (default 3000)SAMOTPRAVIL_DOCS_MODE Documentation source: auto | live | snapshotDescriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Samotpravil MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Samotpravil MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "samotpravil": { "type": "stdio", "command": "npx", "args": [ "-y", "samotpravil-mcp" ], "env": { "SAMOTPRAVIL_API_KEY": "your-value", "POSTMAN_API_KEY": "your-value", "SAMOTPRAVIL_HTTP_AUTH_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For SAMOTPRAVIL_API_KEY, POSTMAN_API_KEY, SAMOTPRAVIL_HTTP_AUTH_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Samotpravil MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
node -vMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed
Open the Node.js download page ↗
When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v
Install once; it works for everything that needs Node.js
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
In the Samotpravil MCP settings, SAMOTPRAVIL_API_KEY, POSTMAN_API_KEY, SAMOTPRAVIL_HTTP_AUTH_TOKEN is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use Samotpravil MCP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Samotpravil MCP or shows a Samotpravil MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
SAMOTPRAVIL_READ_ONLY When true, block mutating HTTP methods except GET/HEADSAMOTPRAVIL_ALLOW_SEND When false, block send/package endpointsSAMOTPRAVIL_ALLOW_MUTATIONS When false, block stop-list, domain, authkey and other mutating endpointsSAMOTPRAVIL_ALLOW_GENERIC_API When false, disable the generic api_request toolSAMOTPRAVIL_HTTP_HOST Bind address for --http transport (default 127.0.0.1)POSTMAN_COLLECTION_UID Postman collection UID for documentation (default 2s93RZM9in)SAMOTPRAVIL_HTTP_PORT Port for --http transport (default 3000)SAMOTPRAVIL_DOCS_MODE Documentation source: auto | live | snapshotDescriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user samotpravil --env SAMOTPRAVIL_API_KEY=your-value --env POSTMAN_API_KEY=your-value --env SAMOTPRAVIL_HTTP_AUTH_TOKEN=your-value -- npx -y samotpravil-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"samotpravil": {
"command": "npx",
"args": [
"-y",
"samotpravil-mcp"
],
"env": {
"SAMOTPRAVIL_API_KEY": "your-value",
"POSTMAN_API_KEY": "your-value",
"SAMOTPRAVIL_HTTP_AUTH_TOKEN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"samotpravil": {
"command": "npx",
"args": [
"-y",
"samotpravil-mcp"
],
"env": {
"SAMOTPRAVIL_API_KEY": "your-value",
"POSTMAN_API_KEY": "your-value",
"SAMOTPRAVIL_HTTP_AUTH_TOKEN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"samotpravil": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"samotpravil-mcp"
],
"env": {
"SAMOTPRAVIL_API_KEY": "your-value",
"POSTMAN_API_KEY": "your-value",
"SAMOTPRAVIL_HTTP_AUTH_TOKEN": "your-value"
}
}
}
}SAMOTPRAVIL_API_KEY secret required envSAMOTPRAVIL_READ_ONLY envSAMOTPRAVIL_ALLOW_SEND envSAMOTPRAVIL_ALLOW_MUTATIONS envSAMOTPRAVIL_ALLOW_GENERIC_API envSAMOTPRAVIL_HTTP_HOST envPOSTMAN_API_KEY secret required envPOSTMAN_COLLECTION_UID envSAMOTPRAVIL_HTTP_AUTH_TOKEN secret required envSAMOTPRAVIL_HTTP_PORT envSAMOTPRAVIL_DOCS_MODE envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
npm: samotpravil-mcpBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 15, 2026
The registry name was verified with the GitHub account dkanster, which owns the repo
Code last changed 6 days ago
Uses MIT
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Not checked yet
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: SAMOTPRAVIL_API_KEY, POSTMAN_API_KEY, SAMOTPRAVIL_HTTP_AUTH_TOKEN
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 6 days ago, and the latest version (1.8.0) reached the registry 4 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP servers
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
MCP-сервер вокруг документации API СамОтправил и HTTP API api.samotpravil.ru.
Версия: 1.8.0 · npm: samotpravil-mcp · MCP Registry: io.github.dkanster/samotpravil-api-mcp · Smithery: smithery.yaml · Cursor Directory: .mcp.json
Хостинг: репозиторий временно в dkanster/samotpravil-api-mcp.
Планируется: переезд в org Samotpravil →
@samotpravil/mcp— docs/ORG_MIGRATION.md.
Сервер подтягивает Postman-коллекцию с documenter (live + offline snapshot) и даёт агенту tools для поиска методов, вызова API и безопасных пресетов (READ_ONLY, dry_run). Имена typed tools совпадают с Python SDK samotpravil.
Экосистема: Postman → snapshot → MCP / OpenAPI / Docusaurus — docs/ECOSYSTEM.md · live preview: https://dkanster.github.io/samotpravil-api-mcp/
npx -y samotpravil-mcp@latest
Cursor — .cursor/mcp.json:
{
"mcpServers": { "samotpravil": { "command": "npx", "args": ["-y", "samotpravil-mcp@latest"], "env": { "SAMOTPRAVIL_API_KEY": "your_api_key_here", "SAMOTPRAVIL_READ_ONLY": "1", "SAMOTPRAVIL_ALLOW_SEND": "0" } } } }
SAMOTPRAVIL_API_KEY опционален для docs-only tools. После правок: Settings → MCP → Reload.
Бесплатного тестового ключа нет: регистрация в ЛК → верификация домена отправителя → ключ в env. Пакетную боевую отправку по умолчанию не открываем (SAMOTPRAVIL_ALLOW_SEND=0).
| Артефакт | Ссылка |
|---|---|
| Спека OpenAPI | https://spec.samotpravil.ru/openapi.yaml |
| Node-клиент API | npm i samotpravil |
| Пример SaaS (два ключа TX/MKT) | dkanster/samotpravil-example |
| Python MCP (pip) | mailganer-samotpravil-mcp |
| Smithery | daniil-kozemiakin/samotpravil |
| Cursor Directory | samotpravil-api-mcp |
Для SaaS сразу два API-ключа (разные стоп-листы и webhook URL) — см. пример выше.
Сценарии и конфиги для Claude / VS Code: [docs/EXAMPLES.md](./docs/EXAMPLES.md)
Каталог сообщества cursor.directory автодетектит MCP из корневого .mcp.json (дубль: mcp.json, манифест plugin.json). Первая отправка: cursor.directory/plugins/new → URL этого репозитория (вход GitHub/Google). В листинг не входят swagger-mcp и Postman maintainer.
Дальше править код и карточку — docs/PUBLISH.md § «Cursor Directory»: релиз npm по tag v*; карточку Directory не слать второй раз (дубли). Add to Cursor у уже поставивших сам не обновляется.
| Компонент | Кол-во | Нужен ключ |
|---|---|---|
| Docs tools | 4 | нет |
| Core typed API | 9 + api_request | SAMOTPRAVIL_API_KEY |
| Python SDK parity | 28 | SAMOTPRAVIL_API_KEY |
Auto tools (api_*) | ~16 | SAMOTPRAVIL_API_KEY |
| Postman maintainer | 4 | POSTMAN_API_KEY |
| MCP Resources | 9 | нет |
| MCP Prompts | 5 | нет |
Итого: ~59 tools ( +4 postman при POSTMAN_API_KEY).
| Tool | Описание |
|---|---|
get_overview | Авторизация, SMTP, лимиты, категории |
list_endpoints | Список всех методов API |
search_docs | Поиск по документации |
get_endpoint | Подробности по методу |
SAMOTPRAVIL_API_KEY)| Tool | Описание |
|---|---|
send_email | POST /api/v1/smtp_send |
send_mail_v2 | POST /api/v2/mail/send |
get_delivery_status | GET /api/v2/issue/status (message_id или x_track_id) |
get_package_status | GET /api/v2/package/status |
search_stop_list | Поиск email в стоп-листах |
add_stop_list_email / remove_stop_list_email | Стоп-лист (mail_from или domain) |
validate_email | POST /api/v2/emails/validate/ |
list_allowed_domains | GET /api/v2/blist/domains |
api_request | Generic escape hatch |
Typed tools с именами как в PyPI-пакете samotpravil: send_package, get_statistics, get_ext_status, stop_list_export_create, domain_add, get_blist, create_authkey и др.
Полный список и маппинг: [docs/EXAMPLES.md#python-sdk-parity](./docs/EXAMPLES.md#python-sdk-parity) · prompt python_sdk_parity
POSTMAN_API_KEY)| Tool | Описание |
|---|---|
postman_get_collection | Коллекция из Postman API |
postman_sync_snapshot | Postman API → data/collection.snapshot.json |
postman_diff_snapshot | Diff Postman vs локальный snapshot |
postman_search_requests | Поиск запросов в коллекции |
Подробнее: [docs/EXAMPLES.md#postman-tools](./docs/EXAMPLES.md#postman-tools)
api_{method}_{path} — для HTTP-методов, не покрытых typed tools (legacy v1, tickets, email check/clean и т.д.).
| Prompt | Описание |
|---|---|
integration_overview | Обзор SMTP + HTTP + лимиты |
send_transactional | Чеклист отправки письма |
stop_list_workflow | Работа со стоп-листами |
check_delivery | Статус по X-Track-ID / выпуску |
python_sdk_parity | Python SDK → MCP tools |
| URI | Содержимое |
|---|---|
samotpravil://overview | Обзор API |
samotpravil://endpoints | Индекс методов |
samotpravil://endpoint/{slug} | Один метод |
samotpravil://errors | Популярные ошибки |
samotpravil://integration | SMTP, X-Track-ID, трекинг |
samotpravil://sdk-mapping | Python SDK → MCP tools |
samotpravil://changelog | Фрагмент CHANGELOG пакета |
samotpravil://rate-limits | Лимиты API и отправки |
samotpravil://api-wishlist | Предложения по HTTP API (фрагмент) |
| Env | Эффект | ||
|---|---|---|---|
SAMOTPRAVIL_READ_ONLY=1 | Только GET/HEAD | ||
SAMOTPRAVIL_ALLOW_SEND=0 | Блок send/package | ||
SAMOTPRAVIL_ALLOW_MUTATIONS=0 | Блок stop-list, доменов, authkey | ||
SAMOTPRAVIL_ALLOW_GENERIC_API=0 | Отключить api_request | ||
SAMOTPRAVIL_DOCS_MODE | auto \ | live \ | snapshot |
dry_run: true | Preview запроса без отправки |
Секреты (api_key, key= в query) маскируются в ответах MCP.
npx samotpravil-mcp --http --port 3000
Env: SAMOTPRAVIL_HTTP_HOST, SAMOTPRAVIL_HTTP_PORT, SAMOTPRAVIL_HTTP_AUTH_TOKEN, SAMOTPRAVIL_HTTP_JSON_LOG=1 (structured logs).
docker build -t samotpravil-mcp .
docker run --rm -p 3000:3000 -e SAMOTPRAVIL_API_KEY=... -e SAMOTPRAVIL_HTTP_AUTH_TOKEN=... samotpravil-mcp
npm run export-openapi # → data/openapi.yaml
npm run upload-swaggerhub # SwaggerHub (нужен .env.swaggerhub) npm run prepare-swagger-mcp # Vizioz/Swagger-MCP
Спека: mailganer/samotpravil-smtp-api@1.0.0 · docs/SWAGGERHUB.md
npm run docusaurus:install && npm run docusaurus:start
Live: https://dkanster.github.io/samotpravil-api-mcp/ · docs/DOCS_SITE.md
| Площадка | Ссылка |
|---|---|
| npm | https://www.npmjs.com/package/samotpravil-mcp |
| MCP Registry | https://registry.modelcontextprotocol.io |
| Smithery | smithery.yaml в корне — docs/PUBLISH.md |
| Официальный promo | docs/official/ |
Шаблон: .env.samotpravil.example
SAMOTPRAVIL_API_KEY=your_key_here
Ключ API: https://samotpravil.ru/get-access
Полный список env: [docs/EXAMPLES.md](./docs/EXAMPLES.md#переменные-окружения)
git clone https://github.com/dkanster/samotpravil-api-mcp.git
cd samotpravil-api-mcp npm install && npm test && npm run dev npm run setup-hooks # optional: pre-commit (lint + test) npm run lint # ESLint npm run pre-publish-check # перед npm tag npm run release-prepare # pre-flight перед npm tag npm run generate-tool-catalog npm run scaffold-typed-tool send_package
npm run plan-org-migrationdata/collection.snapshot.jsonnpm run sync-docs или postman_sync_snapshotapi.samotpravil.ru:1126 / :1127/path/to/samotpravil-api-mcp/setup.sh .
MIT