oscp-companion
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.
OSCP Companion
Structured pentesting methodology knowledge base with a web UI and MCP server for AI agents.
Educational / authorized testing only. Use only on systems you own or have explicit permission to test.
Architecture
Content: Markdown + YAML frontmatter in
content/Build:
scripts/ingest.tscompiles content →public/kb.jsonwith Zod validation and secret scanningEngine: In-memory MiniSearch index with synonym expansion (no vector DB, no RAG)
Web UI: Next.js search + faceted filters + entry detail pages
MCP: 7 read-only tools via HTTP (
/api/mcp) and local stdio
content/*.md → ingest → public/kb.json → MethodologyEngine
├─ Web UI
└─ MCP serverRelated MCP server: pyntra
Quick start
npm install
npm run ingest # compile knowledge base
npm run dev # http://localhost:3000
npm test # verify sample queriesMCP tools
Tool | Purpose |
| Keyword search with optional phase/os/type filters |
| Port/service playbook (e.g. |
| AD attack paths for a BloodHound primitive (e.g. |
| Ordered checklist steps for a phase + OS |
| Commands and notes for a pentest tool |
| Look up entries by technique name |
| Discover valid phases, OS, types, services, primitives, etc. |
Local MCP (Cursor / Claude Desktop)
{
"mcpServers": {
"oscp-companion": {
"command": "npx",
"args": ["tsx", "mcp/stdio.ts"],
"cwd": "/path/to/oscp-companion"
}
}
}Run npm run ingest before starting the MCP server so public/kb.json exists.
Remote MCP (after deploy)
Point your MCP client at:
https://your-app.vercel.app/api/mcpAdding content
Add a Markdown file under
content/with YAML frontmatter matching the schema inlib/kb/schema.ts.Use placeholders:
<IP>,<USER>,<PASS>,<DOMAIN>— never commit real creds or lab secrets.Run
npm run ingest. The secret scanner fails the build if AWS keys, NTLM hashes, or HTB-style IPs slip through.
Raw unsanitized notes belong in data/raw/ (gitignored).
Deploy (Vercel free tier)
npm run build # runs ingest + next buildConnect the repo to Vercel. No database or env vars required for the default setup.
Related MCP Connectors
Offline methodology engine for authorized penetration testing, CTF, and security research.
Enrich, search, assess, and manage threat intelligence through 80+ typed MCP tools.
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
Read-only library of 24 defensive cybersecurity skills: ATT&CK, ATLAS, DFIR, CTEM and more.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceOffline methodology engine and payload workshop for authorized penetration testing, CTF, security research, and education via MCP.305 npm1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to orchestrate 100+ security tools over MCP for authorized penetration testing, including recon, scanning, exploitation, attack-chain planning, and knowledge-base retrieval.7Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables authorized penetration testers to run reconnaissance, scanning, brute-force, traffic-capture, and exploitation tools through MCP clients, with authentication, engagement recordkeeping, and client report generation.298 npmGPL 3.0
- AlicenseNot gradedqualityAmaintenanceEnables professional penetration testers to run reconnaissance, exploitation, password cracking, web fuzzing, vulnerability scanning, traffic capture, and client-reporting workflows through MCP transports with auth support.298 npmGPL 3.0