mcp-tool-priority

mcp-tool-priority is a cursor rule for coding agents from Desko77/cursor-1c-skills. It costs 21 tokens per session (5,872 once invoked), scanned B, original, MIT.

A routing guide for choosing the right MCP server for 1C and BSL work. MCP servers are connected tools that let an assistant inspect or change project data and code.

In plain words
What is it for?
Use it to select tools for BSL code, metadata, forms, queries, platform documentation, project errors, debugging, and tests.
Why use it?
It reduces errors caused by using a tool that is not intended for the task or skipping required checks.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/desko77/cursor-1c-skills/mcp-tool-priority
Clone the repo
git clone --depth 1 https://github.com/Desko77/cursor-1c-skills

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-tool-priority

README.md
[![agentmods](https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/mcp-tool-priority.svg)](https://agentmods.dev/rules/desko77/cursor-1c-skills/mcp-tool-priority)
Your own site
<a href="https://agentmods.dev/rules/desko77/cursor-1c-skills/mcp-tool-priority"><img src="https://agentmods.dev/badge/rules/desko77/cursor-1c-skills/mcp-tool-priority.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,872 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.05872
Opus 5 $0.00010 $0.02936
Sonnet 5 $0.00004 $0.01174
Haiku 4.5 $0.00002 $0.00587

Measured 2d ago against content hash d17d0f2376e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade B, and why

mcp-tool-priority scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

`~/.claude/settings.json` (малые серверы) и подключенные плагины. Ключ `ai-edt` в этих правилах - это
rules/mcp-tool-priority.mdc · 234 lines

How it starts

The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Tool Priority for 1C/BSL

Маршрутизатор: какой сервер брать под задачу. Каталог инструментов AI-EDT (самый крупный и быстро меняющийся) здесь НЕ дублируется - он в скиле ai-edt-tools и его references/, потому что две копии каталога уже расходились. У маленьких серверов набор инструментов помещается в одну строку таблицы и приведен целиком - отдельного каталога у них нет.

Выбор сервера

Задача Инструмент Где детали
BSL-код, метаданные, формы, запросы, ошибки проекта, отладка, обновление ИБ, юнит-тесты ai-edt (AI-EDT) скил ai-edt-tools + его references/
API платформы: существует ли метод, сигнатура, типы, конструкторы bsl-platform-help (search, info, get_member, get_members, get_constructors, get_platform_info) скил 1c-platform-docs
Стиль BSL и строгая типизация bsl-platform-help: get_coding_guideline (без параметров), get_strict_typing_info(topic) - topic="topics" вернет список тем, search_strict_typing(query) в скиле не описаны, параметры здесь
Качество BSL, ревью стиля, стандарты ИТС, документация платформы и конфигураций 1c-naparnik (ask_1c_ai, check_1c_code, review_1c_code, rewrite_1c_code, modify_1c_code, explain_1c_syntax, its_help, fetch_its, search_1c_documentation, onec_help, diff_1c_documentation_versions, config_help) скил 1c-naparnik
Как решается прикладная задача через БСП, каким механизмом скил 1c-ssl-patterns: 38 справочников по 70 темам документации сам скил
Существует ли вызов БСП, его сигнатура, контекст, устаревание скил 1c-bsp-api, офлайн: bsp-api.py check Модуль.Метод сам скил
Поиск по теме, когда механизма нет в справочниках 1c-mcp_ssl_server: единственный инструмент ssl_search(query), запрос на русском; найденное подтверждать через check скил 1c-ssl-patterns
Синтаксис BSL без запущенной EDT 1c-syntax-checker-mcp: единственный инструмент syntaxcheck(code), на вход текст кода строкой, НЕ путь к файлу -
Готовый паттерн или шаблон кода 1c-templates-mcp (templatesearch, get_template, list_templates, add_template, update_template, delete_template) -
Конфигурация 1С 7.7: объекты, реквизиты, модули, трассировка реквизита 1c77-metadata (обязателен для 7.7 вместо ручного парсинга CP1251). ставится отдельно (см. github.com/ivanarama/77MCP), запускается локально на своем порту скил 1c77-dev
Данные ЖИВОЙ запущенной базы по HTTP, вызов экспортных функций скил 1c-mcp-toolkit (обработка MCP_Toolkit.epf по HTTP) сами скилы
Журнал регистрации ФАЙЛОВОЙ базы, база может быть не запущена ai-edt: infobase_admin operation=read_event_log (читает файлы журнала рядом с базой, платформа не нужна) скил ai-edt-tools
Журнал регистрации СЕРВЕРНОЙ базы либо формата 1Cv8.lgd скил 1c-mcp-toolkit (get_event_log по HTTP; ai-edt на этих двух отвечает именованным отказом) сам скил
Память между сессиями hindsight правила работы с памятью проекта

Read the full file on GitHub · 234 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +2 lines d17d0f2376e9
  2. 5d ago First seen · 232 lines · 21 tokens per session scan B 652d04307b51

Subscribe to this mod's changes

mcp-tool-priority is a cursor rule published in the GitHub repository Desko77/cursor-1c-skills (55 stars, last pushed 3d ago), licensed MIT. It adds 21 tokens to every session and 5,872 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.