drxinfra knowledge base for Directum RX

io.github.drxinfra由 GitHub 帳號 drxinfra 發布v0.1.0更新於 Nov 7, 2026

Directum RX ops: find errors by log line, articles, sizing calculators, versions, checklists

已驗證Streamable HTTP可網頁執行雲端與基礎設施知識與記憶安全與監控

概覽

AI 產生的概覽

供 Directum RX 維運使用的唯讀知識庫:依日誌行查錯誤、讀文章、估算伺服器規格、查版本與清單。

可以做什麼
  • 以日誌行或錯誤文字比對約 200 筆 Directum RX、PostgreSQL、RabbitMQ、Elasticsearch、Keycloak、nginx、Docker 與 Kubernetes 錯誤
  • 依 id 或站台網址讀取錯誤頁與部落格文章全文
  • 搜尋站台的文章、錯誤頁與工具頁
  • 估算 RX 部署所需的伺服器、vCPU、記憶體與磁碟,或本機 AI 助理所需硬體
  • 查詢 RX 4.12 與 25.2 支援的 OS、Docker、資料庫、RabbitMQ、Elasticsearch 與 Kubernetes 版本
  • 逐項檢視 44 項升級清單與 22 題加權安全自評
適用情境
適合維運與整合 Directum RX 的管理員,讓助理直接解讀日誌錯誤、規劃容量、核對支援的元件版本、準備升級或進行安全自評,不必從網頁複製內容。
執行需求
需要遠端 Streamable HTTP 端點;不需登入、API 金鑰或環境變數。僅支援 stdio 的用戶端需透過 mcp-remote 之類的橋接。內容為俄文。
安裝前請注意
服務為唯讀且公開,不向外連線、不保存參數,但日誌行與搜尋詞會傳送給第三方站台。送出前請從日誌移除密碼、權杖、主機名稱與個人資料。另有頻率、大小與回應時間限制。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 drxinfra knowledge base for Directum RX,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.drxinfra%2Frxkb/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "drxinfra-knowledge-base-for-directum-rx": {
      "type": "http",
      "url": "https://drxinfra.ru/mcp"
    }
  }
}

README

rxkb: drxinfra knowledge base for Directum RX over MCP

Public MCP server with the drxinfra.ru knowledge base for Directum RX administrators. An AI agent (Claude Code, Cursor, Claude Desktop, VS Code, Cline and any client with remote MCP) asks it directly: look up an error by a log line in a reference of about 200 errors (RX services, Directum Launcher, PostgreSQL, RabbitMQ, Elasticsearch, certificates, Keycloak, nginx, Docker, Kubernetes), read articles, search the site, size servers for RX and for a local AI assistant with the same numbers as the site calculators, check component versions, walk the upgrade checklist and the weighted security self-assessment. Endpoint https://drxinfra.ru/mcp (Streamable HTTP, MCP 2026-07-28 and earlier), read-only, no sign-in, no outbound connections, request contents are not stored. Content is in Russian.

sh
claude mcp add --transport http rxkb https://drxinfra.ru/mcp

MCP-сервер с базой знаний drxinfra.ru для администраторов Directum RX. ИИ-агент спрашивает его сам, без браузера и копирования со страниц: что значит строка из лога, как это проверить и исправить, сколько серверов нужно под RX, какое железо под локальную модель ИИ, какие версии PostgreSQL и Elasticsearch поддерживаются, что не забыть при обновлении.

Адрес: https://drxinfra.ru/mcp. Только чтение, без регистрации и ключей. Страница для людей: drxinfra.ru/mcp.html.

Подключение

Claude Code

sh
claude mcp add --transport http rxkb https://drxinfra.ru/mcp

Cursor (~/.cursor/mcp.json или .cursor/mcp.json в проекте)

json
{ "mcpServers": { "rxkb": { "url": "https://drxinfra.ru/mcp" } } }

VS Code (.vscode/mcp.json)

json
{ "servers": { "rxkb": { "type": "http", "url": "https://drxinfra.ru/mcp" } } }

Claude Desktop и claude.ai: Settings → Connectors → Add custom connector, адрес https://drxinfra.ru/mcp.

Другие клиенты (Cline, Roo Code, Continue, OpenCode, Cherry Studio и агенты на моделях DeepSeek, Qwen, GigaChat): тип сервера Streamable HTTP, тот же адрес. Клиенту, который умеет только stdio, поможет мост: npx -y mcp-remote https://drxinfra.ru/mcp.

Проверить, что сервер отвечает, можно без клиента:

sh
curl -s https://drxinfra.ru/mcp -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

Инструменты

ИнструментЧто делает
find_errorстрока лога или текст ошибки → статьи справочника: дословная ошибка, что это значит, как проверить, что сделать, ссылка. Те же шаблоны и тот же порядок, что в поле разбора на drxinfra.ru/errors
get_articleполный текст статьи блога или страницы ошибки по id или адресу на drxinfra.ru
search_siteпоиск по статьям, ошибкам и страницам инструментов с той же выдачей, что у поиска на сайте
size_rxсерверы, vCPU, память и диски под RX по ролям для прода, теста и препрода. Считает та же модель, что калькулятор сайзинга, и ответ содержит ссылку, по которой этот же расчёт открывается на сайте
size_aiжелезо под локального ИИ-помощника RX по нашим замерам llama.cpp на CPU: серверы, память, время ответа, качество ответов, сравнение моделей, как на сайте
component_versionsверсии ОС, Docker, PostgreSQL и совместимых СУБД, MS SQL, RabbitMQ, Elasticsearch и Kubernetes для RX 4.12 и 25.2 по документам вендора. Для других версий честно говорит, что данных нет
upgrade_checklistчек-лист обновления RX: 44 пункта в 7 этапах, отметки и ссылка, по которой они открываются на странице чек-листа
security_self_check22 вопроса самооценки безопасности с весами; по ответам балл, зона и список дыр в том же порядке, что на сайте

Каждый ответ заканчивается ссылкой на страницу drxinfra.ru, откуда он взят, и строкой, куда писать, если нужна помощь.

Примеры вопросов агенту:

  • «В логе WebServer Npgsql.PostgresException: 53300: sorry, too many clients already, что делать?»
  • «Посчитай серверы под RX на 1500 пользователей, Kubernetes, отказоустойчивость, 300 тысяч документов в год»
  • «Какое железо нужно под локальную модель для помощника RX на 500 сотрудников?»
  • «Какие версии Elasticsearch поддерживает RX 25.2?»
  • «Пройдём самооценку безопасности нашего контура по вопросам drxinfra»

Что сервер видит и что хранит

  • Сервер получает только аргументы вызова: строку лога, запрос поиска, параметры расчёта. Перед отправкой строки лога уберите из неё пароли, токены, имена серверов и персональные данные: для разбора нужна только сама ошибка.
  • Аргументы нигде не сохраняются. В журнале сервиса на каждый запрос одна строка: метод, имя инструмента, имя клиента, код ответа, размеры и время. Адресов и аргументов там нет. Журнал веб-сервера пишет обрезанный адрес (последний октет нулевой) и путь /mcp без тела запроса, как для всего сайта.
  • Сервер никуда не ходит: все данные в одном файле, собранном из исходников сайта при выкладке.
  • Ограничения: частота запросов с одного адреса, одновременные запросы, размер запроса и время ответа. Подробно: docs/security.md.

Как устроено

сайт (статьи, справочник ошибок, калькуляторы) ──hack/build-kb.py──▶ kb.json ──▶ rxkb ──Streamable HTTP──▶ ИИ-агент
  • hack/build-kb.py собирает kb.json из исходников сайта: markdown статей и ошибок, индекс поиска, модели калькуляторов, вопросы и чек-листы из разметки страниц. Только стандартная библиотека Python.
  • Модель сайзинга RX сервер выполняет как есть: это тот же assets/sizing.js, что считает в браузере, во встроенном интерпретаторе JavaScript (goja). Скрипт приходит из репозитория сайта при сборке, запрос передаёт только проверенные числа и значения из списка.
  • Разбор строки лога, поиск, железо под ИИ, самооценка и чек-лист повторены на Go строка в строку за скриптами сайта. hack/parity/site-check.mjs прогоняет одни и те же входы через сервер и через страницы сайта в headless Chrome и сравнивает ответы. Если скрипт сайта меняется, сервер пишет предупреждение при загрузке базы.
  • Протокол: официальный Go SDK MCP, режим без сессий, ответы JSON. Клиенты на протоколе 2026-07-28 работают через server/discover, старые (2025-11-25, 2025-06-18, 2025-03-26) через initialize.

Разработка

sh
go test ./...                                    # тесты на тестовом мини-сайте testdata/sitego run . -kb testdata/kb.json -listen 127.0.0.1:8790python3 hack/build-kb.py --site ../landing --out /tmp/kb.json   # база из настоящего сайтаgo run . -kb /tmp/kb.json -check                 # что в базеnode hack/parity/site-check.mjs --mcp http://127.0.0.1:8790/mcp --site https://drxinfra.ru/

Проверки перед коммитом и в CI: gofmt, go vet, go test, hack/leakcheck.sh, hack/vulncheck.sh (trivy по бинарнику и образу). Выкладка на сервер: docs/deploy.md. Изменения: CHANGELOG.md.

Лицензия

Код под Apache 2.0, см. LICENSE и NOTICE. Имена rxkb и drxinfra лицензия не передаёт: форк распространяйте под другим именем. Тексты статей и справочника drxinfra.ru в репозиторий не входят и под эту лицензию не попадают: сервер отдаёт их со ссылкой на сайт.

Directum RX — продукт компании Directum. Проект с вендором не связан.

來源:README.md,提交 84af67e

工具

8

component_versions

Directum RX component versions

Supported versions of Linux and Windows Server, Docker, PostgreSQL and compatible DBMS (Postgres Pro, Jatoba, Tantor), Microsoft SQL Server, RabbitMQ, Elasticsearch and Kubernetes tools for Directum RX, as summarized on drxinfra.ru from the vendor documents. The table covers RX 4.12 and RX 25.2 only; for other releases it says so instead of guessing. Optional filters by component and RX version.

輸入參數componentrx_version

find_error

Find a Directum RX error by log line

Match a log line, stack trace fragment or error message against the drxinfra.ru reference of about 200 errors seen around Directum RX: RX services and Directum Launcher, PostgreSQL, RabbitMQ, Elasticsearch, certificates and TLS, Keycloak and Kerberos, nginx, Docker and Kubernetes. Returns the best matches first, each with the exact error text, what it means, how to check and what to do (Russian), and the page link. Uses the same patterns and ranking as the search box on drxinfra.ru/errors/. Paste the error itself; remove passwords, tokens and personal data first.

輸入參數text必填limit

get_article

Get a drxinfra.ru article

Full text (Markdown, Russian) of a drxinfra.ru error page or blog article about Directum RX operations. Accepts an id as returned by find_error and search_site (errors/<slug> or blog/<slug>), a bare slug, or a drxinfra.ru URL such as https://drxinfra.ru/blog/rabbitmq-queue-growth.html. Links inside are absolute.

輸入參數id必填

search_site

Search drxinfra.ru

Search drxinfra.ru: blog articles on Directum RX infrastructure (PostgreSQL, RabbitMQ, Elasticsearch, backups, monitoring, logs, Kubernetes, security, updates, AI assistants), the error reference and the tool pages (calculators, config generators, checklists). Ranked exactly like the site search: Russian words match by stem and prefix, titles weigh most. Query in Russian works best (e.g. «очередь растёт», «pg_wal», «сертификат»). Returns titles, links, snippets and ids for get_article.

輸入參數kindlimitquery必填

security_self_check

Directum RX security self-assessment

The drxinfra.ru security self-assessment of a Directum RX installation: 22 weighted questions on backups, passwords, network exposure, updates, TLS, accounts, logs and more, from critical to low. Call without answers to get the questions with weights, hints and fixes; ask the user, then call with answers to get the score out of 100, the zone (red, yellow, green) and the gaps to close first, counted exactly as on drxinfra.ru/security-check.html, with a link that opens the same answers there.

輸入參數answers

size_ai

Hardware for a local AI assistant for Directum RX

How many CPU servers and how much memory a local LLM assistant for Directum RX needs (the model works with RX through MCP tools), from drxinfra measurements: llama.cpp on CPU, load tests with 1, 2 and 4 concurrent users and an answer quality check. Same model and numbers as drxinfra.ru/ai-sizing.html. Returns servers, memory, typical and p95 answer time, answers per hour, the quality score, and a comparison of all measured models on the chosen server.

輸入參數hwkvqphmodelshareuserstargettoolset

size_rx

Directum RX sizing

Servers, vCPU, RAM and disks for a Directum RX installation by role (application servers, RabbitMQ, DBMS, document storage, full-text search, Ario, Kubernetes, monitoring, backups) for production, test and pre-production. Runs the very model of the drxinfra.ru/sizing.html calculator, so the numbers are the same as on the page, and returns a link that opens this calculation there. An estimate for budget and requirements, not a load test. Every parameter is optional; omitted ones take the page defaults.

輸入參數dbhaosdcsftsk8sverariotestdocKBplacestore另有 14 個

upgrade_checklist

Directum RX upgrade checklist

The drxinfra.ru checklist for upgrading Directum RX with a way back: 44 items in 7 phases, from two weeks before the window through the rehearsal on a test contour, the rollback plan, the window itself, checks before users come back and the first day. Optionally marks done items and returns a link that opens the same marks on drxinfra.ru/upgrade-checklist.html, where they can be printed or saved.

輸入參數donephasewindowto_versionfrom_version

版本歷史

1
  1. v0.1.0最新Nov 7, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分