Skip to main content
Glama
kyvirok for 1C

kyvirok for 1C

kyvirok for 1C

1С в Codex: спросите о документах, предложите изменение и проверьте его до записи. Локальный MCP-сервер подключается к 1С:Предприятию 8 через стандартный интерфейс OData. Менеджер продолжает работать в своём окне 1С, пока помощник готовит ответ.

English. An open-source 1C:Enterprise (1С) OData MCP server for Codex. Read business records, preview a field-by-field change, and let a human approve before writing. Supports creation and updates of permitted catalog items and draft documents. Each company supplies its own connection and access rules.

Скачать проект ZIP · Настройка и подключение · Лицензия MIT

Что попробовать

Просьба менеджера

Что произойдёт

«Найди сегодняшние заказы этого покупателя»

Помощник запросит доступные документы в базе и покажет выборку.

«В черновике заказа № 125 поменяй комментарий на “Самовывоз в пятницу”»

Вы увидите конкретный заказ, прежнее и новое значение. Запись потребует отдельного подтверждения.

«Подготовь карточку новой номенклатуры»

Сервис покажет поля будущей карточки. После подтверждения 1С примет запись или сообщит, каких данных требует ваша конфигурация.

Для похожих просьб разработка отдельной команды не требуется. Администратор выбирает справочники, виды документов и поля, которые разрешено создавать или менять. Права пользователя в самой 1С также обязательны. Проведение документов, формирование штатной печатной формы УПД, электронная подпись и отправка по ЭДО выходят за рамки версии 0.1.2.

Related MCP server: onec-odata-mcp

Как проходит подтверждение

Сначала коннектор получает объект и показывает поля «было» и «станет». Для нового объекта показывает передаваемые поля. Менеджер проверяет имя базы, объект, номер или ключ, затем подтверждает запись в форме MCP-клиента. Предпросмотр одноразовый и действует пять минут. Если человек отказался или его программа не поддерживает подтверждение, запись пропускается. Изменённый за время просмотра документ нужно проверить ещё раз. Разрешение на запись табличной части даёт возможность заменить всю таблицу, включая удаление строк. В примере правил такая возможность выключена.

Для сотрудника

Версия 0.1.2 добавляет диагностику разрешений, понятные причины отмены формы и повторное чтение записанного объекта. ZIP содержит собранный сервер, пример правил записи, исходники и тесты. Установщик для Windows принимает HTTPS и HTTP в корпоративной сети. Подключить рабочее место · Изменения версии

Открой kyvirok for 1C. Вместе с администратором подключи тестовую копию 1С по инструкции. Найди черновик заказа и попроси изменить его комментарий. Сначала отмени предложение и проверь в 1С, что текст прежний. Затем повтори запрос, подтверди изменение и сверь результат в самой 1С.

Состояние версии

Тесты запускают настоящий процесс MCP и локальный имитатор OData с вымышленными данными. Они проверяют создание, изменение, причины отмены, срок подтверждения, повторное применение, смену версии объекта и правил, отсутствие повторной записи при обрыве связи и чтение результата. Отдельно проверяются Windows-установка и запуск сервера из полного ZIP. Совместимость с вашей конфигурацией, правами, обязательными реквизитами, обработчиками записи и формой подтверждения установленного клиента проверяется на тестовой копии. Для работы нескольких менеджеров проверьте, что ваша публикация 1С отклоняет устаревший заголовок If-Match.

Проект использует исходный код hacker-cb/1c-odata. Подключение, чтение метаданных и работа с OData взяты из этого проекта. Здесь добавлены предпросмотр, подтверждение, правила записи и упаковка для Codex. См. лицензию исходного проекта и уведомления о сторонних компонентах.

Available Tools

12 tools
apply_reviewed_changeЗаписать проверенные изменения в 1СB
Destructive

Request explicit human approval for the immutable preview. Decline or cancel skips the write. Never automatically re-create a plan after an unknown write outcome.

Inputs: reviewId (required).

countCount rowsA

Count rows in an entity set matching an optional raw OData $filter.

Inputs: entitySet (required), connection (required), filter.

describe_entityDescribe entityA

Describe one entity: properties (name/type/nullable/maxLength), keys, navigation properties, value storages and kind. Accepts an entity-set name or an entity-type name.

Inputs: entity (required), connection (required).

get_entityGet entityA

