# Connect ThreatTree to Your AI Agent (Universal MCP)

> Use your AI to audit security, track issues, and create reports in ThreatTree — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http threattree https://api.universalmcp.app/mcp/threattree`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/threattree` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "threattree", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: ThreatTree | Category: DevOps & IT/Security (Threattree) | Auth: OAuth 2.1 (1-click sign-in)
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Threat models, Risk register, Draft mitigation tasks; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=threattree | Guide: https://universalmcp.app/mcp/threattree
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across threat models, risk register, and draft mitigation tasks. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Threat models (1):** Threat models (write)
- **Risk register (1):** Risk register (write)
- **Draft mitigation tasks (1):** Draft mitigation tasks (write)

## Example Prompts for ThreatTree
- **Threat coverage:** "List every open STRIDE threat in ThreatTree for the Payments API, with its MITRE ATT&CK mapping status and risk score."
- **Attack tree review:** "Summarize the attack tree for the checkout flow in ThreatTree and name the leaf nodes with the highest likelihood."
- **Register export:** "Pull the ThreatTree risk register sorted by residual score so the top five unmitigated risks are listed first."
- **Draft mitigations:** "Draft mitigation tasks in ThreatTree for the unmitigated webhook threats, saved as drafts for the security lead to approve."
