Drut
БесплатноНе проверенDrut MCP server: read-only diagnose/format/query_structure/lookup_keyword tools over voyager-core
Описание
Drut MCP server: read-only diagnose/format/query_structure/lookup_keyword tools over voyager-core
README
This package is under active development. If you find any bugs, please report an issue on GitHub.
Drut is a linter, formatter, and editor tooling suite for Cube Voyager
control-statement scripts (.s / .block files) — the script language
transportation planners use to write travel-demand model logic. Editing
these scripts today usually means no syntax highlighting, no error checking
until the model actually runs, and no consistent formatting across a team.
Drut catches structural mistakes as you type, keeps scripts formatted
consistently, and adds real editor support — syntax highlighting, hover
help, autocomplete — to VS Code and any other editor that speaks the
Language Server Protocol.
Install
VS Code / any VS Code-compatible editor: install
Drut for Cube Voyager
from the VS Code Marketplace, or from Open VSX
on VS Code-compatible editors that use it instead (Cursor, VSCodium, etc.).
The extension resolves a working drut language server automatically on
first activation — nothing else to install.
Just the CLI, for scripting or CI:
cargo install drut-cli
Or build from source:
cargo build --release -p drut-cli
# binary at target/release/drut(.exe) -- put it on PATH
Features
- Syntax highlighting — a static TextMate grammar (works even before the
language server starts) covering control words, function calls,
keyword=valuepairs, data references (MI/MW/DBA/ZONES/...), and ordinary user variables, each independently recolorable viadrut.highlight.*settings. - Structural diagnostics — unmatched
IF/LOOP/RUN/PROCESSblocks, unclosed comments, and other real mistakes, flagged before you run the model. - Formatting — consistent indentation and, optionally, casing (control
words, pair keywords, data references, and function names, independently),
on save, on paste, or from the CLI.
; FMT: OFF/; FMT: ONmarkers exclude a specific range when you need to. - Hover, autocomplete, and "did you mean" spell-check for control words and keyword names.
- Code folding for every block kind and block comment.
- Shared project configuration via a
drut.tomlfile, so a team doesn't need to agree on CLI flags or editor settings individually. - Three ways in — a
drutCLI, a VS Code/Open VSX extension (built on the Language Server Protocol, so it works in any LSP-capable editor, not only VS Code), and a Model Context Protocol server for AI coding assistants — all built on one shared engine, so every surface agrees on what's valid.
Documentation
User guide — install, getting
started, the CLI/editor/MCP references, formatter behavior, and a complete
field-by-field drut.toml configuration reference. Start here for using Drut.
Contributing to Drut itself:
- CONTRIBUTING.md — architecture, per-crate status, build/test commands, versioning, and credits.
- CHANGELOG.md — what's shipped, in user-facing terms.
- ROADMAP.md — what's left before first publish.
License
Licensed under either the MIT License or the Apache License, Version 2.0, at your option.
Установка Drut
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/ar-puuk/drut-devFAQ
Drut MCP бесплатный?
Да, Drut MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Drut?
Нет, Drut работает без API-ключей и переменных окружения.
Drut — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Drut в Claude Desktop, Claude Code или Cursor?
Открой Drut на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Drut with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
