Skip to main content
Glama
Drata MCP Server

Drata MCP Server

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

get_compliance_summary

Dashboard overview of all compliance areas

list_controls

List controls with optional search and filtering

list_controls_with_issues

Controls that need attention (NOT_READY, NO_OWNER, NEEDS_EVIDENCE)

get_control_details

Detailed info about a specific control including linked monitors

get_monitors_for_control

All tests linked to a specific control

list_monitors

All automated monitoring tests with status summary

list_failing_monitors

Tests currently failing - critical for SOC2

list_personnel

Personnel with compliance status

list_personnel_with_issues

Personnel with device compliance problems

list_policies

Company policies with version info

list_pending_policy_acknowledgments

Policies awaiting user acknowledgment

list_connections

Integration status (GitHub, AWS, etc.)

list_vendors

Third-party vendors

list_devices

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_KEY

Get your Drata API Key

  1. Log into Drata

  2. Go to Settings → API Keys

  3. Click Create API Key

  4. Copy the key to your .env file

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/ -v

Requirements

  • Python 3.11+

  • Drata account with API access

  • Claude Desktop (for MCP integration)

License

MIT

Available Tools

21 tools
get_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

    B3.2/5.0

    Scored across 21 tools

    Disambiguation3/5

    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.

    Naming Consistency4/5

    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.

    Tool Count3/5

    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.

    Completeness3/5

    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

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Connects 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
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Connects 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 npm
      30
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Connects 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.
      2
      MIT