Drata MCP Server
for AI Agents
Connect your AI agent to StackOne's Drata MCP server and give it 64 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
64 Agent Actions
Create, read, update, and delete across Drata — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Drata MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Drata tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Drata call.
Tools Discovery →What is the Drata MCP Server?
A Drata MCP server lets AI agents read and write Drata data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Drata MCP server ships with 64 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Drata MCP Tools
Every action from Drata's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Controls
- Create Control
Add a new control to the account
- List Controls
Retrieve a list of all compliance controls with optional filtering
- Get Control
Retrieve detailed information about a specific control
- Update Control
Edit an existing control
Control Evidences
- Upload Control Evidence
Upload external evidence document for a specific control
- Get Control Evidence
Retrieve external evidence documents for a specific control
Control Notes
- List Control Notes
Retrieve all notes associated with a specific control
- Get Control Note
Retrieve a specific note associated with a control by note ID
Devices
- List Devices
Retrieve a list of all devices in the inventory with filtering options
- Get Device
Retrieve detailed information about a specific device
Evidences
- List Evidence
Retrieve a list of all evidence in the evidence library with filtering and search options
- Get Evidence
Retrieve detailed information about a specific evidence
Unified Organizations
- List Unified Organizations
List unified organizations in Drata.
- Get Unified Organization
Get a unified Drata organization by ID.
Unified Roles
- List Unified Roles
List unified roles in Drata.
- Get Unified Role
Get a unified Drata role by ID.
Unified Users
- List Unified Users
List unified users in Drata.
- Get Unified User
Get a unified Drata user by ID.
Personnels
- List Personnel
List personnel records with search terms and filters
- Get Personnel
Get the full detail of a personnel record by ID
Trust Center Requests
- List Trust Center Requests
List access requests with search and filter options
- Get Trust Center Request
Get details of a specific Trust Center access request by ID
Users
- List Users
List users with search terms and filters
- Get User
Get the full detail of a user record by ID
Vendors
- List Vendors
List vendors with search terms and filters
- Get Vendor
Get a vendor by ID
Workspaces
- List Workspaces
Retrieve a list of all workspaces (useful for finding Workspace IDs for POST/PUT requests)
- Get Workspace
Retrieve detailed information about a specific workspace
Other (36)
- Upload Personnel Document
Upload an evidence document for a specific user (e.g., security training certificate)
- List Assets
Find assets by search terms and filters
- Get Company Info
Retrieve comprehensive information about the company including settings, domains, and compliance configuration
- Get Control Evidence Download URL
Generate download URL for a zip file containing all control evidence
- Get Control Requirements
Retrieve all mapped requirements from a specific control
- Get Control Owners
Retrieve control owners for a specific control
- List Customer Requests
Get customer request list with filters
- Get Device Apps
Retrieve a list of apps associated with a specific device
- List Device Documents
Retrieve a list of documents for a specific device with optional type filtering
- Get Device Document Download URL
Generate a download URL for a specific device document
- Get Evidence Download URL
Generate a pre-signed download URL for an evidence file
- Get Unified Credentials
Get the current Drata connection's unified credentials and identity.
- List Monitoring Tests
Retrieve a list of all automated monitoring tests with filtering and search options
- Get Monitoring Test Details
Retrieve detailed information about a specific monitor
- Get Monitoring Test Failures
Retrieve failed test results for a specific monitor
- Get Personnel By Email
Get the full detail of a personnel record by email address
- List Policies
List all policies with their metadata
- Get Policy
Get a policy by ID
- Get Policy Version Download URL
Get signed download URL for a specific policy version
- Get Policy Download URL
Get signed download URL for policy's current published version
- Get Policy PDF Download URL
Get signed download URL for policy's current published PDF version
- List Policy Associated Controls
Get controls associated with a policy
- List Trust Center Controls
Get monitoring controls information from Trust Center
- List Trust Center Reports
Generate Trust Center reports for a specific date range and report type
- List Trust Center Private Documents
List private documents with optional name filter
- Get Trust Center Private Access
Get private access information for Trust Center
- List Infrastructure User Identities
List infrastructure user identities by username or email
- List Version Control User Identities
List user version control identities for the target client type
- Get User By Email
Get the full detail of a user record by email address
- List User Policies
List policy acknowledgements for a user
- List User Documents
List documents for a specific user with optional filters
- Get User Document Download URL
Get signed download link for a user document
- Get Vendors Statistics
Get vendor statistics with inclusion and exclusion filters
- List Vendor Questionnaires
List questionnaires for a specific vendor
- Get Questionnaire Answers
Get answers for a specific questionnaire and vendor
- Get Questionnaires Sent By Vendor
Get all questionnaires sent to a specific vendor
Set Up Your Drata MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Drata in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Check More Security MCP Servers
150+ actions
110+ actions
78+ actions
76+ actions
69+ actions
68+ actions
56+ actions
Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What 200+ Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building 200+ connectors that serve both, here's when each approach wins.
14 min read
Drata MCP Server FAQ
Does StackOne have a Drata MCP server?
Drata MCP server vs direct API integration — what's the difference?
How does Drata authentication work for AI agents?
origin_owner_id.Are Drata MCP tools vulnerable to prompt injection?
What is the context bloat of a Drata agent and how do I avoid it?
Can I limit which actions my Drata agent can access?
Can I create custom agent actions for my Drata MCP server?
When should I NOT use a Drata MCP server?
What AI frameworks and AI clients does the StackOne Drata MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.