Thank you for your interest! All contributions are welcome.
git clone https://github.com/rustkit-ai/mcpkill
cd mcpkill
cargo build
cargo testRust stable is required. Install via rustup.
cargo fmt # format
cargo clippy # lint (must be warning-free)
cargo test # all tests must pass
cargo bench --no-run # benchmarks must compilesrc/
main.rs CLI entry point + subcommand routing
proxy.rs stdio bidirectional pipe + signal handling
filter.rs orchestration: cache hit/miss + top-K selection
cache.rs SQLite semantic cache (store, search, evict, stats)
embedder.rs fastembed wrapper (all-MiniLM-L6-v2)
chunker.rs smart text chunking (markdown / JSON / paragraphs)
similarity.rs cosine similarity
token.rs token count estimator
config.rs ~/.mcpkill.toml loader
stats.rs stats formatting (table + JSON)
tests/
integration.rs cache + chunker pipeline (no embedder needed)
benches/
bench.rs criterion benchmarks
- Write the SQL in
cache.rs→MIGRATIONSslice - Bump the version number (new tuple entry)
- Update
SCHEMA_VERSIONconstant - Add a test in
tests/integration.rsif the change affects observable behaviour
- Update
Cargo.tomlversion - Add an entry in
CHANGELOG.md git tag v0.x.0 && git push --tagscargo publish
By contributing you agree your changes are licensed under MIT.