
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)
概覽
本機 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 控制寫入閘門。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 1c-rest-mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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.
34 tools · 11 modules · Node.js 18+ · stdio + Streamable HTTP
📄 Сайт продукта и услуги · 📖 Руководство пользователя (рус., 75 стр.) · 💬 Заказать сверку цифр
Схема вашей базы + сверка цифр — 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
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版本歷史
1- v1.2.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分