About Greptar
Greptar is an MCP server published by DSado88 in the Files category: the mutant dinosaur that hunts your bugs. Mutation-based code verification MCP server.
The repository has 1 stars and 0 forks, with the last commit 7 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/DSado88/greptarThis 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.
Tools (11)
execute_planBatch-run all mutations automatically
Parameters not published.
injectApply a mutation to the codebase
Parameters not published.
mutantsRun cargo-mutants for mechanical mutations
Parameters not published.
planLoad a mutation plan
Parameters not published.
recordRecord test/review outcome
Parameters not published.
resetClear state and start over
Parameters not published.
revertUndo injected mutation via git
Parameters not published.
scanDiscover mutation targets via ripgrep
Parameters not published.
scoreView the detection matrix
Parameters not published.
statusCheck current phase
Parameters not published.
testRun tests against injected mutation
Parameters not published.
Ask AI
Ask AI about Greptar
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Greptar is a mutation-based code verification server that speaks MCP. It hunts bugs by injecting mutations into your code and measuring whether your tests and reviews catch them.
Two modes, one scoring matrix:
- Semantic mutations — AI-crafted realistic bugs a human might actually write
- Mechanical mutations — automated operator swaps via cargo-mutants for breadth
What survives is what you should worry about.
How it works
┌─────────────────────────────────┐
│ Scoring Matrix │
├──────────────┬───────────────────┤
│ │ Review catches it? │
│ ├────────┬──────────┤
│ │ Yes │ No │
├──────────────┼────────┼──────────┤
│ Tests Yes │ Strong │ReviewGap │
│ catch No │TestGap │BlindSpot │
│ it? │ │ │
└──────────────┴────────┴──────────┘
- Strong — both tests and review catch it. You're covered.
- TestGap — review catches it but tests don't. Write a test.
- ReviewGap — tests catch it but review missed it. Sharpen your eye.
- BlindSpot — nobody catches it. Highest priority.
Quick start
Prerequisites
- Rust (2024 edition)
- ripgrep (
rg) — for thescantool - cargo-mutants — for the
mutantstool (optional)
Build
cargo build --release
Configure your MCP client
Add to your MCP client config (e.g. Claude Code's settings.json):
{
"mcpServers": {
"greptar": {
"command": "/path/to/greptar/target/release/greptar",
"args": []
}
}
}
Workflows
Semantic (depth — AI-crafted realistic bugs)
scan → read context → generate plan → plan → execute_plan → score
scan— discover mutation targets with ripgrep- Read surrounding context for each target
- Generate a mutation plan (realistic bugs a human might write)
plan— load the mutation planexecute_plan— run all mutations in one call (recommended) — or use the interactive loop:inject→test→record→revertscore— view the detection matrix
Mechanical (breadth — cargo-mutants operator swaps)
mutants → score
mutants— run cargo-mutants on specific filesscore— view results (merged with any semantic results)
Both workflows feed the same scoring matrix. Run them together for depth + breadth.
Tools
| Tool | Purpose | Phase |
|---|---|---|
scan |
Discover mutation targets via ripgrep | Idle → Scanned |
plan |
Load a mutation plan | Scanned → Planned |
inject |
Apply a mutation to the codebase | Planned → Injected |
test |
Run tests against injected mutation | Injected |
record |
Record test/review outcome | Injected |
revert |
Undo injected mutation via git | Injected → Planned |
execute_plan |
Batch-run all mutations automatically | Planned → Planned |
mutants |
Run cargo-mutants for mechanical mutations | Any* → Planned |
score |
View the detection matrix | Any |
status |
Check current phase | Any |
reset |
Clear state and start over | Any (not Injected) |
State machine
Idle → (scan) → Scanned → (plan) → Planned → (inject) → Injected → (revert) → Planned
↑ │
└──────────────────────────────────────────┘
The name
Reptar is a fictional mutant dinosaur from Rugrats — a radioactive T-Rex that's equal parts terrifying and beloved. Greptar is grep + Reptar: it greps through your code to find where mutations can hide, then stomps on the ones your tests miss.
Mutation testing is about finding what survives. Greptar makes sure nothing does.
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.