
Product
PHP and Composer Support Is Now in Beta
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.
@pentatrail/mcp-server
Advanced tools
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 MCP server is read-only. It exposes only the 9 public CTEM read tools; internal MCP-only tools are not registered by default.
The simplest way to use the server is with npx:
npx @pentatrail/mcp-server
Release the package from this directory:
cd packages/pentatrail-mcp
npm login --registry=https://registry.npmjs.org/
npm run build
npm pack --dry-run --cache /tmp/npm-cache
npm publish --access public
Notes:
--access public for a public npm release.npm login can be skipped.npm version patch --no-git-tag-version.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 all monitored domains for your contract |
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 ports grouped by target, port, and protocol |
ctem_list_tech | List detected technologies grouped by category and name |
Once configured, ask your AI assistant:
ctem:read scopeEnd-to-end tests against dev Supabase. See INTEGRATION_TESTS.md for setup, local execution, and failure triage.
UNLICENSED - Proprietary software. All rights reserved.
FAQs
Retired — PentaTrail MCP moved to a remote server at https://api.pentatrail.co/mcp. This package only prints the hand-off notice.
The npm package @pentatrail/mcp-server receives a total of 249 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.

Product
Socket’s PHP and Composer support is now in Beta for all customers, with PHP reachability analysis generally available.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.