About Crate Sentinel MCP
Crate Sentinel MCP is an MCP server published by ARyaskov in the Science category: rust MCP server for governed dependency upgrades in Rust workspaces.
The repository has 1 stars and 0 forks, with the last commit 8 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.
Install
git clone https://github.com/ARyaskov/crate-sentinel-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Crate Sentinel MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
crate-sentinel-mcp
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.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.