Review this MCP server as though you were Steve Klabnik implementing world-class idiomatic Rust.
Reference: Use
extensions/mcp/systemprompt/as the canonical example for comparison.
Input
- Folder:
{server_path} - Checklist:
systemprompt core playbooks show build_mcp-checklist - Standards:
systemprompt core playbooks show build_rust-standards
Steps
-
Verify required files exist:
Cargo.tomlsrc/main.rsmodule.yml
-
Verify directory structure:
src/tools/(if providing tools)src/prompts/(if providing prompts)src/resources/(if providing resources)
-
Read all
.rsfiles in{server_path}/src/ -
Read
Cargo.toml -
Read
module.yml -
Execute each checklist item from the mcp-checklist playbook
-
For each violation, record:
file:line+ violation type -
Generate
status.mdusing output template
Validation Commands
# Structure checks
test -f {server_path}/Cargo.toml
test -f {server_path}/src/main.rs
test -f {server_path}/module.yml
# Binary target
grep -q "\[\[bin\]\]" {server_path}/Cargo.toml
# Code quality
cargo clippy -p {server_name} -- -D warnings
cargo fmt -p {server_name} -- --check
# Build
cargo build -p {server_name}
Output
Generate {server_path}/status.md using the status-template playbook.
Verdict: COMPLIANT if zero violations. NON-COMPLIANT otherwise.
Status Template
# {crate_name} Compliance
**Layer:** MCP Server
**Reviewed:** {YYYY-MM-DD}
**Verdict:** {COMPLIANT | NON-COMPLIANT}
---
## Checklist
| Category | Status |
|----------|--------|
| Required Structure | pass/fail |
| Tool Quality | pass/fail |
| Code Quality | pass/fail |
---
## Violations
| File:Line | Violation | Category |
|-----------|-----------|----------|
| `src/tools/foo.rs:42` | `unwrap()` usage | Code Quality |
| `src/main.rs:15` | Missing logging init | Entry Point |
{Or: "None"}
---
## Commands Run
cargo clippy -p {crate_name} -- -D warnings # {PASS/FAIL}
cargo fmt -p {crate_name} -- --check # {PASS/FAIL}
cargo build -p {crate_name} # {PASS/FAIL}
---
## Actions Required
1. {Action to fix violation}
2. {Action to fix violation}
{Or: "None - fully compliant"}
Quick Reference
| Task | Command |
|---|---|
| Run review | Follow steps above |
| Check lint | cargo clippy -p {crate} -- -D warnings |
| Check format | cargo fmt -p {crate} -- --check |
| Build | cargo build -p {crate} |
| Generate status | Create status.md in server root |