
Connecting CTEM data to AI agents over MCP: asking an AI about your own attack surface
PentaTrail Team···9 min read
Contents
"What's the most dangerous vulnerability we have right now?" "Which hosts appeared last week?" You can ask an AI in plain language instead of clicking through a dashboard.
The answers come from your own current attack surface data. What follows covers the mechanism, what it can do, and how the guardrails carry over.
Appendix: the tools, and how to start
Table 1: read tools (10)
| Tool | What comes back |
|---|---|
ctem_list_domains |
Monitored domains and their verification state; the place to start |
ctem_get_domain_overview |
Asset counts, open counts by threat level, recent change |
ctem_list_assets |
Asset list (hosts, IPs, URLs, ports, technologies, buckets and more) |
ctem_list_findings |
Findings, highest threat level first; open only by default |
ctem_get_finding |
One finding in detail, with detection history and linked validation runs |
ctem_get_prioritization |
Risk bands, affected hosts, owners, classification, attack-path chokepoints |
ctem_get_validation_state |
Whether validation is running, and why it stopped if not |
ctem_get_executive_summary |
Score trend and the weekly digest |
ctem_list_groups |
Groups, their members, and the contract's owners |
ctem_list_tasks |
What needs doing, and how far along it is |
Table 2: write tools (6)
| Tool | What it does |
|---|---|
ctem_classify_asset |
Add and remove classification tags, set the management category |
ctem_manage_domain |
Add a monitored domain, request ownership verification, remove one |
ctem_manage_group |
Create, change and delete groups, assign hosts, add and remove users |
ctem_manage_task |
Complete, reopen and change task state, set owner and deadline |
ctem_manage_validation |
Stopping validation only. Starting stays in the UI (host approval and consent to automatic runs happen there) |
ctem_manage_exclusions |
Exclude assets from monitoring, or bring them back |
The three steps to start
- Register
https://api.pentatrail.co/mcpwith your AI agent as a remote server. - When the tool starts connecting, a browser opens; read what the connection permits and approve it.
- Ask "what's the highest-priority vulnerability on our domain?"
The connecting tool ctem_list_my_contracts sits outside the sixteen above and exists to look up which contracts you belong to.
The tool count and split were checked against PentaTrail's implementation on 2026-08-17.
Visualize your attack surface with PentaTrail CTEM/ASM
From discovery to vulnerability validation and remediation — all powered by the CTEM framework.
Get Started


