Drata MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Drata MCP Server Show me failing tests"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Drata MCP Server
A Model Context Protocol (MCP) server that connects Claude to your Drata compliance platform. Designed for SOC2 Type II audit preparation and ongoing compliance monitoring.
What it does
This MCP server gives Claude direct access to your Drata data, allowing you to:
Monitor compliance status - Get real-time summaries of controls, tests, and personnel compliance
Track failing tests - Identify which automated monitors are failing and why
Review controls - See which controls need attention (missing evidence, no owner, not ready)
Check personnel compliance - Find employees with device compliance issues
Prepare for audits - Generate comprehensive audit readiness reports
Related MCP server: clio-mcp
Tools Available
Tool | Description |
| Dashboard overview of all compliance areas |
| List controls with optional search and filtering |
| Controls that need attention (NOT_READY, NO_OWNER, NEEDS_EVIDENCE) |
| Detailed info about a specific control including linked monitors |
| All tests linked to a specific control |
| All automated monitoring tests with status summary |
| Tests currently failing - critical for SOC2 |
| Personnel with compliance status |
| Personnel with device compliance problems |
| Company policies with version info |
| Policies awaiting user acknowledgment |
| Integration status (GitHub, AWS, etc.) |
| Third-party vendors |
| Registered devices |
Installation
# Clone the repository
git clone https://github.com/sderosiaux/drata-mcp.git
cd drata-mcp
# Create virtual environment and install
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e .
# Configure your API key
cp .env.example .env
# Edit .env and add your DRATA_API_KEYGet your Drata API Key
Log into Drata
Go to Settings → API Keys
Click Create API Key
Copy the key to your
.envfile
Usage with Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"drata": {
"command": "/path/to/drata-mcp/.venv/bin/python",
"args": ["-m", "drata_mcp.server"],
"cwd": "/path/to/drata-mcp"
}
}
}Then restart Claude Desktop.
Example Prompts
Once configured, you can ask Claude:
"What's my Drata compliance status?"
"Show me failing tests"
"Which controls need attention?"
"List personnel with device issues"
"Prepare me for the SOC2 audit"
"What tests are linked to control DCF-71?"
Development
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest tests/ -vRequirements
Python 3.11+
Drata account with API access
Claude Desktop (for MCP integration)
License
MIT
Available Tools
21 toolsget_compliance_summaryB
Get overall compliance dashboard summary.
Returns: Aggregated view of compliance status across all areas
Inputs: no named parameters. Returns: object
get_control_detailsA
Get detailed information about a specific control.
Args: control_code: The control code (e.g., "DCF-71", "DCF-12")
Returns: Full control details including linked monitors
Inputs: control_code (required). Returns: object
get_monitor_detailsB
Get detailed information about a specific monitor/test.
Args: monitor_id: The monitor ID
Returns: Full monitor details including failure reasons and remediation
Inputs: monitor_id (required). Returns: object
get_monitors_for_controlB
Get all monitors (tests) that affect a specific control.
Args: control_code: The control code (e.g., "DCF-71")
Returns: List of monitors linked to this control
Inputs: control_code (required). Returns: object
get_personnel_detailsB
Get detailed personnel compliance information.
Args: personnel_id: Personnel ID
Returns: Full personnel details with compliance checklist
Inputs: personnel_id (required). Returns: object
list_assetsB
List all assets in the asset inventory.
Args: asset_type: Filter by type - PHYSICAL, VIRTUAL, CLOUD, DATA, PERSONNEL
Returns: List of assets with details
Inputs: asset_type. Returns: object
list_connectionsC
List all integrations/connections and their status.
Args: limit: Max results
Returns: List of connections with sync status
Inputs: limit. Returns: object
list_controlsB
List ALL compliance controls with optional search.
Args: search: Search term for control name/description only_issues: If True, only show controls with problems (not ready, no owner, no evidence)
Returns: List of controls with their status and details
Inputs: search, only_issues. Returns: object
list_controls_with_issuesA
Get controls that are NOT OK / have problems / need attention.
Use this tool when user asks for:
"controls pas bon" / "bad controls" / "failing controls"
"controls with issues" / "problematic controls"
"controls that need work" / "controls à corriger"
Returns controls with status: NOT_READY, NO_OWNER, or NEEDS_EVIDENCE.
Returns: Controls with compliance issues and their status
Inputs: no named parameters. Returns: object
list_devicesC
List all registered devices.
Args: limit: Max results
Returns: List of devices with compliance status
Inputs: limit. Returns: object
list_eventsA
List compliance events from the audit log.
Note: Due to API limitations, events are returned in chronological order (oldest first).
Args: limit: Number of events to return (default 50) category: Filter by category - PERSONNEL, CONTROL, MONITOR, CONNECTION, POLICY, VENDOR
Returns: Events with details
Inputs: limit, category. Returns: object
list_evidenceA
List ALL evidence in the evidence library.
Returns evidence documents uploaded to Drata for compliance.
Returns: List of evidence with details and versions
Inputs: no named parameters. Returns: object
list_expiring_evidenceB
List evidence that hasn't been updated recently and may need renewal.
Args: days: Consider evidence stale if not updated in this many days (default 30)
Returns: Evidence that may need to be renewed
Inputs: days. Returns: object
list_failing_monitorsA
Get all FAILED automated monitoring tests - critical for SOC2.
Returns: List of failing tests that need remediation
Inputs: no named parameters. Returns: object
list_monitorsC
List ALL automated monitoring tests.
Args: status: Filter - PASSED, FAILED, NOT_TESTED
Returns: List of monitoring tests with status summary
Inputs: status. Returns: object
list_pending_policy_acknowledgmentsC
Get policies pending user acknowledgment.
Args: limit: Max results
Returns: List of unacknowledged policy assignments
Inputs: limit. Returns: object
list_personnelB
List ALL personnel with compliance status.
Args: employment_status: Filter - CURRENT_EMPLOYEE, CURRENT_CONTRACTOR, FORMER_EMPLOYEE, FORMER_CONTRACTOR
Returns: Personnel list with compliance status
Inputs: employment_status. Returns: object
list_personnel_with_issuesB
Get personnel with compliance issues (failing devices).
Returns: Personnel with failing device compliance
Inputs: no named parameters. Returns: object
list_policiesB
List all company policies.
Args: limit: Max results
Returns: List of policies with version info
Inputs: limit. Returns: object
list_usersB
List all Drata users in your organization.
Returns: List of users with their roles
Inputs: no named parameters. Returns: object
list_vendorsC
List all vendors.
Args: limit: Max results
Returns: List of vendors
Inputs: limit. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Tools are mostly distinct by resource, but list_controls_with_issues and list_failing_monitors duplicate functionality already available via filters on list_controls and list_monitors, creating overlap. Descriptions attempt to guide usage, but an agent may still struggle to choose the right tool for issue-focused queries.
Almost all tools follow a snake_case verb_noun pattern (list_* for collections, get_* for details). Minor deviation: get_monitors_for_control uses get_ for a list operation, and some list_* names include qualifiers, but the convention is predictable.
21 tools is at the upper end of reasonable for a compliance platform covering many resource types. However, the count is inflated by redundant issue-specific aliases, making the set feel heavier than necessary.
The server covers major compliance entities and includes detail endpoints for controls, monitors, and personnel. Yet many resources (policies, vendors, devices, evidence, assets, users) are list-only, and no mutation tools exist, leaving notable gaps for deeper investigation or remediation workflows.
Maintenance
Related MCP Connectors
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
- platform7nDeprecatedtech.p7n
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Give Claude only the Google Drive files you choose. Every action logged.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceConnects Claude AI to Google Search Console with OAuth 2.0 authentication, enabling users to analyze search performance, inspect URLs, manage sitemaps, and export analytics data through natural language conversations.2-
- AlicenseNot gradedqualityBmaintenanceConnects Claude to Clio practice management, enabling AI-assisted access to matters, contacts, documents, tasks, and billing with audit logging and encryption for law firm compliance.168 npm30MIT
- AlicenseAqualityCmaintenanceConnects Claude to Amazon Seller Central via the SP-API for natural language queries on sales, inventory, reports, fees, reimbursements, and analytics.2052MIT
- AlicenseNot gradedqualityDmaintenanceConnects Claude to OCI Logging Analytics for natural language querying and analysis of security logs, including detection catalog, MITRE ATT&CK integration, and cross-log correlation.2MIT