The ROADrecon MCP Server provides AI assistants like Claude with access to your ROADRecon Azure AD data for security analysis. It enables you to perform security assessments on your Azure AD environment by letting Claude interact directly with your collected data.
pip install -r requirements.txt
Make sure your ROADRecon GUI is running (default: 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
More details on this step can be found here: https://modelcontextprotocol.io/quickstart/server
Once connected, Claude can:
roadrecon://users
)find_privileged_users
)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 for all usersroadrecon://directoryroles
- All directory rolesroadrecon://roledefinitions
- All role definitionsroadrecon://approles
- All app role assignmentsroadrecon://oauth2permissions
- All OAuth2 permission grantsroadrecon://tenantdetails
- Tenant detailsfind_privileged_users()
- Find users with high-privilege rolesanalyze_mfa_status()
- Analyze MFA deployment across usersfind_applications_with_secrets()
- Find applications with secrets/certificatesanalyze_groups()
- Analyze group types and membershipidentify_stale_accounts()
- Find accounts that haven't logged in recentlyanalyze_pim_implementation()
- Assess Privileged Identity Management implementationanalyze_service_principal_credentials()
- Find over-permissioned service principalsanalyze_legacy_authentication()
- Identify risks from legacy authentication protocolsanalyze_conditional_access_policies(file_path: str = "")
- Analyze conditional access policiesanalyze_security_posture
- Comprehensive security analysisanalyze_privileged_access
- Analysis of privileged access modelinvestigate_application_risks
- Application security risk assessmentanalyze_identity_security
- Identity security configuration analysisanalyze_stale_accounts
- Analysis of inactive user accountsanalyze_privileged_access_management
- PIM implementation assessmentanalyze_service_principal_security
- Service principal credential risk analysisanalyze_legacy_authentication_risks
- Legacy authentication protocol risk assessmentanalyze_conditional_access
- Analysis of conditional access policiescomprehensive_security_review
- Complete security review of the environmentTo add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "roadrecon-analyzer" '{"command":"python","args":["roadrecon_mcp_server.py"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"roadrecon-analyzer": {
"command": "python",
"args": [
"roadrecon_mcp_server.py"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"roadrecon-analyzer": {
"command": "python",
"args": [
"roadrecon_mcp_server.py"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect