072GPT
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
072GPT
An autonomous security-research agent for your terminal.
072gpt is a local CLI agent in the shape of codex: one command installs it,
you point it at a host you own, and it profiles the target, picks the engines
worth running, verifies what it finds, and refuses to write a report it cannot
back with evidence.
___ ____ ____ ____ ____ _____
/ _ \|___ \| ___| / ___| _ \_ _|
| | | | __) |___ \| | _| |_) || |
| |_| |/ __/ ___) | |_| | __/ | |
\___/|_____|____/ \____|_| |_|
072gpt scope example.com · custom/claude-sonnet-4-6 · session 7aa58ec8cb95
╭──────────────────────────────────────────────────────────────╮
│ hunt example.com, focus on idor and auth │
│ I'll profile the surface first, then pick engines. │
╰──────────────────────────────────────────────────────────────╯
→ scope_check(target=example.com)
│ {"target": "example.com", "authorized": true, ...}
→ surface(target=example.com)
│ {"surface": {"server": "nginx", "framework": "express"}, ...}MIT. Bring your own model key. Nothing phones home.
Install
curl -fsSL https://raw.githubusercontent.com/omk4r72/072gpt-mcp/main/install.sh | bashOr by hand:
git clone https://github.com/omk4r72/072gpt-mcp.git
cd 072gpt-mcp
python3 -m venv .venv && . .venv/bin/activate
pip install -r requirements.txtEither way you get a 072gpt command on your PATH. Python 3.10+.
Related MCP server: offsec-mcp
Configure
072gpt logincurrent: openai / gpt-4o-mini
providers: anthropic, custom, deepseek, groq, ollama, openai, openrouter
provider [openai]:
model [gpt-4o-mini]:
base_url [https://api.openai.com/v1]:
api key [enter to keep]:Or set it from the environment, which always wins over the file:
export OPENAI_API_KEY=sk-... # or ANTHROPIC_API_KEY, OPENROUTER_API_KEY, ...
export DR_OWNED_DOMAINS=example.com # what you are allowed to huntCheck it without spending a token:
072gpt doctorversion 1.0.0
config /home/you/.072gpt/config.json
provider openai
model gpt-4o-mini
base_url https://api.openai.com/v1
api_key set from $OPENAI_API_KEY
scope example.com
sessions 2 recent
engines {'total_engines': 121, 'callable': 103, ...}
OKCommands
| interactive session (full-screen TUI) |
| one instruction, then exit |
| non-interactive, scriptable |
| one JSON object of events, for machines |
| continue a saved session |
| branch a saved session |
| audit a diff for security bugs |
| line up instructions, drain them in order |
| move a session out of the resume picker |
| remove a session for good ( |
| show the guard, or test one host against it |
| what this build can actually do, probed not claimed |
| configure or remove credentials |
| run the MCP server on stdio |
| config, scope, engine census |
| what am I allowed to hunt |
| completion for bash, zsh or fish |
Flags that work everywhere: -p/--provider, -m/--model, -y/--yes.
Inside the session
The TUI is a status bar, a scrolling transcript and a composer. Tool calls appear as they run, not after the fact.
Key / command | |
| list commands |
| authorized targets |
| the engine catalogue |
| change provider/model |
| saved sessions, newest first |
| session control |
| walk the input history |
| clear the transcript |
| interrupt, then quit |
Anything that would touch a network target first asks for approval. y allows,
n or esc denies, and a denial is reported to the model as DENIED so it
does not retry it. --yes skips the prompt; use it only when you mean it.
Scope comes first — and it is enforced in code
This is a scanner. Pointing it at a host you do not own or have permission to test is illegal in most places and will get you banned from programs. So scope is not a suggestion in the system prompt; it is a check inside every tool:
Nothing is authorized by default.
DR_OWNED_DOMAINSis empty on a fresh install, which means every target is refused.hunt,run_engine,surfaceandverifyall call the guard before a request leaves your machine.If the guard cannot load, the call is refused, not allowed.
A refusal tells the model "nothing was sent to it", so it cannot be talked into trying another way.
export DR_OWNED_DOMAINS="example.com,staging.example.com"The honesty contract
Three rules the agent will not break, because breaking them makes its output dangerous rather than merely wrong:
Confirmed ≠ candidate. Always reported separately.
Skipped ≠ clean. An engine that could not run is listed with its reason. An empty result means "not tested".
No evidence, no report.
reportrefuses rather than fabricate. A report that does not reproduce reflects on you, not the tool.
The agent is told the same three rules in its system prompt, and the tools enforce them independently — a model that forgets is still held to them.
Sessions
Every conversation is saved to ~/.072gpt/sessions/<id>.json, mode 0600,
scoped by the directory you started in. resume picks up where you left off;
fork branches a copy so you can try another approach without losing the
original. archive moves a session out of the picker to
~/.072gpt/sessions/archive/ without deleting the transcript; delete removes
it for good and asks first unless you pass --force. Nothing leaves your
machine.
Tools the agent can call
Tool | What it does |
| is this target authorized, and why |
| everything you may hunt |
| the vulnerability engine catalogue |
| profile a target's stack, get a ranked engine plan |
| run one engine against a target |
| the full pipeline (minutes) |
| replay a request and confirm a finding reproduces |
| draft a report from evidence — refuses without it |
Configuration
Variable | Default | Purpose |
| (empty) | Domains you may hunt. Empty = refuse everything. |
|
|
|
| provider default | model id |
| provider default | override the endpoint |
| — | override whichever provider key is used |
|
| hard cap on agent steps per turn |
|
| skip the per-tool confirmation |
|
| where config and sessions live |
Config lives in ~/.072gpt/config.json (mode 0600, because it can hold a
key). Environment always wins over the file.
Any OpenAI-compatible endpoint works as provider=custom:
export DR_AGENT_PROVIDER=custom
export DR_AGENT_BASE_URL=https://your-gateway/v1
export DR_AGENT_MODEL=your-modelWhat's inside
121 vulnerability engines — SQLi, SSRF, IDOR/BOLA, XSS, JWT, OAuth, GraphQL, request smuggling, cache poisoning, prototype pollution, subdomain takeover, and the rest — plus surface profiling, adaptive engine selection, verification, and report drafting. Engines are discovered from disk, so the catalogue cannot drift from what is actually present.
The agent loop is deliberately small: think → call a tool → read the result → repeat, with a step budget and a repeated-call detector so it stops instead of spinning through your credit.
Also an MCP server
The same engine set is available over MCP for Claude Code, Cursor, and other clients:
072gpt mcp # or: python3 mcp_server_072gpt.pySee the code for the 28 exposed tools. The agent is the focus; the MCP server is the integration path for editors.
Tests
python3 tests/run_all.pyNine suites, no network and no model key required.
License
MIT — see LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Scans remote MCP servers for protocol, security, and TLS issues; exposes scan tools via MCP.
Find, vet, and run MCP tools through a secure audited gateway with prompt-injection risk scoring
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
Related MCP Servers
- AlicenseCqualityDmaintenanceAI-powered security scanning MCP server that exposes 25+ professional tools, enabling penetration testing and security assessments through natural language interaction with AI agents like Claude Desktop.31MIT
- AlicenseBqualityCmaintenanceMCP server for offensive-security tooling, enabling AI agents to run reconnaissance, CVE intelligence, JavaScript analysis, HTTP probing, and port scanning against authorized targets.10MIT
- FlicenseNot gradedqualityBmaintenanceExposes 21 tools over stdio that let any MCP-capable AI agent run real Kali-container security tools (nmap, nuclei, sqlmap, Metasploit), search a local 59,000+ CVE vulnerability database, and browse a 5,266-entry GitHub security tool index. Built-in guardrails refuse government, education, and military domains, and only whitelisted in-container executables can be invoked.3-
- AlicenseNot gradedqualityAmaintenanceEnables AI clients to drive professional penetration-testing workflows—subdomain enumeration, host probing, content fuzzing, vulnerability scanning, brute-force, traffic capture, and exploitation sweeps—through a single MCP interface with stdio, Streamable HTTP, and legacy SSE transports plus bearer/OIDC auth. It also records engagement artifacts and generates client-ready reports with scope handling, cutting manual pentest administration.157 npmGPL 3.0