Kali Security MCP
Provides intelligent security testing capabilities by integrating 193 Kali Linux security tools including information gathering, web application testing, password attacks, vulnerability exploitation, and PWN/reverse engineering tools with AI-driven decision making.
Enables exploitation framework operations through automated vulnerability exploitation and attack execution capabilities.
Implements OWASP security testing methodologies for comprehensive web application security assessment and vulnerability scanning.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Kali Security MCPscan example.com for vulnerabilities"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Kali MCP — LLM 自主多智能体渗透系统
深度推理增强的 LLM 自主多智能体渗透系统
中文 | English | 架构设计 ARCH_DESIGN
中文
在开始前,非常感谢github社区,作为世界最大的程序员无偿共享社区,本项目中的很多技术灵感皆从github项目迸发
定位
Kali MCP 是一套 LLM 自主多智能体渗透系统,依据「向量化知识库 + 联网搜索 + 自身能力」逐步动态规划下一步,而不是沿预定义路径执行。1 个 OrchestratorAgent(主 LLM 决策者)负责顶层规划与派活,17 个子 agent 各自都是 LLM 自主智能体(角色 prompt + 工具面 + LLMBrain 决策循环),它们的发现沉淀为攻击 DAG 节点,蚁群算法(ACO) 在攻击路径上沉积信息素(成功置信度)为后续行动提供推荐(仅推荐,不决策),最终由 SummarizerAgent 去重、去误报、排序并实时推送(SSE)给主 agent 与用户。
架构
flowchart TB
U["用户 / 主 agent"] -->|自然语言任务| ORCH
subgraph ORCH["OrchestratorAgent(主 LLM 决策者)"]
OL["LLMBrain 顶层规划循环"]
OB["MissionBrief 生成"]
OV["结果评审 / 回收 / 再规划"]
end
subgraph KB["向量化知识库"]
IDX[("kb_vectors.db<br/>sqlite-vec")]
RT["KnowledgeRetriever<br/>语义 top-k + 元数据过滤 + BM25 融合"]
EMB["Embedding 模型<br/>BAAI/bge-small-zh-v1.5 本地 512 维"]
end
subgraph DAG["攻击 DAG + ACO"]
DAGS["DAGService<br/>唯一写入者"]
ACO["蚁群算法<br/>信息素蒸发/沉积/选路"]
PHE[("攻击路径信息素表")]
end
subgraph AGENTS["17 个 LLM 子 agent"]
A1["recon_agent"] -->|共享| LB["LLMAgentBase<br/>LLMBrain 决策循环"]
A2["web_vuln_agent"] -->|共享| LB
A3["exploit_agent"] -->|共享| LB
AX["...其余 14 个"]
end
SUM["SummarizerAgent 总结智能体"]
ES["EventStream<br/>SSE 推送"]
BUS["EventBus<br/>tool.result / mission / dag / summary"]
MESH["MeshMessageBus<br/>agent 点对点"]
TB["ToolBridge<br/>call_tool + catalog"]
EX["executor / fastsec 等真实工具"]
WS["WebSearch<br/>ddg/tavily 工具"]
ORCH -->|mission.created| BUS
ORCH -->|检索| RT
ORCH -->|读取 τ/η 推荐| DAGS
BUS --> DAGS
DAGS -->|dag.updated| ACO
ACO -->|候选边评分| ORCH
ACO -->|候选边评分| LB
LB -->|call_tool| TB
TB --> EX
LB -->|tool.result| BUS
LB -->|检索| RT
TB -.注册.-> WS
BUS --> SUM
MESH --> AGENTS
SUM -->|summary.update| BUS
SUM -->|SSE| ES
ES --> U
ORCH -->|mission.review| BUS
DAGS -->|dag.updated| SUM核心能力
能力 | 说明 | 代码模块 |
LLM 是唯一决策者 | 任何「下一步做什么」的结论都来自 LLM 决策 JSON( |
|
17 个 LLM 自主子 agent | 每个子 agent 继承 |
|
攻击 DAG + 蚁群算法(ACO) | 子 agent 的发现(observation / hypothesis / attack_action / finding / mission / summary)作为 DAG 节点,边承载信息素 τ ∈ [0.05, 1]。验证/平台判定成功时沿 |
|
总结智能体 SummarizerAgent | 订阅 |
|
向量化知识库 | 本地 |
|
联网搜索 |
|
|
自研 fastsec 扫描引擎 | Go 单二进制 AI 原生扫描器,替代 25 个外部工具(gobuster/nikto/sqlmap/whatweb/subfinder/ffuf/nuclei/hydra/dirb/wfuzz/feroxbuster/dnsrecon/fierce/dnsenum/theharvester/sherlock/joomscan/wpscan/medusa/patator/ncrack/crowbar/brutespray/searchsploit/masscan)。能力:目录枚举 / CMS 指纹 / 注入检测 / XSS 反射 / 登录爆破(含 263 万口令字典)/ Kerberos AS-REP 与 Kerberoast / 服务指纹 / OSINT / 哈希破解 / 反连 shell 生成 / SAM 提取等,内置 |
|
执行后端自适应 | 启动时 |
|
17 个 LLM 自主子 agent
每个子 agent 都是一个 LLM 自主智能体:用自己的角色 prompt、自己的工具面、自己的 LLMBrain 决策循环,在任务简报、知识库命中、攻击图信息素视图与已有发现的上下文中逐步决定「调哪个工具、什么参数、如何解读输出、何时回报」。工具调用失败判定与结构化证据提取仍是确定性代码。
分组 | 智能体 | 职责 |
信息收集 |
| 端口扫描 / 服务识别 / OS 指纹 / 拓扑侦察 |
| 子域名枚举 / DNS 记录 / OSINT | |
| 目录枚举 / 技术栈识别 / WAF 检测 / CMS 指纹 | |
漏洞发现 |
| CVE / 模板化漏洞扫描 |
| SQLi / XSS / 命令注入等 Web 漏洞 | |
| 在线爆破 / 哈希破解 / 凭据喷洒 | |
| SMB 枚举 / LLMNR 投毒 / MITM / 嗅探 | |
| 候选漏洞验证 / PoC 构造 / 利用确认 | |
利用 |
| Metasploit / exploit 搜索 / 反弹 shell |
| Linux / Windows 提权向量分析 | |
| DCSync / Kerberoast / AD 攻击 / 凭据重用 | |
专门 |
| 白盒源码树扫描 / 危险模式分析 |
| SAST 静态分析 / 危险模式搜索 | |
| CTF 密码学 / 编码识别 / 哈希破解 | |
| 隐写 / 内存取证 / 文件系统取证 / 流量分析 | |
| 二进制漏洞检查 / 逆向 / 反编译 | |
| .git/.svn 泄露 / 备份扫描 / LFI 读源码 |
工具面(MCP surface)
MCP 表面已从 192 个工具收敛为 keep-set(约 50 个原生注册)+ kali_run 元回退:归档模块文件保留但不再注册,其命令仍可经 kali_mcp.core.tool_registry 构建,通过 kali_run 按名调用(keep-set 或归档、registry key 或别名均可)。
类别 | 工具 |
LLM 编排 |
|
任务板 |
|
fastsec 扫描 |
|
端口/服务 |
|
口令/域渗透 |
|
利用 |
|
会话/工作流 |
|
异步扫描 |
|
元回退 |
|
预定义 playbook(
run_playbook/run_surface_chain)已移出主路径(战术内容向量化进 KB 作参考),仅设置K4_LEGACY_PLAYBOOKS=1时作为过渡期兼容注册。
fastsec 自研扫描引擎
tools/fastsec/ 是 Go 单二进制引擎(含 data/ 内置字典:dns/ 子域字典 63MB、brute/ 口令字典 40MB 含 263 万 top 口令、knowledge/ 经验库 2.5MB),核心能力:
能力 | 参数 |
目录枚举 |
|
CMS 识别 |
|
SQL 注入检测 |
|
XSS 反射检测 |
|
登录爆破 |
|
口令字典生成 |
|
Kerberos |
|
服务指纹 |
|
模板扫描 |
|
行为差异 |
|
OSINT |
|
哈希破解 |
|
反连 shell |
|
凭据提取 |
|
用户名检索 |
|
端口扫描 |
|
编排扫描 |
|
快速开始
1. 环境准备
# Python 3.10+
python -m venv .venv
# Windows: .venv\Scripts\activate | Linux/macOS: source .venv/bin/activate
pip install -r requirements.txtembedding 模型已随仓库提供:
data/models/models--BAAI--bge-small-zh-v1.5/(512 维,完全离线可跑,无需联网下载)。知识库索引已随仓库提供:
data/kb_vectors.db(sqlite-vec 单文件)。fastsec 引擎需要 Go 工具链时自行
cd tools/fastsec && go build -o fastsec ./cmd/fastsec(或直接用仓库内已构建产物;扫描也可完全走nmap_scan等 keep-set 工具,不强制 fastsec)。
2. MCP 接入(Claude Code / Codex / OpenCode / Pi)
Kali MCP 是标准 stdio MCP 服务器,任何支持 MCP 的 harness 都能接入。核心要点:
入口:
python mcp_server.py --tool-profile harness工具档位
harness:只暴露编排与观测工具面(agent_run/agent_status/dag_status/kb_search + 任务板 + fastsec + 扫描工具),让主 LLM 只看到编排 API;LLM 自主多智能体集群需额外开两个开关:
K4_LEGACY_CLUSTER=1(初始化 17-agent 集群)+KALI_MCP_FORCE_ENABLE_MODULES=multi_agent(harness 档默认禁用 multi_agent 模块,需强制启用);LLM key(二选一):
ANTHROPIC_API_KEY(Claude)或OPENAI_API_KEY(OpenAI/Codex)——有 key 走 LLM 自主决策路径;无 key 自动降级 legacy 确定性路径,集群照常可用。
Claude Code
项目级配置:仓库根目录 .mcp.json(与 Claude Code 共享,Claude Desktop 也可用):
{
"mcpServers": {
"kali": {
"command": "python",
"args": ["mcp_server.py", "--tool-profile", "harness"],
"cwd": ".",
"env": {
"KALI_MCP_TOOL_PROFILE": "harness",
"K4_LEGACY_CLUSTER": "1",
"KALI_MCP_FORCE_ENABLE_MODULES": "multi_agent",
"ANTHROPIC_API_KEY": "sk-ant-...",
"ANTHROPIC_MODEL": "claude-sonnet-4-20250514"
}
}
}
}或用户级(对全部项目生效):
claude mcp add kali -- python mcp_server.py --tool-profile harness
claude mcp add kali --env K4_LEGACY_CLUSTER=1 --env KALI_MCP_FORCE_ENABLE_MODULES=multi_agentClaude Code 自带 Bash 子代理能力。安全评估任务建议配合
Task工具并行派发多个独立子代理(多目标侦察 / 扫描 / 代码审计并行),主对话只做汇总决策。
Codex(OpenAI Codex CLI)
用户级配置 ~/.codex/config.toml:
[mcp_servers.kali]
command = "python"
args = ["mcp_server.py", "--tool-profile", "harness"]
env = {
KALI_MCP_TOOL_PROFILE = "harness",
K4_LEGACY_CLUSTER = "1",
KALI_MCP_FORCE_ENABLE_MODULES = "multi_agent",
OPENAI_API_KEY = "sk-...",
OPENAI_MODEL = "gpt-4o",
}或命令行注册:
codex mcp add kali -- python mcp_server.py --tool-profile harness
codex mcp add kali --env K4_LEGACY_CLUSTER=1 --env KALI_MCP_FORCE_ENABLE_MODULES=multi_agentCodex 场景下 LLM 决策循环建议走 OpenAI provider(
OPENAI_API_KEY/OPENAI_MODEL),与 Codex 自身同源。
OpenCode
项目级 opencode.json(或用户级 ~/.config/opencode/opencode.json):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"kali": {
"type": "local",
"command": ["python", "mcp_server.py", "--tool-profile", "harness"],
"environment": {
"KALI_MCP_TOOL_PROFILE": "harness",
"K4_LEGACY_CLUSTER": "1",
"KALI_MCP_FORCE_ENABLE_MODULES": "multi_agent",
"OPENAI_API_KEY": "sk-...",
"OPENAI_MODEL": "gpt-4o"
},
"enabled": true
}
}
}Pi / Oh My Pi
Pi(omp)读取仓库根目录标准 .mcp.json(与 Claude Code 同一格式),在项目根放:
{
"mcpServers": {
"kali": {
"command": "python",
"args": ["mcp_server.py", "--tool-profile", "harness"],
"cwd": ".",
"env": {
"KALI_MCP_TOOL_PROFILE": "harness",
"K4_LEGACY_CLUSTER": "1",
"KALI_MCP_FORCE_ENABLE_MODULES": "multi_agent",
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}注意:
command里把python换成你机器上的解释器绝对路径(Windows 常见C:\Windows\py.exe -3或.venv\Scripts\python.exe);cwd指向仓库根目录,保证mcp_server.py、data/、tools/fastsec/相对路径正确。仓库自带的.mcp.json即此格式的部署实例。
接入后在任意 harness 里直接说:
对 http://target/ 做一次完整渗透:先侦察,再扫 Web 漏洞,验证后给出利用建议即会触发 agent_run → LLM orchestrator 全流程。
3. CLI 实时可视化(不接 harness)
# Windows
C:/Windows/py.exe -3 agent_live.py "对 http://localhost:8000/ 做 web 漏洞扫描:目录枚举、CMS识别、注入检测" --no-cache --timeout 300
# Linux / macOS
python3 agent_live.py "对 http://localhost:8000/ 做 web 漏洞扫描" --agents recon,web_vuln --no-cacheagent_live.py 是纯展示层:逐行分色打印 orchestrator 的规划/派活决策、每个子 agent 的 LLM 决策与工具调用结果、findings 与总结推送,Windows Terminal 分屏即可获得类 tmux 的实时观察体验。--agents 可按 agent_id 精确或前缀匹配(如 recon 匹配 recon_agent)。
4. SSE 远程模式
python mcp_server.py --transport sse --host 0.0.0.0 --port 8765 --tool-profile harness
# SSE 端点: http://<your-ip>:8765/sse供远程客户端 / 多机部署接入(OpenCode 等支持 remote MCP 的 harness 可用 "type": "remote", "url": "http://<ip>:8765/sse" 连接)。
LLM Provider 配置
决策循环由 kali_mcp/core/llm_brain.py 的 LLMBrain 驱动,双 provider 支持,全部走环境变量:
环境变量 | 说明 |
| 显式指定 provider: |
| Claude provider 密钥 |
| Claude 模型名 |
| 自定义 Claude 端点(自动补 |
| OpenAI provider 密钥 |
| OpenAI 模型名 |
| 自定义 OpenAI 端点(兼容代理 / 兼容网关) |
无任何 LLM key:LLMBrain.available = False,子 agent 自动回退 legacy 确定性路径(kali_mcp/agents/*/_execute_task_impl_legacy),集群照常运行、不空转;但 LLM 自主决策(动态规划、语义检索、ACO 引导、联网情报)不可用——那不是本项目的常态模式。
联网搜索可选配置:WEB_SEARCH_BACKEND=ddg|tavily(默认 ddg);切 tavily 需 TAVILY_API_KEY。
知识库与 Embedding
Embedding 模型:
BAAI/bge-small-zh-v1.5(512 维,中文友好),权重随仓库提供于data/models/models--BAAI--bge-small-zh-v1.5/(HuggingFace cache 结构),完全离线加载(snapshot_download(local_files_only=True))。向量库:
data/kb_vectors.db(sqlite-vec 单文件,随仓库提供),失败自动降级 numpy+JSON。召回:向量 top-k + BM25 关键词 + RRF 融合;中英混合 tokenizer(ASCII 词 + CJK 单字)。
数据源(
scripts/kb_sources.yaml):
source | 内容 | parser |
|
| markdown |
|
| markdown |
|
| markdown |
|
| markdown |
|
| markdown |
|
| yaml |
| playbook docstring 摘录 | playbook_docstring |
|
| attack_chain |
重建 / 增量更新知识库索引(幂等:按 content_hash 跳过未变文件):
python scripts/build_kb_index.py执行后端
mcp_server.py 启动时经 kali_mcp/core/backend.resolve_backend() 自动检测执行后端,无需改代码:
后端 | 说明 |
| subprocess 直接调用本机工具(Kali / 自建环境) |
| 通过 SSH 在远程 Kali 主机执行(配置远程主机信息后自动启用) |
| 在容器内执行 |
环境变量总表
环境变量 | 默认 | 说明 |
|
| 工具档位: |
| — | 强制启用模块(逗号分隔),如 |
| — | 强制禁用模块(逗号分隔) |
| — |
|
| — |
|
|
| 任务工作区(扫描产物/证据/报告落盘) |
| — | 授权范围声明(目标 scope),工具执行前校验 |
| — |
|
| 自动探测 |
|
| — | Claude provider |
| — | OpenAI provider |
|
| 搜索后端: |
| — | tavily 后端密钥 |
目录结构
Kali-Security-MCP/
├── mcp_server.py # MCP 入口(FastMCP;工具按模块注册 + K1 收敛裁剪)
├── agent_live.py # CLI 实时可视化(逐行分色打印 orchestrator/agent 决策)
├── kali_mcp/
│ ├── core/ # llm_brain / agent_coordinator / summarizer_agent /
│ │ # tool_bridge / search_backends / event_bus / registry ...
│ ├── agents/ # 17 个 LLM 自主子 agent(LLMAgentBase + llm_drive_mission)
│ ├── reasoning/ # knowledge_retriever / attack_dag / aco / chain_engine
│ ├── mcp_tools/ # harness_tools / multi_agent_tools / meta_tools / board_tools ...
│ └── security/ # tool_profile / engagement(授权范围)
├── tools/fastsec/ # 自研 Go 扫描引擎 + 内置字典(dns/brute/knowledge)
├── data/
│ ├── kb_vectors.db # 向量化知识库索引(sqlite-vec,随仓库提供)
│ ├── models/ # embedding 模型权重(bge-small-zh-v1.5,随仓库提供)
│ └── wordlists/ # 口令/默认账号指南(KB 源)
├── scripts/
│ ├── build_kb_index.py # 知识库索引构建(幂等增量)
│ └── kb_sources.yaml # KB 数据源声明
├── docs/ # writeups / plans
├── doc/ # runbook-internal / 能力升级总计划
├── tests/ # pytest 全量测试(含 KB 索引 / LLM agent / DAG / ACO / e2e)
├── workspace/ # 任务工作区(运行产物)
├── .mcp.json # MCP 部署配置实例(Claude Code / Pi 等)
├── CLAUDE.md # Claude Code 仓库指引
└── requirements.txt测试
pytest # 全量
pytest -x # 首个失败即停
pytest --cov=kali_mcp # 覆盖率
pytest -k "kb or dag or aco or orchestrator or llm" # 关键子系统合规声明
本项目仅用于已获书面授权的渗透测试、CTF 竞赛、安全研究与防御性评估。使用前通过 set_engagement_context(或 KALI_MCP_ENGAGEMENT_JSON/FILE)声明授权范围;越权扫描、破坏性操作、未授权攻击严格禁止。使用者须自行确保对目标的所有操作均符合适用法律法规。
License
MIT License — 详见 LICENSE。
Related MCP server: MCP Kali Server
English
Positioning
Kali MCP is an LLM-autonomous multi-agent penetration testing system:
the LLM is the sole decision-maker, planning each next step dynamically from a vectorized knowledge base + live web search + its own capabilities — not along a predefined path.
One OrchestratorAgent (the top-level LLM planner) understands the goal, dispatches missions, and reviews results;
each of the 17 sub-agents is itself an LLM-autonomous agent (role prompt + tool surface + an LLMBrain decision loop).
Their discoveries become nodes in an attack DAG, an Ant Colony Optimization (ACO) layer deposits pheromone (success confidence) along attack paths to recommend — never decide — subsequent moves, and a SummarizerAgent deduplicates, filters false positives, ranks, and pushes results in real time (SSE).
Without any LLM API key the system still runs: it degrades to the legacy deterministic path (sub-agents fall back to rule routing; the K4_LEGACY_CLUSTER=1 cluster stays available) — but that is the fallback mode. The core value of this project is deep-reasoning penetration driven by LLM autonomy.
Quick Start
python -m venv .venv && source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -r requirements.txtThe embedding model (BAAI/bge-small-zh-v1.5, 512-dim) ships in data/models/ and the vectorized KB index (data/kb_vectors.db) ships in data/ — fully offline, no download needed.
Connect from any MCP-capable harness (all use the same stdio server python mcp_server.py --tool-profile harness):
Claude Code / Pi:
.mcp.jsonat project root —
{
"mcpServers": {
"kali": {
"command": "python",
"args": ["mcp_server.py", "--tool-profile", "harness"],
"env": {
"KALI_MCP_TOOL_PROFILE": "harness",
"K4_LEGACY_CLUSTER": "1",
"KALI_MCP_FORCE_ENABLE_MODULES": "multi_agent",
"ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}Codex (
~/.codex/config.toml):
[mcp_servers.kali]
command = "python"
args = ["mcp_server.py", "--tool-profile", "harness"]
env = { KALI_MCP_TOOL_PROFILE = "harness", K4_LEGACY_CLUSTER = "1", KALI_MCP_FORCE_ENABLE_MODULES = "multi_agent", OPENAI_API_KEY = "sk-..." }OpenCode (
opencode.json):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"kali": {
"type": "local",
"command": ["python", "mcp_server.py", "--tool-profile", "harness"],
"environment": { "KALI_MCP_TOOL_PROFILE": "harness", "K4_LEGACY_CLUSTER": "1", "KALI_MCP_FORCE_ENABLE_MODULES": "multi_agent", "OPENAI_API_KEY": "sk-..." },
"enabled": true
}
}
}CLI live view (no harness needed):
python3 agent_live.py "scan http://localhost:8000/ for web vulnerabilities" --no-cacheLLM provider env vars: LLM_PROVIDER=anthropic|openai (auto-detected from keys), ANTHROPIC_API_KEY/MODEL/BASE_URL, OPENAI_API_KEY/MODEL/BASE_URL. No key → deterministic fallback mode.
KB rebuild: python scripts/build_kb_index.py (idempotent, content-hash incremental).
Architecture
flowchart TB
U["User / Main agent"] -->|natural-language task| ORCH
subgraph ORCH["OrchestratorAgent (main LLM decision-maker)"]
OL["LLMBrain top-level planning loop"]
OB["MissionBrief generation"]
OV["Result review / recycle / re-plan"]
end
subgraph KB["Vectorized knowledge base"]
IDX[("kb_vectors.db<br/>sqlite-vec")]
RT["KnowledgeRetriever<br/>semantic top-k + metadata filter + BM25 fusion"]
EMB["Embedding model<br/>BAAI/bge-small-zh-v1.5 local 512-dim"]
end
subgraph DAG["Attack DAG + ACO"]
DAGS["DAGService<br/>single writer"]
ACO["Ant Colony Optimization<br/>pheromone evaporation/deposit/route"]
PHE[("attack-path pheromone table")]
end
subgraph AGENTS["17 LLM sub-agents"]
A1["recon_agent"] -->|shared| LB["LLMAgentBase<br/>LLMBrain decision loop"]
A2["web_vuln_agent"] -->|shared| LB
A3["exploit_agent"] -->|shared| LB
AX["...remaining 14"]
end
SUM["SummarizerAgent"]
ES["EventStream<br/>SSE push"]
BUS["EventBus<br/>tool.result / mission / dag / summary"]
MESH["MeshMessageBus<br/>agent peer-to-peer"]
TB["ToolBridge<br/>call_tool + catalog"]
EX["executor / fastsec etc. real tools"]
WS["WebSearch<br/>ddg/tavily tools"]
ORCH -->|mission.created| BUS
ORCH -->|retrieve| RT
ORCH -->|read τ/η recommendation| DAGS
BUS --> DAGS
DAGS -->|dag.updated| ACO
ACO -->|candidate edge scores| ORCH
ACO -->|candidate edge scores| LB
LB -->|call_tool| TB
TB --> EX
LB -->|tool.result| BUS
LB -->|retrieve| RT
TB -.register.-> WS
BUS --> SUM
MESH --> AGENTS
SUM -->|summary.update| BUS
SUM -->|SSE| ES
ES --> U
ORCH -->|mission.review| BUS
DAGS -->|dag.updated| SUMCore Capabilities
Capability | Description | Module |
LLM is the sole decision-maker | Every "what next" conclusion comes from an LLM decision JSON ( |
|
17 LLM-autonomous sub-agents | Each extends |
|
Attack DAG + ACO | Discoveries become DAG nodes; edges carry pheromone τ ∈ [0.05, 1]; |
|
SummarizerAgent | sha1-fingerprint dedupe → three-layer false-positive filtering → severity sort → real-time SSE push |
|
Vectorized knowledge base | Local |
|
Live web search |
|
|
fastsec engine | Self-developed Go scanner replacing 25 external tools (gobuster/nikto/sqlmap/ffuf/nuclei/hydra/whatweb/...): dir / CMS / SQLi / XSS / brute (2.63M-pass dicts) / Kerberos / fingerprint / OSINT / hash crack / reverse-shell / SAM |
|
Adaptive execution backend | Auto-detected at startup: local subprocess (default) / SSH / Docker |
|
The 17 LLM-Autonomous Sub-agents
Group | Agents |
Information gathering |
|
Vulnerability discovery |
|
Exploitation |
|
Specialized |
|
MCP Tool Surface (converged keep-set)
Category | Tools |
LLM orchestration |
|
Task board |
|
fastsec |
|
Port/service |
|
Credential / AD |
|
Exploit / PWN |
|
Session / workflow |
|
Async scan |
|
Meta fallback |
|
Environment Variables
Variable | Default | Purpose |
|
|
|
| — | Force-enable modules, e.g. |
| — |
|
| — |
|
|
| Task workspace (evidence/reports) |
| — | Authorization scope declaration |
| auto |
|
| — | Claude provider |
| — | OpenAI provider |
|
|
|
| — | tavily key |
Compliance
For authorized penetration testing, CTF competitions, security research and defensive assessments only. Declare your engagement scope (set_engagement_context or KALI_MCP_ENGAGEMENT_JSON/FILE) before use. Unauthorized scanning or destructive operations are strictly prohibited.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to execute penetration testing commands and security tools on Kali Linux remotely. Supports automated reconnaissance, vulnerability scanning, and CTF solving through integration with 25+ offensive security tools like nmap, gobuster, and nuclei.16
- FlicenseNot gradedqualityDmaintenanceConnects AI assistants to 55+ Kali Linux security tools for automated CTF solving, penetration testing, and security analysis across 7 categories including cryptography, forensics, web security, and binary exploitation.50
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform penetration testing and security assessments by exposing 60+ Kali Linux security tools including network scanning, web security testing, password cracking, exploitation frameworks, and OSINT capabilities through an AI-friendly interface.2MIT
- FlicenseNot gradedqualityDmaintenanceProvides access to over 40 industry-standard penetration testing tools, including Nmap, SQLMap, and Metasploit, within an isolated Kali Linux Docker container. It enables security professionals to perform comprehensive network reconnaissance, web application testing, and vulnerability research through natural language commands.
Related MCP Connectors
Offline methodology engine for authorized penetration testing, CTF, and security research.
Pay-per-call cybersecurity for AI agents: vuln scans, threat intel, compliance, code security.
AI-powered threat intelligence, smart contract auditing, and cybersecurity OSINT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SeaC-25/Kali-Security-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server