sbis-mcp
Read-only MCP server for accessing Saby (SBIS) EDI documents via JSON-RPC API. Enables listing, reading documents, and fetching attachments using natural language.
README
sbis-mcp
⚠️ Неофициальный проект. Не аффилирован с ООО «Тензор» / Saby. Требуется ваш собственный аккаунт СБИС (Saby) с доступом к API. v0.1 — только чтение. КЭП и подписание документов не поддерживаются.
⚠️ Unofficial, third-party project. Not affiliated with Tensor LLC / Saby. Requires your own Saby (SBIS) account with API access. v0.1 is read-only. Digital signatures (КЭП) are out of scope.
MCP-сервер для чтения электронных документов Saby (СБИС) через JSON-RPC 2.0 API.
Инструменты v0.1 (read-only)
| Tool | SBIS method |
|---|---|
sbis_config |
— |
sbis_current_user |
СБИС.ИнформацияОТекущемПользователе |
sbis_list_documents |
СБИС.СписокДокументов |
sbis_list_documents_by_event |
СБИС.СписокДокументовПоСобытиям |
sbis_read_document |
СБИС.ПрочитатьДокумент |
sbis_list_counterparties |
СБИС.СписокКонтрагентов |
sbis_get_attachment |
GET по временной ссылке |
Запись (ЗаписатьДокумент, ПодготовитьДействие и др.) — v0.2, флаг writable (по умолчанию false).
Быстрый старт
Конфигурация
Через env (рекомендуется):
export SBIS_LOGIN="<ВАШ_ЛОГИН>"
export SBIS_PASSWORD="<ВАШ_ПАРОЛЬ>"
# опционально:
export SBIS_BASE_URL="https://online.sbis.ru" # тест: https://fix-online.sbis.ru
export SBIS_ACCOUNT="<НОМЕР_АККАУНТА>"
Через файл ~/.sbis-mcp/config.json:
{
"login": "<ВАШ_ЛОГИН>",
"password": "<ВАШ_ПАРОЛЬ>",
"baseUrl": "https://online.sbis.ru",
"writable": false
}
Claude Desktop
См. examples/claude_desktop_config.json.
Сборка и запуск
npm install
npm run build
npm start
Лимиты API (из документации Saby)
- Аутентификация: ≤300 вызовов/мин с IP
- Сессия
sid: ~21 день (заголовокX-SBISSessionID) - Вложение: ≤73 МБ, до 10 вложений/документ
- Временные ссылки на файлы: ~1 месяц
Источник: saby.ru/help/integration/api/techreq_edo
Документация API
Live-smoke (вручную)
Скрипт scripts/live-smoke.mjs — не в CI, требует реальный аккаунт с тарифом «Обмен с контрагентами»:
npm run build
SBIS_LOGIN="<ВАШ_ЛОГИН>" SBIS_PASSWORD="<ВАШ_ПАРОЛЬ>" node scripts/live-smoke.mjs
Тесты
npm test
Тесты используют setRpcClient() и фикстуры из публичной документации — без живого аккаунта.
English
sbis-mcp exposes seven read-only MCP tools over the official Saby (SBIS) EDI JSON-RPC API. Configure via SBIS_LOGIN / SBIS_PASSWORD or ~/.sbis-mcp/config.json. Session id (sid) is kept in process memory only. Write operations are disabled until v0.2 (writable: false).
License
MIT — see LICENSE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.