СБИС (Saby) MCP (RU) — документы, подпись, ЭДО

io.github.ilyautovPublished by GitHub account ilyautovv0.3.0Updated Oct 24, 2026

API СБИС (Saby) в ИИ-ассистенте: документы, этапы ЭДО, подпись, сертификаты

Overview

AI-generated overview

Local MCP server exposing the Saby (СБИС) API so an assistant can browse documents, EDI stages, signatures, certificates and counterparties.

What you can do
  • Search the 45-method Saby API catalog by plain-language query and read a method's card with parameters and access class
  • Call read methods for documents and document-flow stages, certificates and electronic signature, МЧД, organizations, employees and counterparties
  • Invoke write and irreversible methods after confirmation, such as signing attachments or changing document state
  • Run service commands and check installation status, including an optional live read call
When to use it
Useful for Russian organizations working in Saby (СБИС) that want an assistant to pull document lists for a period, see where outgoing documents are stuck in the EDI flow, check signature certificate expiry, or look up a counterparty's EDI participant ID.
Requirements
Runs locally over stdio, installed with uvx (PyPI package sbis-mcp-ru) or as a .mcpb file for Claude Desktop; needs Python 3.10 or newer. Requires a Saby session identifier in the SBIS_SESSION_ID environment variable, obtained via the СБИС.Аутентифицировать command with an employee login that has API rights; sessions expire and must be refreshed. Desktop only.
Before you install
SBIS_SESSION_ID is a secret granting API access as the employee; it is stored locally in ~/.ru-mcp/cabinets.json. Of the 45 methods, 21 write and 5 are irreversible, so document changes and signing can affect real EDI records; the server asks for confirmation but review actions before approving. Requests go only to the Saby API.

Installation

In SourceWeft

  1. Open СБИС (Saby) MCP (RU) — документы, подпись, ЭДО in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

sbis-mcp-ru

API СБИС (Saby) для ИИ-ассистентов: документы и этапы документооборота, подписание вложений, сертификаты и МЧД, сотрудники, контрагенты, подразделения.

[PyPI] [CI] [License: MIT] [Методов] [Сайт] [Звёзды]

[Install in VS Code] [Install in Cursor]

[sbis-mcp-ru: API СБИС (Saby) в ИИ-ассистенте. 45 методов, поиск метода словами, гейт безопасности перед записью]

Каталог собран из первоисточника (справка saby.ru/help/integration/api) и лежит в репозитории как sbis_mcp/endpoints.yaml: 45 методов, из них 19 на чтение, 21 на запись и 5 необратимых. Сервер исполняет ровно этот файл, поэтому таблица ниже не может разойтись с кодом.

Установка

Два пути, выбирайте по тому, есть ли у вас терминал.

Без терминала: файл .mcpb

Скачайте sbis-mcp-ru-vX.Y.Z.mcpb со страницы релизов и откройте двойным щелчком. Claude Desktop поставит сервер сам и спросит ключи в отдельном окне, в конфиг лезть не придётся. Нужен Python 3.10 или новее: зависимости сервер доставит себе при первом запуске.

В терминале

bash
uvx sbis-mcp-ru

Claude Desktop, claude_desktop_config.json:

json
{  "mcpServers": {    "sbis-mcp": {      "command": "uvx",      "args": ["sbis-mcp-ru"],      "env": { "SBIS_SESSION_ID": "..." }    }  }}

Ключи

Команда СБИС.Аутентифицировать по логину и паролю сотрудника с правами на API возвращает идентификатор сессии. Сессия живёт ограниченное время и обновляется той же командой, пароль в сервере не хранится.

переменнаясекретчто это
SBIS_SESSION_IDдаИдентификатор сессии Saby (СБИС) от команды СБИС.Аутентифицировать.

Ключи можно не держать в окружении: сервер умеет кабинеты и кладёт их в ~/.ru-mcp/cabinets.json с правами 600, вне репозитория.

Карта методов

разделметодовчтениезаписьнеобратимое
Документы и этапы19784
Аутентификация9360
Электронная подпись4220
МЧД4211
Наши организации3210
Сервисные команды3210
Сотрудники2020
Контрагенты1100
всего4519215

Как это выглядит в чате

Вы: список документов

sbis_search_methods("список документов")  sbis_spisok_dokumentov               POST /service/  чтение  sbis_spisok_dokumentov_po_sobytiyam  POST /service/  чтение  sbis_spisok_izmeneniy                POST /service/  чтение
sbis_describe_method("sbis_spisok_dokumentov")  Возвращает список документов указанного типа  POST online.sbis.ru/service/  параметры: {"jsonrpc":"2.0","method":"СБИС.СписокДокументов","params":{},"id":0}  класс доступа: чтение
sbis_call_method("sbis_spisok_dokumentov", {})

Три инструмента вместо 45 функций: агент ищет метод словами, читает его карточку и вызывает. Запись и необратимое спрашивают подтверждение.

Что обычно просят:

  • Выгрузить список документов нужного типа за период.
  • Посмотреть, на каком этапе застряли исходящие документы.
  • Проверить статус сертификатов подписи до того, как они истекут.
  • Найти контрагента и его идентификатор участника ЭДО.

Безопасность

Сервер работает на машине пользователя, ключи наружу не уходят. У методов три класса доступа: чтение идёт сразу, запись и необратимые действия требуют подтверждения. Заголовок авторизации не покидает домены сервиса даже при вызове произвольного пути.

Проверить установку

bash
uvx sbis-mcp-ru doctor

Печатает, сколько методов загрузилось, найдены ли ключи и откуда. Секреты не показывает. С --live делает один дешёвый реальный вызов на чтение.

Родня

Ядро вынесено в schema-mcp-core. Соседние серверы: vk-mcp-ru, diadoc-mcp-ru, chestny-znak-mcp-ru. Маркетплейсы живут отдельно: marketplaces-mcp-ru.

MIT. Автор Илья Утов.

Все проекты одним списком, разобранные по назначению: ilyautov.github.io.

Privacy Policy

sbis-mcp-ru не собирает и не передаёт ваши данные: ключи лежат локально в ~/.ru-mcp/cabinets.json, запросы идут только в API СБИС (Saby), телеметрии нет. Полный текст: PRIVACY_POLICY.md.

Source: README.md at commit fbd5c14

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.3.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts