mcpField
1
1c-rest-mcp

1c-rest-mcp

Local
github.comBusiness & Marketing12Updated 8w ago

About 1c-rest-mcp

aprovodka is an MCP server for reading and writing 1C:Enterprise business data through the platform’s OData 3.0 interface, without a configuration extension or BSL code. It is for teams connecting AI agents to 1C, with guarded writes and presets for common configurations.

Key features

  1. 01Read catalogs, documents, and register types
  2. 02Create, update, post, and unpost documents
  3. 03Access data through OData 3.0
  4. 04Preview and approval gates for writes
  5. 05Presets for common 1C configurations

Use cases

  1. 01Let an agent query 1C business data
  2. 02Create or update 1C documents
  3. 03Preview or approve writes before execution

MCP support

It exposes tools for 1C data access, writes, batch operations, change tracking, and metadata discovery to MCP clients. It supports stdio and Streamable HTTP.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"theyahia-1c-rest": {
"command": "npx",
"args": [
"-y",
"@theyahia/1c-rest-mcp"
]
}
}
}
Run commandnpx -y @theyahia/1c-rest-mcp

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@theyahia/1c-rest-mcp1.2.1

Tools

9

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
typeenumNoFilter by type: all — all entities, catalogs — catalogs (Catalog_*), documents — documents (Document_*), registers — registers (AccumulationRegister_*, InformationRegister_*), reports — reports (Report_*)all | catalogs | documents | registers | reports
searchstringNoSubstring to search for in the entity name (for example, 'Номенклатура')

Details

From the project 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 стр.) · 💬 Заказать сверку цифр

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

{
  "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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.