Crate Sentinel
БесплатноНе проверенRust MCP server for governed dependency upgrades in Rust workspaces.
Описание
Rust MCP server for governed dependency upgrades in Rust workspaces.
README
Rust MCP server for governed dependency upgrades in Rust workspaces.
Quick Install
cargo install crate-sentinel-mcp
codex add mcp crate-sentinel crate-sentinel-mcp
After this, crate-sentinel is registered in Codex as an MCP server.
It is recommended to install additional crates globally in advance to speed up crate-sentinel workflows:
cargo install cargo-semver-checks cargo-public-api cargo-download
What It Does
- Discovers external dependencies (
deps.scan) - Checks latest versions and policy allow/deny (
deps.check_updates) - Simulates upgrades in isolated copies (
deps.try_upgrade) - Detects breaking API changes (
deps.api_diff) - Applies controlled real upgrades (
deps.apply_upgrade) - Supports refactor planning/validation bridge (
refactor.plan,refactor.validate) - Supports CI summaries (
ci.report)
Governance Model
- Policy file:
upgrade_policy.toml - Default denies major updates, allows patch/minor
- Optional guards:
- MSRV guard
- Performance regression guard
- CI fail-on-disallowed mode
Session Model
- Start a session with
session.start - One active session per workspace lock
- Session tracks current crate, state, and audit events
- End each active session with
session.endto remove persisted session files - Recover persisted sessions with
session.recover
Policy Example
[general]
allow_patch = true
allow_minor = true
allow_major = false
include_dev_dependencies = false
[msrv]
enforce = true
max_allowed = "1.85"
[performance]
enforce = false
command = "cargo bench -p mybenchcrate"
max_slowdown_percent = 5
[ci]
mode = true
fail_on_any_disallowed_update = true
CI Usage
crate-sentinel-mcp --ci --workspace .
Exit codes:
0success1validation/recoverable failure2policy violation3internal/runtime failure
Refactor Bridge Workflow
deps.api_diffrefactor.plan- LLM proposes unified diff patch
refactor.validatedeps.try_upgradedeps.apply_upgrade
deps.apply_upgrade is blocked unless required gates pass.
Установка Crate Sentinel
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/ARyaskov/crate-sentinel-mcpFAQ
Crate Sentinel MCP бесплатный?
Да, Crate Sentinel MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Crate Sentinel?
Нет, Crate Sentinel работает без API-ключей и переменных окружения.
Crate Sentinel — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Crate Sentinel в Claude Desktop, Claude Code или Cursor?
Открой Crate Sentinel на 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
автор: mcpdotdirectCompare Crate Sentinel with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
