MB

mwnickerson/bloodhound_mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

148 stars 30 forks 质量 74 趋势 5GPL-3.0

mwnickerson/bloodhound_mcp 是一个从 https://github.com/mwnickerson/bloodhound_mcp. 导入的 MCP 服务器候选

概览

mwnickerson/bloodhound_mcp 是一个从 https://github.com/mwnickerson/bloodhound_mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

一个模型上下文协议(MCP)服务器,连接大型语言模型与BloodHound社区版和BloodHound Enterprise。用自然语言提问,获取攻击路径分析,运行Cypher查询,探索Active Directory、Azure/Entra ID和OpenGraph环境——所有这些都来自你的AI助手。

演示

观看演示视频


工作原理

该服务器通过一套13个复合MCP工具、10个参考资源以及一个为进攻性安全分析调校的系统提示符,暴露了BloodHound CE的REST API和Neo4j图。

复合工具

每个工具使用一个 info_type 参数来选择返回的数据,保持工具表面小巧且令牌高效:

工具 info_type选项
domain_info list, info, users, groups, computers, ous, gpos, dc_syncers, foreign_admins, foreign_group_members, linked_gpos, search
user_info info, sessions, memberships, admin_rights, rdp_rights, dcom_rights, ps_remote_rights, ps_remote_rights, sql_admin_rights, constrained_delegation, controllables, controllers

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

BloodHound MCP

A Model Context Protocol (MCP) server that connects LLMs to BloodHound Community Edition and BloodHound Enterprise. Ask questions in natural language, get attack path analysis, run Cypher queries, and explore Active Directory, Azure/Entra ID, and OpenGraph environments — all from your AI assistant.

Demo

Watch the demonstration video


How It Works

The server exposes BloodHound CE’s REST API and Neo4j graph through a set of 13 composite MCP tools, 10 reference resources, and a system prompt tuned for offensive security analysis.

Composite Tools

Each tool uses an info_type parameter to select what data is returned, keeping the tool surface small and token-efficient:

Tool info_type Options
domain_info list, info, users, groups, computers, ous, gpos, dc_syncers, foreign_admins, foreign_group_members, linked_gpos, search
user_info info, sessions, memberships, admin_rights, rdp_rights, dcom_rights, ps_remote_rights, sql_admin_rights, constrained_delegation, controllables, controllers
group_info info, members, memberships, admin_rights, rdp_rights, dcom_rights, ps_remote_rights, controllers, controllables
computer_info info, sessions, local_admins, rdp_rights, dcom_rights, ps_remote_rights, sql_admins, constrained_delegation, controllables, controllers
ou_info info, users, groups, computers, gpos
gpo_info info, controllers
graph_analysis shortest_path, edge_composition, search
adcs_info templates, esc_paths
cypher_query run, saved_list, saved_get
data_quality stats, platform_list, platform_info
asset_groups list, members, custom_selectors
custom_nodes list, get, create, update, delete, validate_icon, extension_list, extension_upsert, extension_delete, extension_edges
file_upload upload, start_job, upload_to_job, upload_bytes, upload_bytes_to_job, end_job

Resources

Reference material the LLM loads on demand — no extra API calls:

Resource URI Contents
bloodhound://cypher/reference Cypher syntax, schema, property names, patterns
bloodhound://cypher/offensive-queries Battle-tested templates: DCSync, Kerberoasting, GPO abuse, delegation, ADCS, shadow credentials, NTLM relay, and more
bloodhound://guides/ad AD node types and relationships quick reference
bloodhound://guides/ad-methodology Full AD attack methodology and workflow
bloodhound://guides/azure Azure/Entra ID analysis quick reference
bloodhound://guides/azure-methodology Full Azure attack chains
在 GitHub 查看完整 README

安装

uvx --from git+https://github.com/mwnickerson/bloodhound_mcp bloodhound-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "bloodhound_mcp": { "command": "uvx", "args": [ "--from", "git+https://github.com/mwnickerson/bloodhound_mcp", "bloodhound-mcp" ] } } }