Fetch one entity by key (Ref_Key GUID) — the right way to look up a record by id. For several ids, call this once per id rather than one query with a long "Ref_Key eq … or …" filter (1С rejects over-long URLs with HTTP 404). For a projection or $expand of a single record, use query with filter "Ref_Key eq guid'…'".

Inputs: key (required), entitySet (required), connection (required), compact.

get_write_policyПроверить разрешения записи в 1СA
Read-only

Show policy path, loaded state, allowed entities/operations/fields, and whether a restart is required. Does not read credentials or contact 1C.

Inputs: no named parameters.

list_connectionsList connectionsA

List configured 1С OData connections (name, label, base URL, login, timezone, where the password is stored). Never returns passwords.

Inputs: no named parameters.

list_entitiesList entitiesB

List entity sets of a 1С base, optionally filtered by kind and a name substring. Kinds: catalog, constant, document, information-register, accumulation-register, exchange-plan, chart-of-characteristic-types, document-journal, business-process, task, chart-of-accounts, chart-of-calculation-types, calculation-register, accounting-register. Paginated via top/skip.

Inputs: connection (required), top, kind, name, +1 more.

list_enumsList enumsB

List enumeration types and their members, optionally filtered by a name substring.

Inputs: connection (required), name.

preview_changeПоказать изменения в 1СB

Prepare creation or editing of one catalog item or draft document. Discover fields with describe_entity. A table field replaces ALL its rows. Show the returned changes to the manager.

Inputs: fields (required), entitySet (required), operation (required), connection (required), +1 more.

queryQuery dataA

Read-only OData query against an entity set ($filter, $select, $expand, $orderby, $top/$skip, optional count). Large results are truncated to a byte budget — use select to keep them small. With expand, also include the navigation property in select (e.g. "Партнер/Description") or the expanded data is dropped. To look up records by key use get_entity (once per id) — do NOT build long "Ref_Key eq … or …" filters; 1С rejects over-long URLs with HTTP 404 (keep any OR-batch ≤ ~10). For register balances/turnovers/totals use register_query, not raw "*_RecordType" rows.

Inputs: entitySet (required), connection (required), top, skip, +6 more.

refresh_metadataRefresh metadataA

Drop the cached $metadata for a connection and re-download it. Use after the 1С configuration changed.

Inputs: connection (required).

register_queryQuery register virtual tableA

Server-side analytics on a 1С register — stock balances, period turnovers/sales totals, slices. 1С aggregates by the register dimensions and returns compact pre-summed rows; prefer this over query on raw "*_RecordType" records for totals/by-dimension breakdowns. Use dimensions (comma-separated) to control grouping. Tables: balance/turnovers/balanceAndTurnovers (accumulation), sliceFirst/sliceLast (information), drCrTurnovers/extDimensions/recordsWithExtDimensions (accounting). Dates are ISO 8601. Paginated via top/skip.

Inputs: table (required), register (required), connection (required), top, +11 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 12 tools

    Disambiguation4/5

    Tools have largely distinct roles: connection discovery, metadata inspection, read queries, register analytics, and a two-step write approval flow. Minor overlap remains because get_entity, query, and count all touch reads, but the descriptions give clear selection guidance.

    Naming Consistency4/5

    Most names use consistent snake_case verb_noun patterns such as list_entities, get_entity, preview_change, and apply_reviewed_change. The bare names query and count are minor deviations but remain readable and consistent in style.

    Tool Count5/5

    Twelve tools is a well-scoped set for connection discovery, metadata inspection, querying, analytics, and guarded writes. Each tool appears to earn its place without excessive surface area.

    Completeness4/5

    Read and discovery coverage is strong, and the preview/apply approval flow covers safe create/edit operations. However, deletion and broader lifecycle operations are not exposed, and connection management is list-only, leaving some gaps.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Bridges AI agents to 1C:Enterprise via OData, enabling natural language queries of business entities like counterparties and invoices with read-only access.
      8
      82 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Lets Claude Code and other MCP clients read and propose changes against a live 1C:Enterprise 8.3 OData database, replacing INN, account, phone, and org/person names with deterministic tokens before any data reaches the model's context. Writes are prepared as token-only previews and only executed after explicit human confirmation, with a leak guard ensuring protected values never surface in responses, errors, or logs.
      10
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables users to ask natural-language questions about live 1C:Enterprise data and receive answers from read-only OData sources, covering sales, inventory, items, and counterparties; supports direct connections or an SSH tunnel for IP-allowlisted installations.
      9
      MIT