Crate Sentinel
FreeNot checkedRust MCP server for governed dependency upgrades in Rust workspaces.
About
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.
Installing Crate Sentinel
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/ARyaskov/crate-sentinel-mcpFAQ
Is Crate Sentinel MCP free?
Yes, Crate Sentinel MCP is free — one-click install via Unyly at no cost.
Does Crate Sentinel need an API key?
No, Crate Sentinel runs without API keys or environment variables.
Is Crate Sentinel hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Crate Sentinel in Claude Desktop, Claude Code or Cursor?
Open Crate Sentinel on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by 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
by mcpdotdirectCompare Crate Sentinel with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
