Purpose
ROADrecon MCP Server is an MCP (Model Context Protocol)-based server designed to enable AI assistants such as Claude to access Azure AD data collected by ROADRecon and perform security analysis on it. It leverages ROADRecon data from the ROADtools suite to provide AI with a structured view of the Azure AD environment.
Main Capabilities
This server provides capabilities in three ways:
Resources
Readable Azure AD data types include:
roadrecon://stats- Summary statisticsroadrecon://users- All usersroadrecon://users/{id}- User detailsroadrecon://groups- All groupsroadrecon://groups/{id}- Group detailsroadrecon://applications- All applicationsroadrecon://applications/{id}- Application detailsroadrecon://serviceprincipals- All service principalsroadrecon://serviceprincipals/{id}- Service principal detailsroadrecon://devices- All devicesroadrecon://mfa- MFA status of all usersroadrecon://directoryroles- All directory rolesroadrecon://roledefinitions- All role definitionsroadrecon://approles- All app role assignmentsroadrecon://oauth2permissions- All OAuth2 permission grantsroadrecon://tenantdetails- Tenant details
Tools
Executable security analysis operations include:
find_privileged_users()- Find users with high-privilege rolesanalyze_mfa_status()- Analyze user MFA deploymentfind_applications_with_secrets()- Find applications with keys or certificatesanalyze_groups()- Analyze group types and membershipsidentify_stale_accounts()- Find accounts that have not signed in or changed passwords within a specified periodanalyze_pim_implementation()- Assess Privileged Identity Management implementationanalyze_service_principal_credentials()- Find over-privileged service principals with long-lived credentialsanalyze_legacy_authentication()- Identify legacy authentication protocol risks that can bypass MFAanalyze_conditional_access_policies(file_path: str = "")- Analyze conditional access policies from HTML files; by default looks forC:\Temp\caps.html, and if not found, prompts the user to specify a file path
Prompts
Built-in security analysis templates include:
analyze_security_posture- Comprehensive security analysisanalyze_privileged_access- Privileged access model analysisinvestigate_application_risks- Application security risk assessmentanalyze_identity_security- Identity security configuration analysisanalyze_stale_accounts- Inactive user account analysisanalyze_privileged_access_management- PIM implementation assessmentanalyze_service_principal_security- Service principal credential risk analysisanalyze_legacy_authentication_risks- Legacy authentication protocol risk assessmentanalyze_conditional_access- Conditional access policy analysis and recommendationscomprehensive_security_review- Perform a complete security review of the entire environment
Usage
Prerequisites:
- A running ROADRecon instance whose Web GUI is accessible
- An MCP-compatible client (such as Claude Desktop)
Installation and running:
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
- Ensure the ROADRecon GUI is running (default address:http://localhost:5000)
- Run the MCP server:
python roadrecon_mcp_server.py
To specify a different ROADRecon URL:
ROADRECON_URL=http://localhost:8080 python roadrecon_mcp_server.py
Connect Claude Desktop:
- Open Claude Desktop
- Go to Settings → Servers → Add Server
- Select "Add from running server"
- The server should appear in the list; click "Install"
For more details, refer to:https://modelcontextprotocol.io/quickstart/server
Once connected, Claude can:
- Access Azure AD data via resources (such as
roadrecon://users) - Perform security analysis via tools (such as
find_privileged_users) - Use preset prompts to handle common security tasks
Example queries:
- "Analyze the MFA status of users in this Azure AD tenant"
- "Find all users with privileged roles"
- "Check for applications with secrets or certificates"
- "Analyze the overall security posture of this Azure AD environment"
Use cases
- Conduct security audits and posture assessments of Azure AD tenants
- Identify highly privileged users, MFA deployment gaps, and applications with secrets
- Assess risks such as PIM, service principal credentials, legacy authentication, and conditional access policies
- Query and summarize ROADRecon data in natural language via an AI assistant
Limitations
- Must rely on a running ROADRecon instance and its Web GUI
- Requires an MCP-compatible client (such as Claude Desktop) to use
- Conditional access policy analysis requires providing an HTML file, with the default path being
C:\Temp\caps.html - No further information is provided regarding fees, pricing, platform support scope, etc.