
Research
/Security News
737 Chrome VPN Extensions Linked to Brand Impersonation and Browser Traffic Redirection
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.
@pentatrail/mcp-server
Advanced tools
PentaTrail MCP Server — access your CTEM / ASM (attack surface management) data from an AI agent via the Model Context Protocol
PentaTrail MCP Server for accessing CTEM (Continuous Threat Exposure Management) data via Model Context Protocol.
This package is a thin stdio wrapper over the PentaTrail Customer API. It works with Claude Code, Claude Desktop, and any MCP-compatible client.
The published server exposes the public CTEM tools registered by
registerPublicCtemTools, and that surface is read-only — every tool needs
only the ctem:read scope. Internal MCP-only tools are not registered.
The simplest way to use the server is with npx:
npx @pentatrail/mcp-server
Add to your MCP client config (e.g. ~/.claude/settings.json or claude_desktop_config.json):
{
"mcpServers": {
"pentatrail": {
"command": "npx",
"args": ["@pentatrail/mcp-server"],
"env": {
"PENTATRAIL_API_KEY": "ptk_your_api_key_here",
"PENTATRAIL_API_URL": "https://api.pentatrail.co"
}
}
}
}
| Variable | Required | Description |
|---|---|---|
PENTATRAIL_API_KEY | Yes | Your API key (ptk_...). Generate from PentaTrail Dashboard > Settings. |
PENTATRAIL_API_URL | Yes | https://api.pentatrail.co (production) |
| Tool | Description |
|---|---|
ctem_list_domains | List your monitored domains. Start here — by default it returns active domains only, and every domain in that default result can be passed straight to the other tools as domain_id. include_archived: true drops the status filter, so the result then also contains non-active domains (archived, and legacy paused) whose ids the other tools reject with PT_API_NOT_FOUND |
ctem_list_hosts | List hosts with enrichment (port/tech/finding counts, sortable) |
ctem_list_findings | List vulnerabilities sorted by Threat Discovery Level (TDL) |
ctem_get_asset_counts | Get asset type counts (hosts, IPs, ports, tech, buckets, URLs) |
ctem_get_tdl_counts | Get open finding counts grouped by TDL (tdl5=most critical) |
ctem_get_scores | Get live domain scores (asset counts + findings breakdown) |
ctem_get_score_trend | Get security score trend over time (7-365 days) |
ctem_list_ports | List open ports grouped by port/protocol, filterable by source type |
ctem_list_tech | List detected technologies grouped by category and name |
ctem_list_port_groups | Host counts per (port, protocol, service) |
ctem_list_tech_groups | Tech hierarchy: category → name → host count |
ctem_list_ips | Paginated list of discovered IP addresses |
ctem_list_urls | Paginated list of discovered URLs |
ctem_list_buckets_paginated | Paginated cloud storage buckets, one row per bucket |
ctem_list_buckets_merged | Cloud buckets de-duplicated by (cloud_type, bucket_name) |
ctem_summarize_findings | Rollup per vuln_id with max CVSS/EPSS, KEV count, affected hosts |
Once configured, ask your AI assistant:
ctem:read scope — that is the only scope this server needs,
because every tool it registers readsUNLICENSED - Proprietary software. All rights reserved.
FAQs
PentaTrail MCP Server — access your CTEM / ASM (attack surface management) data from an AI agent via the Model Context Protocol
The npm package @pentatrail/mcp-server receives a total of 558 weekly downloads. As such, @pentatrail/mcp-server popularity was classified as not popular.
We found that @pentatrail/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.