Truss Threat Intelligence — Claude Code MCP server: how to install
Connects Truss threat intelligence to coding agents via hosted MCP or local CLI. Useful for hunting threats and generating SIEM detection rules.
claude mcp add --transport http truss-mcp https://api.truss-security.com/mcpWhat Truss Threat Intelligence does
This integration exposes Truss cyber threat data directly to your agent. In the recommended remote mode, it connects to https://api.truss-security.com/mcp using browser OAuth and five security tools. An optional local stdio mode is available for air-gapped setups using TRUSS_API_KEY.
The repository provides the truss-mcp binary running on Node.js 18+. It includes a guided terminal REPL, automated FilterQL filter builders, and query validation. You can export fetched intelligence as STIX or structured JSON, as well as generate hunt queries for Splunk, Falcon, or Cortex.
Check your account tier before connecting. Hosted OAuth access requires a Truss Growth or higher subscription. Community tier accounts cannot grant consent to the hosted MCP endpoint.
What it helps with
- query threat intelligence indicators using FilterQL
- generate detection and hunting queries for Splunk, Falcon, or Cortex
- export threat findings into STIX or JSON structures
- verify OAuth connection health using truss-mcp doctor
Example prompts for the agent
- Search for active threats from the last 7 days and draft a detection rule for Splunk.
- Build a FilterQL query for these indicators and export the results in STIX format.
- Query the Truss threat database and summarize matches as a JSON table.
How to install Truss Threat Intelligence
Platform CLI: remote server
claude mcp add --transport http truss-mcp https://api.truss-security.com/mcpPlatform CLI: remote server
codex mcp add truss-threat-intelligence --url https://api.truss-security.com/mcpConfig file
{
"mcpServers": {
"truss-threat-intelligence": {
"url": "https://api.truss-security.com/mcp"
}
}
}Config file
{
"servers": {
"truss-threat-intelligence": {
"type": "http",
"url": "https://api.truss-security.com/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http truss-threat-intelligence https://api.truss-security.com/mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Truss Threat Intelligence
How do I install Truss Threat Intelligence in Claude Code?
Run claude mcp add --transport http truss-mcp https://api.truss-security.com/mcp. You will authenticate via your browser using Truss OAuth during connection setup.
What does Truss Threat Intelligence do?
It equips your AI assistant with live threat intelligence from the Truss platform. The agent can construct FilterQL queries, retrieve threat data, and produce rules for SIEM and EDR platforms.
Can I run this server with a free Truss Community plan?
No, the hosted OAuth endpoint is gated behind Growth and higher tiers. Free Community accounts cannot authorize access to the hosted MCP server.