Cisco XDR MCP Server
OfficialExposes Cisco XDR APIs as MCP tools for inspecting and investigating IOCs, managing incidents and casebooks, triggering response actions, accessing threat intelligence, running workflows, and admin operations.
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., "@Cisco XDR MCP Server enrich the IOC 198.51.100.23 and tell me if it's malicious"
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.
Cisco XDR MCP Server
MCP (Model Context Protocol) server that exposes Cisco XDR APIs as tools for AI assistants. Connects to the XDR portal (e.g. https://xdr.us.security.cisco.com/) with 27 tools across Inspect, Investigate, Incidents, Response Actions, Casebooks, Threat Intel, Workflows, and Admin.
Features
Inspect & Investigate: Parse text for IOCs, full enrichment (sightings, verdicts, pivot links)
Incidents: List, get, update, worklog, extract observables
Response Actions: Discover and trigger (block, isolate, quarantine)
Casebooks: Create and manage investigation casebooks
Threat Intel: Indicators, judgments, feeds, sightings
Workflows: List, run, monitor automation workflows
Admin: Integrations list, profile
See INSTALL.md for detailed installation, API reference, change log, and troubleshooting.
Related MCP server: Response MCP Server
Credential Handling (Important)
Never put credentials in mcp.json. All authentication is loaded from environment variables.
Recommended: Use .env file
Copy
.env.exampleto.envAdd your XDR API Client credentials:
cp .env.example .env
# Edit .env with your XDR_CLIENT_ID and XDR_CLIENT_PASSWORDConfigure Cursor/Claude to run the server with env loaded. For stdio transport, the MCP client typically inherits the shell environment. Ensure
.envis loaded before starting (e.g. viadotenvin your shell or IDE).
Creating API Client Credentials
Log in to Cisco XDR (or your region)
Go to Administration > API Clients
Create a new API Client with appropriate scopes (e.g.
enrich:read,inspect:read,casebook,private-intel:read, etc.)Copy the Client ID and Client Password into
.env
Environment Variables
Variable | Required | Description |
| Yes | OAuth2 Client ID |
| Yes | OAuth2 Client Password |
| No |
|
Installation
cd xdr-mcp
npm install
cp .env.example .env
# Edit .env with your credentials
npm run build
npm startDocker
# Build
docker build -t cisco-xdr-mcp .
# Run (pass credentials via env)
docker run -it --rm \
-e XDR_CLIENT_ID=your_client_id \
-e XDR_CLIENT_PASSWORD=your_client_password \
-e XDR_REGION=us \
cisco-xdr-mcpFor MCP clients that use stdio, you typically run the container and attach stdio. Example mcp.json (no credentials):
{
"mcpServers": {
"cisco-xdr": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "XDR_CLIENT_ID",
"-e", "XDR_CLIENT_PASSWORD",
"-e", "XDR_REGION=us",
"cisco-xdr-mcp"
],
"env": {
"XDR_CLIENT_ID": "${XDR_CLIENT_ID}",
"XDR_CLIENT_PASSWORD": "${XDR_CLIENT_PASSWORD}"
}
}
}
}Note: Use your environment or secret manager to provide XDR_CLIENT_ID and XDR_CLIENT_PASSWORD; the exact syntax depends on your MCP client.
MCP Configuration (mcp.json)
Example for Cursor - use env vars, never hardcode secrets:
{
"mcpServers": {
"cisco-xdr": {
"command": "node",
"args": ["/path/to/xdr-mcp/build/index.js"],
"env": {
"XDR_CLIENT_ID": "from_env_or_secret",
"XDR_CLIENT_PASSWORD": "from_env_or_secret",
"XDR_REGION": "us"
}
}
}
}Ensure XDR_CLIENT_ID and XDR_CLIENT_PASSWORD are sourced from your shell environment or a secrets manager, not stored in the JSON file.
API Documentation
Repository Structure
INSTALL.md – Installation, API reference, change log, troubleshooting (go-to doc)
CODE_OF_CONDUCT.md – Standards for interaction
CONTRIBUTING.md – How to contribute
SECURITY.md – Security policies and reporting
AGENTS.md – Guidance for AI coding agents
This project follows the CiscoDevNet devnet-template.
License
Apache-2.0. See LICENSE.
Available Tools
27 toolsxdr_casebook_add_observablesB
Add new observables to an existing casebook during ongoing investigation. Use as you uncover new IOCs — e.g. add C2 IPs and file hashes discovered while pivoting through an incident's attack graph.
Inputs: casebook_id (required), observables (required).
xdr_casebook_createA
Create a new investigation casebook. Use at the start of a new threat hunt or when investigating a suspicious IOC that is not yet a formal incident. Optionally seed with initial observables and a working hypothesis.
Inputs: title (required), tlp, description, observables.
xdr_casebook_getB
Get full casebook details including all collected observables and investigation notes.
Inputs: casebook_id (required).
xdr_casebook_listB
List investigation casebooks. Casebooks track ongoing threat hunts: collect observables, notes, and findings across multiple sessions. Shared across the org — not private to individual users.
Inputs: limit, offset.
xdr_incident_getA
Get full incident details: attack graph observables, merged incidents, assets involved (with crown-jewel labels and asset values), MITRE TTP mapping, AI-generated summary, all detections by source, and response playbook status. Use this after xdr_incidents_list to drill into a specific incident.
Inputs: incident_id (required).
xdr_incident_observablesA
List all observables associated with an incident (IPs, domains, file hashes, hostnames, users, processes, URLs). Returns disposition (malicious/suspicious/clean) for each. Use this to extract the full IOC list from an incident for hunting or blocking.
Inputs: incident_id (required).
xdr_incidents_listA
List XDR incidents sorted by priority score (0-1000). Each incident includes: priority score (MITRE TTP risk + asset value), name, source product, status, MITRE tactics, and assigned analyst. Filter by status to focus on open incidents. Use from/to for date range (ISO 8601). Omit for last 30 days. Maps to XDR Incidents page.
Inputs: to, from, limit, offset, +1 more.
xdr_incident_updateA
Update an incident: change status to open/closed, assign to an analyst, or add a resolution note when closing. Mirrors the GUI Status and Assign controls.
Inputs: incident_id (required), status, resolution, assignee_id.
xdr_incident_worklogB
Retrieve the complete worklog/audit trail for an incident. Shows every action taken, automated workflow executions, analyst notes, and containment steps with timestamps. Used in PICERL Lessons Learned phase for post-incident review.
Inputs: incident_id (required).
xdr_incident_worklog_addA
Add a note to an incident worklog. Use for documenting findings, analysis steps, and decisions during active incident response. All entries are timestamped and auditable.
Inputs: note (required), incident_id (required).
xdr_inspectA
Parse free-form text to extract observable IOCs (IPs, domains, URLs, hashes, emails). Feed it threat intel blog posts, Talos advisories, log pastes, or any text. Returns structured observables ready for xdr_investigate. Maps to XDR Investigate > New Investigation text input.
Inputs: content (required).
xdr_inspect_and_investigateA
Two-step shortcut: parse text for IOCs then immediately investigate all found observables. Ideal for processing threat intel content. Paste a Talos blog post, a phishing email, or a OSINT report and get full enrichment in one call.
Inputs: content (required).
xdr_integrations_listA
List all configured integration modules in your XDR org with health status. Returns module_instance_id values needed for xdr_response_trigger. Shows which of your integrations are healthy vs. erroring.
Inputs: no named parameters.
xdr_intel_feedsA
List private intelligence feeds (block lists, watch lists, allow lists). These feeds are pushed to integrated products: Umbrella uses domain/URL feeds, FMC uses IP block feeds. Use to check what is already blocked org-wide.
Inputs: limit.
xdr_intel_indicatorsC
Search threat intelligence indicators. Indicators describe patterns of behavior indicating malicious activity. Covers both Cisco Talos public intel and your private intelligence store. Search by malware family, campaign name, or MITRE technique.
Inputs: limit, query, offset.
xdr_intel_judgmentsB
Get disposition judgments for a specific observable. A judgment records clean/malicious/suspicious/unknown/common disposition with an expiry date. Covers both global Talos verdicts and any private judgments your org has added.
Inputs: observable_type (required), observable_value (required), limit.
xdr_intel_sightingsB
Search for sightings of an observable in your environment. A sighting records when/where an IOC was observed: source product, timestamp, associated asset/user. Use for intelligence-driven threat hunts — check if a known-bad IOC is lurking undetected in your environment across SCA, Secure Endpoint, Umbrella, FMC, etc.
Inputs: observable_type (required), observable_value (required), limit, start_time.
xdr_investigateA
Full threat investigation across ALL configured integrations (Umbrella, SCA, Secure Endpoint, FMC, Meraki, Duo, Splunk, CrowdStrike, etc.). Returns sightings (where/when seen in your environment), verdicts (clean/malicious/suspicious/unknown from Talos + integrated products), and pivot links to source products. This is the PRIMARY threat hunting tool — use it for any IOC you want to chase.
Inputs: observables (required), include_verdicts, include_pivot_links.
xdr_profile_getA
Get current XDR organization profile, API client scopes, and enabled features.
Inputs: no named parameters.
xdr_response_get_actionsA
Get all available response actions for observables across integrated products. Returns actionable capabilities such as: block domain (Umbrella), isolate endpoint (Secure Endpoint / CrowdStrike / Defender / SentinelOne / Cybereason), block file hash (EDR), block IP (FMC firewall), disable user (Duo / Entra), quarantine email (SMA). ALWAYS call this before xdr_response_trigger to get valid action_id and module_instance_id.
Inputs: observables (required).
xdr_response_triggerA
Execute a specific response action. Requires action_id, module_instance_id, and module_type_id from xdr_response_get_actions output. Examples: isolate a compromised endpoint, block a C2 domain in Umbrella, add a malicious hash to EDR block list, block attacker IP in FMC firewall. All actions are logged automatically to the incident worklog.
Inputs: action_id (required), module_type_id (required), observable_type (required), observable_value (required), +1 more.
xdr_workflow_getB
Get full workflow definition including description, input schema, and trigger types.
Inputs: workflow_id (required).
xdr_workflow_instance_cancelC
Cancel a currently running workflow instance.
Inputs: instance_id (required).
xdr_workflow_instance_getB
Get detailed output and execution trace of a specific workflow run.
Inputs: instance_id (required).
xdr_workflow_instance_listB
List past and currently running workflow executions with status (success/failed/running) and output summary. Filter to a specific workflow or view all recent executions.
Inputs: limit, workflow_id.
xdr_workflow_listB
List available XDR automation workflows. Includes built-in PICERL playbook workflows: 'XDR - Contain Incident Assets' (EDR quarantine), 'XDR - Contain Incident Domains' (Umbrella), 'XDR - Contain Incident IPs' (FMC), 'XDR - Contain Incident File Hashes' (EDR), 'XDR - Quarantine Email Messages' (SMA), 'XDR - Identify Vulnerabilities', 'XDR - Unquarantine Assets', plus any custom workflows you have built.
Inputs: limit, offset, category.
xdr_workflow_startA
Execute an automation workflow. Supply the input required by the workflow (get from xdr_workflow_get). Use for PICERL containment actions like isolating compromised assets, blocking C2 domains, or running custom response playbooks.
Inputs: workflow_id (required), input, comment.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 27 tools
Most tools are clearly grouped by resource, but several overlapping investigation tools create confusion: xdr_investigate, xdr_intel_sightings, and xdr_intel_judgments all surface sightings/verdicts for an IOC, and xdr_inspect vs xdr_inspect_and_investigate vs xdr_investigate require reading descriptions to pick correctly. The descriptions do help disambiguate, but boundaries are not crisp.
Strong xdr_ snake_case prefix with predictable resource/action structure (xdr_incident_get, xdr_casebook_create, xdr_workflow_start). Minor deviations exist: some names lead with the verb (xdr_inspect, xdr_investigate), and pluralization is inconsistent (xdr_incidents_list is plural while xdr_workflow_list, xdr_casebook_list are singular).
27 tools is on the heavy side and exceeds the comfortable range, with six workflow tools and six incident tools that could partly consolidate. The count is defensible given the breadth of the XDR platform (investigation, incidents, response, casebooks, intel, workflows), but it sits at the upper edge where agents may struggle to navigate.
Lifecycle coverage is strong: incidents (list/get/update/worklog/observables), casebooks (list/get/create/add observables), workflows (list/get/start/instance list/get/cancel), response actions, and intel lookups all present. Gaps remain in casebook closure/deletion, removing observables, and creating private indicators/judgments (intel is read-only), which are workarounds rather than blockers.
Maintenance
Related MCP Connectors
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
SOAR security playbooks for AI agents: fetch, full-text search, and count. Metered via Stripe.
Connect assistants to your workspace knowledge, skills, and work tools.
Give your AI agents trusted access to the full Postman platform.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceIntegrates SOAR (Security Orchestration, Automation and Response) capabilities into AI clients, enabling security playbook execution, event management, and threat intelligence queries. Provides a complete security incident response platform through natural language interactions.MIT
- FlicenseNot gradedqualityDmaintenanceEnables agentic SecOps by executing Microsoft Defender XDR response actions (device isolation, antivirus scans, forensic collection, incident management) through natural language with orchestrators like GitHub Copilot.22-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to investigate threats, pull reports, manage security policies, and administer deployment infrastructure through the Cisco Secure Access REST API.-
- FlicenseNot gradedqualityBmaintenanceEnables governed agent access to Cortex XSIAM security operations APIs, including XQL log search, issues, cases, endpoints, and assets, with dataset authorization and optional identity-based access control.-