
Keel
io.github.lutfizpPublished by GitHub account lutfizpv0.3.0Updated Oct 24, 2026
Control plane MCP that dedups scanner output, rate-limits hosts, and runs non-destructive proofs.
Overview
Keel is a local MCP control plane for authorized security testing that dedups scanner output, rate-limits hosts and runs non-destructive GET-only proofs.
- What you can do
- Register an engagement with scope hosts and traffic ceilings, then draft reachability and template micro-waves without sending traffic
- Queue, poll and cancel background scanner waves, and re-run a single originating Nuclei template
- Query prioritized semantic cards that merge duplicate scanner hits, and assess exploitability with missing evidence and negative controls
- Draft and execute GET-only proof playbooks against tester-owned data, returning proven or protected results with a curl replay
- Record hunter hypotheses and review engagement health, cooldowns, budgets and an append-only audit log
- When to use it
- For authorized bug-bounty or pentest work where scanner output is noisy and you want an assistant to triage findings, avoid hammering targets, and produce safe, reproducible proof of impact rather than raw tool dumps.
- Requirements
- Runs as a local Python process (Python 3.10+) installed from the keel-pentest package; setup downloads ProjectDiscovery httpx and nuclei into a local bin directory. Optional KEEL_APPROVAL_FILE pins scope and templates, and KEEL_CREDENTIALS_FILE supplies tester credentials by name. Network access to the targets you are authorized to test.
Installation
In SourceWeft
- Open Keel in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Keel
The MCP control plane that turns scanner noise into hunter-grade, non-destructive proofs
[Python] [License] [MCP] [PyPI] [Registry] [Version]
Thirteen MCP tools. Semantic dedup. Per-host rate limits. Safe proofs that show what a hunter can do — without damaging the target.
Dumping 150 tools on an agent is easy. The hard problems are dedup across tools, exploitable vs noise, and not hammering the target. Keel is the control plane for those three.
An AI client talks to Keel, not to httpx, nuclei, or a shell. Keel drafts one wave at a time, enforces scope and rate limits, merges scanner hits into semantic cards, and runs GET-only playbooks on tester-owned data. When a playbook returns proven, you get a curl replay a hunter can follow — still without writes, shells, or payload spam.
Use it on programs you are authorized to test.
Why Keel
A wrapper that shells out to a huge toolbox does not have that layer. Keel does — in the scheduler, in the adapters, and in the proof broker.
Architecture
begin_engagementwith the hostname you are authorized to test.draft_wavesproposes reachability plus template micro-waves. No traffic yet.execute_wavereturns a job immediately. Pollwave_status.cancel_wavekills the scanner.query_cardsreturns hunter-relevant cards.assess_exploitabilitysays what would prove it.draft_proofthenexecute_proofrun a GET-only playbook against tester data.provenmeans the invariant held.protectedmeans the control worked.
Installation
macOS (Homebrew). pipx is a separate tool — install it first. Apple's /usr/bin/python3 is often 3.9 and cannot install Keel.
If python3.12 is already on the machine and you do not want Homebrew pipx:
setup downloads ProjectDiscovery httpx and nuclei into ~/.keel/bin. Keel finds them there even when a GUI client has a thin PATH. No extra KEEL_HTTPX_BIN for a first scan.
Then point your MCP client at the keel-pentest executable:
OpenCode: "command": ["keel-pentest"].
Python 3.10+. Do not pip install keel — that is a different project. OS notes and pip/venv: INSTALL.md. Client shapes: clients/README.md.
Optional later: KEEL_APPROVAL_FILE for a team manifest that pins scope, template IDs, and proof targets. Default mode is self-attested — begin_engagement is the authorization. Rate limits, one-wave-per-host, signed templates, and sanitized evidence still apply.
Safe proofs that still prove impact
Scanner output is a hypothesis. Keel proves (or refutes) it with disposable tester accounts and a unique canary. Every playbook is GET-only, budgeted, and returns a curl replay. The replay is the report artifact: if this is not fixed, a hunter with a normal account can do this.
execute_proof stores status codes, canary booleans, truncation flags, hashes, hunter impact text, and the repro script. It does not persist response bodies or secrets.
Plant a non-secret canary in a tester-owned object before cross_account_read / unauth_access_probe. Reflected XSS and open redirect inject the marker themselves.
MCP tools
begin_engagement needs engagement_id and scope_hosts (plain hostnames, e.g. target.example). Defaults: 3 req/s, one host at a time, 120s / 120 requests per wave. allow_safe_proof=true enables proofs. Pass tester credential names only; put secrets in KEEL_CREDENTIALS_FILE.
Example prompt
Traffic controls
- Exact scope and exclusions on draft, admit, ingest, and proof
- One wave per host; same-host jobs wait
- Shared global and per-host token buckets
- Persistent request reservations; retries consume a new reservation
- Nuclei: signed HTTP templates, no OAST, no redirects, no retries, exclude dos/fuzz/bruteforce/intrusive
- Isolated empty scanner configs; proxy and ProjectDiscovery-cloud env vars stripped
- HTTP 429 stops the wave and honors Retry-After
- Bounded response reads; evidence without raw bodies
Troubleshooting
begin_engagement after a client restart restores the SQLite engagement. If you changed scope, use a new engagement_id.
Proofs need allow_safe_proof=true and, for session playbooks, KEEL_CREDENTIALS_FILE mapping names like tester-a to Authorization or Cookie.
License
MIT. Copyright (c) 2026 Lutfi Z.P.
PyPI: keel-pentest. MCP Registry: io.github.lutfizp/keel. Source: github.com/lutfizp/keel.
Source: README.md at commit e659b00
Tools
0Version history
1- v0.3.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts