Sabriigsxr

DayunHalawa MCP — AI skill for Claude Code

AI community

Offensive Scenario RAG MCP server — local pentesting/DFIR Q&A knowledge base exposed via MCP (stdio + localhost HTTP) for agent coding apps (OpenCode, Claude Desktop, Cursor).

How to install DayunHalawa MCP

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Sabriigsxr/DayunHalawa-MCP and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What DayunHalawa MCP does

Offensive Scenario RAG MCP server — local pentesting/DFIR Q&A knowledge base exposed via MCP (stdio + localhost HTTP) for agent coding apps (OpenCode, Claude Desktop, Cursor). Retrieval-only, no API keys. Authorized use only.

Alternatives in AI

  • RAG Skill — A Skill dedicated to local knowledge base retrieval 712 ★
  • Karpathy LLM Wiki — Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex 618 ★
  • Kindly Web Search MCP Server — Kindly Web Search MCP Server: Web search + robust content retrieval for AI coding tools (Claude Code, Codex, C 377 ★

README

DayunHalawa-MCP

**Offensive Scenario RAG — MCP Server**

A local [Model Context Protocol](https://modelcontextprotocol.io) (MCP) server that exposes a large offensive-security / pentesting / DFIR Q&A knowledge base to agentic coding apps (OpenCode, Claude Desktop, Cursor, and any MCP-capable client).

Retrieval-only (extractive): the server searches a local FAISS index and returns the most relevant stored Q&A entries with scores and metadata. It does **not** generate attack plans, and it does **not** require an LLM API key or internet access at query time.

⚠️ **EDUCATIONAL / AUTHORIZED USE ONLY.** This project is for authorized defensive security testing, education and research on systems you own or have explicit written permission to assess. Do not use it to access systems, accounts or data without authorization, or to defeat security controls you do not own. See [`WARNING.txt`](./WARNING.txt) for the full terms.


What's inside

Component Description
dayunhalawa_mcp/engine.py FAISS + sentence-transformers retrieval engine (lazy singleton)
dayunhalawa_mcp/server.py MCP server (FastMCP): tools and prompt
dayunhalawa_mcp/__main__.py CLI entry point: stdio (default) or localhost HTTP transport
scripts/build_index.py Rebuild the FAISS index from a documents.jsonl file

MCP tools

Tool Purpose
search_offensive_scenarios(query, top_k=5, threshold=0.25) Semantic search; returns JSON with score/category/tags/CVEs/tools/Q&A
ask_offensive_scenario(question, top_k=5, threshold=0.25) Formatted extractive answer for humans/agents
index_stats() Vector/document counts, model name, resolved index path

MCP prompt

  • offensive_scenario_brief(topic) — structures a briefing request (technique → ATT&CK mapping, detection, mitigation, CVEs) grounded in retrieved entries.

Knowledge base

~23,000+ Q&A entries (23,737 vectors) spanning ATT&CK techniques, detection