Drata MCP Server
Connects Claude to Drata compliance platform for SOC2 audit preparation and ongoing monitoring, enabling queries on controls, tests, personnel, and policies.
README
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
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
- 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/ -v
Requirements
- Python 3.11+
- Drata account with API access
- Claude Desktop (for MCP integration)
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.