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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Connect assistants to your company tools with per-person, per-action grants and a full audit log.
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.
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.-