sbis-mcp

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.

Category
Visit Server

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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured