rlm-tools-bsl

An MCP server for analyzing large 1C codebases with less context: the agent runs scripts server-side and gets only a compact result

MCP serverMedium riskRussian stack

dach-coin/rlm-tools-bsl

Install

curl -LO https://raw.githubusercontent.com/Dach-Coin/rlm-tools-bsl/master/simple-install-from-pip.sh
chmod +x simple-install-from-pip.sh && ./simple-install-from-pip.sh

Linux: installs the PyPI package and registers a systemd service.

This is third-party code. Review the repository files before installing.

What it does

It adapts rlm-tools to 1C: instead of reading whole files, the agent sends a short Python script that runs in a sandbox next to the sources, and only the printed result reaches the context. The sandbox has BSL helpers: list module procedures, read one procedure body, build call graphs, find references to a metadata object, expand defined types. Designer and EDT dumps are supported. An optional SQLite index speeds up large configurations, and with git present, full-text search via git grep is enabled.

Who it is for. For 1C developers, team leads and analysts who explore large unfamiliar configurations.

Good fit when

  • You need to understand an unfamiliar subsystem quickly without setting up RAG
  • The agent's context fills up reading ERP modules
  • You need daily review of fresh code from the repository

Not a fit when

  • You need a full dependency graph of the whole configuration
  • You need semantic search over object descriptions

Example request

Figure out how the АвансовыйОтчет document posts and describe its register records

Limitations

Works on sources on disk and does not read the live base. On slow disks and ERP-sized configurations without a prebuilt index, timeouts are likely. The llm_query helpers need an OpenAI-compatible or Anthropic API key; everything else works without them. Docker Desktop on Windows is much slower, so install on the host.

How to disable. Stop the rlm-tools-bsl service and remove the server from the client config.

MCP

Transport
http
Authentication
not required
Environment variables
Environment variables
RLM_STRATEGY_MODE
Session start mode: slim by default or full
RLM_UPDATE_INDEX_ON_START
Rebuild indexes on container start

Security check

  • Runs agent-provided Python scripts in a sandbox on the host with the sources
  • Installs as a system service

README in short

The README opens with installation: scripts for Windows with a service and Linux with systemd, Docker and building from source, then the client config. It explains RAG versus RLM, lists scenarios where the tool fits and where it does not, and compares several MCP servers on one configuration. It covers the project registry, indexing, session start modes and a ready agent instruction. MIT licensed.

FAQ

Why a password for project registration?

It guards index management and registry changes so the agent cannot run them without human confirmation.

Can it be used alongside RAG?

Yes, the README covers combined use: RLM for targeted analysis, RAG for fuzzy questions.

Editors’ pick

A skills library that gives coding agents a development process: brainstorming, planning, TDD, subagents and code review

PluginMedium risk286.6K
Editors’ pick

Small composable skills for engineering with agents: plan grilling, TDD, bug diagnosis, code review and architecture

SkillLow risk262K

Reference MCP servers

Model Context Protocol servers

Editors’ pick

Official reference MCP servers: Filesystem, Fetch, Git, Memory, Sequential Thinking, Time and Everything

MCP serverMedium risk90.3K
Editors’ pick

Up-to-date, version-specific library docs and code examples in your agent's context, via MCP or a CLI plus skill

MCP serverMedium risk62K