Skip to main content

BloodHound MCP

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",
        "<PATH_TO_THE_PROJECT>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 contributions to BloodHound MCP! To get involved:

  1. Fork the Repository: Create your own copy on GitHub.
  2. Create a Branch: Work on your feature or fix in a new branch.
  3. Submit a Pull Request: Include a clear description of your changes.

Special Thanks

Custom queries from : https://github.com/CompassSecurity/BloodHoundQueries

Metadata

Release files for iflow-mcp_bloodhound-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_bloodhound-mcp 0.1.0
File Size Uploaded
iflow_mcp_bloodhound_mcp-0.1.0.tar.gz 2.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_bloodhound-mcp 0.1.0
File Interpreter ABI Platform
iflow_mcp_bloodhound_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / iflow_mcp_bloodhound_mcp-0.1.0.tar.gz

Download URL iflow_mcp_bloodhound_mcp-0.1.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4c41288a931270864e55ab4f9dfe164ff505eb1b90feabf10fa69083dd83c50c
BLAKE2b-256 checksum
How to use checksums
922d31fb49ea997e021fd702956ac2a6feb234ae0f0be8b68c6269f5f69cd202
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / iflow_mcp_bloodhound_mcp-0.1.0-py3-none-any.whl

Download URL iflow_mcp_bloodhound_mcp-0.1.0-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31ecc1868a7590586699b00144b3ad54d83c11eefed61669c4c103aca2ac79e1
BLAKE2b-256 checksum
How to use checksums
383416de43b67c630aac472defaa1b52288fbda276890034905a7e128e466030
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page