Честный знак MCP (RU) — коды маркировки, ГИС МТ, СУЗ

io.github.ilyautovPublished by GitHub account ilyautovv0.3.0Updated Oct 24, 2026

API Честного знака в ИИ-ассистенте: коды маркировки, эмиссия в СУЗ, отчёты

Overview

AI-generated overview

Lets an assistant query and act on Russian Chestny Znak marking data (GIS MT and SUZ) via the True API, including code checks, emission orders and reports.

What you can do
Exposes the Chestny Znak (GIS MT and SUZ) True API to an assistant through three meta-tools: search methods by words, read a method card, and call it. The catalog holds 33 methods, 24 read and 9 write, covering marking code checks, codes owned by a participant, emission orders in SUZ, product routes by GTIN, receipts, GIS MT documents and application reports. Write calls require confirmation, and each method card shows a verification status.
When to use it
Useful when an assistant needs to check batches of marking codes before accepting goods, look up the status of emission orders, export codes belonging to a participant, or trace a product route by GTIN. It is aimed at Russian marking-compliance workflows rather than general web or database access.
Requirements
Runs locally as a stdio process, installed with uvx from the PyPI package chestny-znak-mcp-ru, or via a .mcpb file in Claude Desktop. Needs Python 3.10 or newer. Requires a GIS MT token supplied as the CRPT_TOKEN environment variable; the token is obtained by signing data with a qualified electronic signature (Chestny Znak / CryptoPro) and lasts about 10 hours. Network access to the Chestny Znak API is required.
Before you install
The CRPT_TOKEN secret is required and expires in roughly 10 hours, so it must be refreshed; the private signing key stays outside the server. Nine of the 33 methods write data, including emission orders and application reports, and these ask for confirmation before running. Method metadata is marked unverified because no machine-readable API spec was available, so paths, verbs and parameters should be checked against documentation and a live environment. Requests go only to the Chestny Znak API.

Installation

In SourceWeft

  1. Open Честный знак MCP (RU) — коды маркировки, ГИС МТ, СУЗ in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

chestny-znak-mcp-ru

API Честного знака (ГИС МТ и СУЗ) для ИИ-ассистентов: сведения о кодах маркировки, выгрузка по фильтру, маршрут товара по GTIN, заказы на эмиссию, отчёты о нанесении, проверка подлинности.

[PyPI] [CI] [License: MIT] [Методов] [Сайт] [Звёзды]

[Install in VS Code] [Install in Cursor]

[chestny-znak-mcp-ru: API Честного знака (ГИС МТ) в ИИ-ассистенте. 33 метода, поиск метода словами, гейт безопасности перед записью]

Каталог собран из первоисточника (открытые SDK True API и СУЗ) и лежит в репозитории как crpt_mcp/endpoints.yaml: 33 метода, из них 24 на чтение, 9 на запись и 0 необратимых. Сервер исполняет ровно этот файл, поэтому таблица ниже не может разойтись с кодом.

Документация ЦРПТ открыта: https://docs.crpt.ru/gismt/True_API/. Машиночитаемой спеки при этом нет, /api/v3/true-api/swagger.json отдаёт 401, поэтому каталог не сгенерирован из спеки, а собран по открытым SDK, и у каждой записи стоит verified: false. Это карта для разведки: пути надёжные, глаголы и параметры сверяются с документацией и на живом контуре. Сервер показывает этот статус в describe_method, чтобы агент не выдавал догадку за факт.

Установка

Два пути, выбирайте по тому, есть ли у вас терминал.

Без терминала: файл .mcpb

Скачайте chestny-znak-mcp-ru-vX.Y.Z.mcpb со страницы релизов и откройте двойным щелчком. Claude Desktop поставит сервер сам и спросит ключи в отдельном окне, в конфиг лезть не придётся. Нужен Python 3.10 или новее: зависимости сервер доставит себе при первом запуске.

В терминале

bash
uvx chestny-znak-mcp-ru

Claude Desktop, claude_desktop_config.json:

json
{  "mcpServers": {    "crpt-mcp": {      "command": "uvx",      "args": ["chestny-znak-mcp-ru"],      "env": { "CRPT_TOKEN": "..." }    }  }}

Ключи

GET /api/v3/true-api/auth/key отдаёт случайные данные, их подписывают КЭП через КриптоПро на машине пользователя, а POST /api/v3/true-api/auth/simpleSignIn меняет подпись на токен. Токен живёт около 10 часов. Закрытый ключ в сервер не попадает.

переменнаясекретчто это
CRPT_TOKENдаТокен ГИС МТ, выдаётся в обмен на данные, подписанные КЭП. Живёт около 10 часов.

Ключи можно не держать в окружении: сервер умеет кабинеты и кладёт их в ~/.ru-mcp/cabinets.json с правами 600, вне репозитория.

Карта методов

разделметодовчтениезаписьнеобратимое
Проверка кодов8710
Коды маркировки6510
Заказы на эмиссию5320
Служебные4400
Чеки3120
Авторизация2110
Документы ГИС МТ2200
Отчёты о нанесении2020
Товары и GTIN1100
всего332490

Как это выглядит в чате

Вы: коды маркировки в обороте

crpt_search_methods("коды маркировки в обороте")  crpt_gis_cises_my      GET  /api/v3/true-api/cises/my  чтение  crpt_gis_cis_outcheck  GET  /api/v1/cis/outCheck       чтение  crpt_suz_codes         GET  /api/v3/codes              чтение
crpt_describe_method("crpt_gis_cises_my")  Коды маркировки, принадлежащие участнику оборота  GET markirovka.crpt.ru/api/v3/true-api/cises/my  параметры: нет  класс доступа: чтение
crpt_call_method("crpt_gis_cises_my", {})

Три инструмента вместо 33 функций: агент ищет метод словами, читает его карточку и вызывает. Запись и необратимое спрашивают подтверждение.

Что обычно просят:

  • Проверить пачку кодов маркировки перед приёмкой товара.
  • Посмотреть статус заказа на эмиссию кодов в СУЗ.
  • Выгрузить коды, принадлежащие участнику оборота.
  • Посмотреть маршрут товара по GTIN.

Безопасность

Сервер работает на машине пользователя, ключи наружу не уходят. У методов три класса доступа: чтение идёт сразу, запись и необратимые действия требуют подтверждения. Заголовок авторизации не покидает домены сервиса даже при вызове произвольного пути.

Проверить установку

bash
uvx chestny-znak-mcp-ru doctor

Печатает, сколько методов загрузилось, найдены ли ключи и откуда. Секреты не показывает. С --live делает один дешёвый реальный вызов на чтение.

Родня

Ядро вынесено в schema-mcp-core. Соседние серверы: vk-mcp-ru, diadoc-mcp-ru, sbis-mcp-ru. Маркетплейсы живут отдельно: marketplaces-mcp-ru.

MIT. Автор Илья Утов.

Все проекты одним списком, разобранные по назначению: ilyautov.github.io.

Privacy Policy

chestny-znak-mcp-ru не собирает и не передаёт ваши данные: ключи лежат локально в ~/.ru-mcp/cabinets.json, запросы идут только в API Честный знак (ГИС МТ и СУЗ), телеметрии нет. Полный текст: PRIVACY_POLICY.md.

Source: README.md at commit 8e285a9

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.3.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts