BloodHoundSAFE
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
BloodHound MCP (Model Context Protocol) is an innovative extension of the BloodHound tool, designed to enable Large Language Models (LLMs) to interact with and analyze Active Directory (AD) and Azure Active Directory (AAD) environments through natural language queries. By leveraging the power of LLMs, BloodHound MCP allows users to perform complex queries and retrieve insights from their AD/AAD environments using simple, conversational commands.
Features
- Natural Language Queries: Use conversational language to query your AD/AAD environment without needing to write Cypher queries manually.
- LLM-Powered Analysis: Harness the capabilities of Large Language Models to interpret and execute queries on your behalf.
- Seamless Integration: Works with existing BloodHound data stored in Neo4j, providing a user-friendly interface for complex analysis.
- Customizable: Easily configure the system to work with your specific environment and tools.
Configure the MCP Server
{
"mcpServers": {
"BloodHound": {
"name": "BloodHound",
"isActive": true,
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli],neo4j",
"mcp",
"run",
"server.py"
],
"env": {
"BLOODHOUND_URI": "bolt://localhost:7687",
"BLOODHOUND_USERNAME": "neo4j",
"BLOODHOUND_PASSWORD": "bloodhound"
}
}
}
}Usage
Configuration
To customize BloodHound MCP, update the configuration file in your MCP-supported tool. Key settings include:
- Neo4j Database Connection:
BLOODHOUND_URI: The URI of your Neo4j database (e.g., bolt://localhost:7687).BLOODHOUND_USERNAME: Your Neo4j username.BLOODHOUND_PASSWORD: Your Neo4j password.- Server Settings: Adjust the command and args to match your environment and tool requirements.
Contributing
We welcome contribut
3a9d10d79833OBSERVED · 2026-10-06Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add bloodhound-mcp --env BLOODHOUND_PASSWORD=${BLOODHOUND_PASSWORD} -- uvx bloodhound-mcp{
"mcpServers": {
"bloodhound-mcp": {
"command": "uvx",
"args": [
"bloodhound-mcp"
],
"env": {
"BLOODHOUND_PASSWORD": "${BLOODHOUND_PASSWORD}"
}
}
}
}Exposed tools (106)
104 read · 2 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
computers_with_most_sessions | read | |
find_all_enabled_as_rep_roastable_users | read | |
find_all_enabled_kerberoastable_users | read | |
find_all_owned_groups_granting_network_share_access | read | |
find_allshortestpaths_with_dcsync_to_domain | read | |
find_allshortestpaths_with_shadow_credential_permission | read | |
find_azure_app_owners_with_dangerous_rights | read | |
find_enabled_certificate_templates | read | |
find_owned_users_with_azure_tenancy_access | read | |
find_owned_users_with_group_granted_azure_access | read | |
find_paths_dangerous_rights_to_adminsdholder | read | |
list_all_aad_groups_synchronized_with_ad | read | |
list_all_ad_principals_with_edges_to_azure_principals | read | |
list_all_authenticated_users_group_memberships | read | |
list_all_certificate_templates | read | |
list_all_cross_domain_user_sessions_and_memberships | read | |
list_all_domain_users_group_memberships | read | |
list_all_enabled_azure_users | read | |
list_all_enabled_azure_users_group_memberships | read | |
list_all_enabled_users_logged_in_last_90_days | read | |
list_all_enabled_users_never_logged_in | read | |
list_all_enabled_users_set_password_last_90_days | write | |
list_all_enabled_users_with_foreign_group_membership | read | |
list_all_enabled_users_with_no_password_required | read | |
list_all_enabled_users_with_password_never_expires | read | |
list_all_enabled_users_with_userpassword_attribute | read | |
list_all_enrollment_rights_for_certificate_templates | read | |
list_all_gpos | read | |
list_all_groups | read | |
list_all_owned_computers | read | |
list_all_owned_enabled_users | read | |
list_all_owned_enabled_users_with_email | read | |
list_all_owned_enabled_users_with_rdp_and_sessions | read | |
list_all_owned_enabled_users_with_sqladmin | read | |
list_all_owned_users | read | |
list_all_principals_used_for_syncing_ad_and_aad | read | |
list_all_principals_with_local_admin_permission | read | |
list_all_principals_with_rdp_permission | read | |
list_all_principals_with_sqladmin_permission | read | |
list_all_tenancy | read | |
list_all_user_sessions | read | |
list_all_users_with_description_field | read | |
list_certificate_authority_servers | read | |
list_computers_without_laps | read | |
list_custom_privileged_groups | read | |
list_domain_computers | read | |
list_domain_controllers | read | |
list_domain_trusts | read | |
list_domains | read | |
list_en_svc_accts_priv_grp_mems | read | |
list_enabled_non_privileged_users_with_local_admin | read | |
list_enabled_non_privileged_users_with_rdp | read | |
list_enabled_non_privileged_users_with_rdp_and_sessions | read | |
list_enabled_non_privileged_users_with_sqladmin | read | |
list_enabled_principals_with_constrained_delegation | read | |
list_enabled_principals_with_unconstrained_delegation | read | |
list_enabled_users | read | |
list_enabled_users_pwd_never_expires_unchanged_1yr | read | |
list_enabled_users_with_email | read | |
list_esc1_vulnerable_certificate_templates | read | |
list_esc2_vulnerable_certificate_templates | read | |
list_esc3_vulnerable_certificate_templates | read | |
list_esc4_vulnerable_certificate_templates | read | |
list_esc6_vulnerable_certificate_templates | read | |
list_esc7_vulnerable_certificate_templates | read | |
list_esc8_vulnerable_certificate_templates | read | |
list_high_value_targets | read | |
list_network_shares_ignoring_sysvol | read | |
list_non_managed_service_accounts | read | |
list_non_priv_users_with_admin_and_sessions | read | |
list_own_en_usrs_local_adm_sess | read | |
list_principals_with_azure_tenancy_access | read | |
list_privileged_users_without_protected_users | read | |
list_privileges_for_certificate_authority_servers | read | |
non_privileged_users_with_dangerous_permissions | read | |
route_all_owned_enabled_group_memberships | read | |
route_all_owned_enabled_non_privileged_group_memberships | read | |
route_all_owned_enabled_privileged_group_memberships | read | |
route_all_sessions_to_computers | read | |
route_all_sessions_to_computers_without_laps | read | |
route_azure_users_with_dangerous_rights_to_users | read | |
route_from_owned_enabled_principals_to_high_value_targets | read | |
route_non_priv_comps_dangerous_rights_to_comps | read | |
route_non_priv_comps_dangerous_rights_to_gpos | read | |
route_non_priv_comps_dangerous_rights_to_groups | read | |
route_non_priv_comps_dangerous_rights_to_priv_nodes | read | |
route_non_priv_comps_dangerous_rights_to_users | read | |
route_non_priv_users_dangerous_rights_to_comps | read | |
route_non_priv_users_dangerous_rights_to_priv_nodes | read | |
route_non_priv_usrs_dang_rts_grps | read | |
route_non_privileged_users_with_dangerous_permissions | read | |
route_non_privileged_users_with_dangerous_rights_to_gpos | read | |
route_non_privileged_users_with_dangerous_rights_to_users | read | |
route_own_en_usrs_dang_rts_usrs | read | |
route_own_en_usrs_unconst_del | read | |
route_owned_users_dangerous_rights_to_any | read | |
route_owned_users_dangerous_rights_to_groups | read | |
route_principals_to_azure_apps_and_sps | read | |
route_principals_to_azure_vm | read | |
route_principals_to_global_administrators | read | |
route_priv_users_sessions_to_non_priv_comps | read | |
route_user_principals_to_azure_service_principals | read | |
run_query | write | |
users_with_most_cross_domain_sessions | read | |
users_with_most_local_admin_rights | read | |
users_with_most_sessions | read |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (1)
Gates applied: no_behavioural_pass, no_license.
3a9d10d79833full audit observations/trust-audit/mcp-server/stevenyu113228__bloodhound.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-06 | 3a9d10d79833 | SAFE | B | 89 | first audit |
Questions
What tools does BloodHound expose?
106 in total: 104 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is BloodHound safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does BloodHound need?
It reads BLOODHOUND_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does BloodHound run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as bloodhound-mcp.
How current is this page?
The grade is for one exact copy of the source (3a9d10d79833), read on 2026-10-06. The repository is watched and re-audited when it changes.