1c-rest-mcp

io.github.theYahia由 GitHub 账号 theYahia 发布v1.2.1更新于 Oct 24, 2026

MCP server for 1C Enterprise — ERP catalogs, documents via REST API (Russia)

已验证STDIO仅桌面数据库商业与电商

概览

AI 生成的概览

本地 MCP 服务器,让 AI 助手通过 1C:Enterprise 平台的 OData 接口读取和写入实时业务数据。

可以做什么
通过 OData 3.0 发现元数据,浏览 1C 数据库中的目录、单据、各类寄存器与常量,包括余额、周转等会计寄存器虚拟表,并支持批量操作与变更跟踪(11 个模块共 34 个工具)。创建和更新单据、过账与取消过账、设置删除标记。提供 off、preview、approval 三种写入安全闸门,可逆操作返回回滚令牌,不可逆操作会标注原因。内置针对常见俄罗斯 1C 配置的预设,含现成查询示例。
适用场景
当助手需要在不编写报表、BSL 代码或配置扩展的情况下查询或修改实时 1C:Enterprise 数据库数据时适用,例如处理 ERP 目录与单据。
运行要求
以 stdio 本地运行,需要 Node.js 18+(npx 包)。需要已发布的 OData 3.0 端点,并通过 ONEC_BASE_URL、ONEC_LOGIN、ONEC_PASSWORD 提供凭据;ONEC_WRITE_MODE 控制写入闸门。
安装前请注意
该服务器可写入实时业务数据库:创建和更新单据、过账与取消过账、设置删除标记。写入闸门默认关闭,允许写入前应启用 preview 或 approval。数据库凭据通过环境变量传入。README 提醒 OData 查询可能静默返回看似合理但错误的数字,并提供按数据库收费的核对服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 1c-rest-mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

aprovodka

MCP server for 1C:Enterprise — an AI agent reads and writes live 1C database data through the platform's own OData 3.0 interface. No configuration extension, no BSL.

[npm] [License: MIT]

34 tools · 11 modules · Node.js 18+ · stdio + Streamable HTTP

📄 Сайт продукта и услуги · 📖 Руководство пользователя (рус., 75 стр.) · 💬 Заказать сверку цифр

bash
npx -y @theyahia/aprovodka

Схема вашей базы + сверка цифр — 12 000 ₽

Сервер бесплатный и открытый. Платная — работа по вашей базе, где всё держится на одном: самоделка на OData не падает, она молча отдаёт неверное число. Проверить это можно только на конкретной конфигурации.

Что входит, за одну информационную базу:

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

Срок — 5 рабочих дней. Приёмка — по совпадению цифр, критерий согласуем до начала. Предоплата 100%, чек НПД. Условия целиком — договор-оферта.

📧 [email protected] · 💬 @metarebalancer — ответим в рабочие дни, 10:00–19:00 МСК. Напишите, какая у вас конфигурация и опубликован ли OData.


What it does

Business data in a 1C database is closed to outside programs until someone writes a report, an external data processor, or an exchange for it. aprovodka removes that cycle: the OData 3.0 interface is published by the platform itself, and that is enough.

Coverage: catalogs, documents, all four register kinds, the accounting register including its virtual tables (balances, turnovers, ext-dimensions), constants, batch operations, change tracking, and metadata discovery.

What makes it different from the rest of the niche:

  • No BSL, nothing installed into the configuration. Six of the eight comparable servers require an extension in the database; the two that don't, don't touch live data.
  • Writes, not just reads. Create and update documents, post and unpost, deletion marks.
  • A write-safety gate. Three modes — off, preview, approval — intercepted at a single point in the client, so no tool can bypass it. Reversible operations return a rollback token; irreversible ones are labelled with the reason.
  • Curated configuration presets for БП 3.0, УТ 11, ЗУП 3.1 and ERP 2 — key entities with Russian descriptions, ready query examples, and the traps people hit.

Configuration

json
{  "mcpServers": {    "aprovodka": {      "command": "npx",      "args": ["-y", "@theyahia/aprovodka"],      "env": {        "ONEC_BASE_URL": "https://server/base/odata/standard.odata",        "ONEC_LOGIN": "user",        "ONEC_PASSWORD": "pass"      }    }  }}

Set ONEC_WRITE_MODE to preview or approval to enable the write gate (off by default, byte-for-byte the previous behaviour). Full environment reference, per-tool documentation and the module filter are in the monorepo README.

Where the code lives

Source, tests and releases live in the theYahia/WWmcp monorepo, alongside the shared @theyahia/mcp-core. This repository is the product's front page.

Migrating from @theyahia/1c-rest-mcp

The package was renamed in v4.0.0 — «1С» may not be used in a product's name (Infostart rules, § 2.2.11). The old package is frozen at v3.2.0.

  • Install: npx -y @theyahia/aprovodka
  • Binary renamed: 1c-rest-mcp → aprovodka
  • Server name in the MCP handshake is now aprovodka — update the key if you pinned it

Everything else is unchanged: tool names, arguments, return formats, prompts, and the ONEC_* environment variables (the 1C_* aliases still work). No config changes beyond the command.

Trademarks

aprovodka is an independent product. It is not a product of 1C Company and is not affiliated with it. «1С» and «1С:Предприятие» are trademarks of 1C Company; this product's name contains neither. Interaction with the database happens only through the open OData interface the platform itself provides.

License

MIT


Telegram: @vhodvai

来源:README.md,提交 8951ddc

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.2.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分