Truss Threat Intelligence MCP Server
Query Truss threat intelligence via hosted MCP (OAuth). Growth+ plans.
Truss Threat Intelligence scores 63 (Good), licensed MIT and written in TypeScript. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Security. GitHub shows 0 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
63 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 63 comes from
22 + 20 + 0 + 10 + 4 + 7 = 63. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: OAuth sign-in. Your client opens a browser window to sign in with the provider. No key goes in the config file. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "truss-security-truss-agent-mcp": { "url": "https://api.truss-security.com/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
truss-agent-mcp
Truss threat intelligence via Model Context Protocol and a terminal assistant — one binary: truss-mcp.
Two surfaces
| Surface | Use for | Auth |
|---|---|---|
| Remote (recommended) | Cursor, Claude Desktop, MCP registries | OAuth → https://api.truss-security.com/mcp |
| Local stdio (legacy) | Air-gap / BYO-key / FilterQL REPL tools | TRUSS_API_KEY → REST |
Hosted MCP (OAuth, Growth+ gate, five tools) is served by the Truss API. This package ships configs, validate-remote / doctor --remote, CLI search, and optional local stdio. Community accounts cannot consent to hosted MCP.
Not on npm yet. Install from this repo (
npm install -g .). After publish:npm install -g @truss-security/truss-agent-mcp.
Quick start
cd truss-agent-mcp
npm install && npm run build
npm install -g .
truss-mcp doctor --remote --strict-oauth # OAuth path hosts use
truss-mcp init # for CLI search / legacy stdio
truss-mcp search
Node.js 18+. Binary name truss-mcp avoids conflict with @truss-security/truss-sdk's truss command.
What you can run
| Command | What it does |
|---|---|
truss-mcp search | Guided REPL with live MCP tools (local stdio or remote OAuth token) |
truss-mcp mcp | Local stdio MCP server (legacy / air-gap) |
truss-mcp init | Interactive .env setup |
truss-mcp doctor | Validate keys and API access; --remote runs hosted OAuth doctor |
truss-mcp validate-remote <url> | OAuth + MCP doctor (discovery, DCR, PKCE, tools) |
truss-mcp help | Usage summary |
Guided search workflow
One REPL with MCP tools always connected. The assistant classifies your intent and asks before querying Truss API:
- Knowledge — Truss platform, cyber security context, threat background
- Build filter — draft FilterQL, validate, confirm
- Query —
runexecutes confirmed filter (default 7 days) - Format —
stixfor STIX export; JSON summaries in-thread - Detection rules —
detect splunk,detect falcon,detect cortexfrom search results
The assistant offers next steps explicitly: build a filter, refine it, query Truss API, export JSON/STIX, or generate SIEM/EDR hunting queries.
- Wider windows (
run 30,days 30) may use more API quota - Context-only follow-ups (IOC dedupe, reformat) use thread history without re-querying
Full REPL reference: guides/truss-cli.md
Terminal display (REPL)
truss-mcp search uses color-coded, ASCII-bordered output:
- You — your message
- MCP — live tool trace (
→ search_threatson remote, or→ search_productson stdio) - Results — structured product table before the assistant summary
- Truss — assistant reply (cyan), guided offers (yellow), FilterQL blocks (magenta)
Controls: color / color on / color off / color auto · env TRUSS_MCP_COLOR · standard NO_COLOR=1
MCP host (Cursor / Claude) — remote OAuth (recommended)
No API key in host config. Growth+ Truss account; browser OAuth consent.
{
"mcpServers": {
"truss-mcp": {
"url": "https://api.truss-security.com/mcp"
}
}
}
Samples: config/cursor.mcp.json · config/claude_desktop_config.json · guides/client-setup-cursor.md.
Legacy stdio (air-gap)
{
"mcpServers": {
"truss-mcp": {
"command": "truss-mcp",
"args": ["mcp"],
"env": { "TRUSS_API_KEY": "YOUR_KEY" }
}
}
}
See config/cursor.mcp.stdio.json and guides/getting-started.md.
Remote MCP OAuth validation (registry gate)
Use as the OAuth + MCP doctor before registry publish or release. After OAuth it requires search_threats to return at least one Truss product (id + title). The access token stays in memory for that process only unless you pass --save-token.
truss-mcp doctor --remote --strict-oauth
# or:
truss-mcp validate-remote https://api.truss-security.com/mcp --strict-oauth
After token exchange it prints an OAuth compatibility checklist (resource URI, redirects, PKCE S256, issuer match, audience vs MCP resource, truss_role), then proves MCP access with real Truss data.
Options:
truss-mcp validate-remote https://api.truss-security.com/mcp --verbose
truss-mcp validate-remote https://api.truss-security.com/mcp --strict-oauth
truss-mcp validate-remote https://api.truss-security.com/mcp --save-token /tmp/truss-mcp-token
truss-mcp validate-remote https://api.truss-security.com/mcp --token-file /tmp/truss-mcp-token
truss-mcp validate-remote https://api.truss-security.com/mcp --port 9877
truss-mcp validate-remote https://api.truss-security.com/mcp --no-open
--verbose— HTTP statuses, key headers, truncated bodies (tokens redacted)--strict-oauth— exit2if the OAuth checklist has WARN/FAIL (even when Truss MCP calls succeed)--save-token PATH— write the access token for local replay (mode0600; delete after debugging)--token-file PATH— skip browser OAuth; reuse a saved token to re-check MCP access + Truss data
Optional automated OAuth data tests (saved token + TRUSS_RUN_MCP_OAUTH=1) are documented in guides/publishing.md.
Official listing: server.json (com.truss-security/truss-mcp) · Tracker: guides/registry-submission.md · Internal metadata: config/mcp-registry.json · Architecture: docs/05-hosted-mcp-oauth-architecture.md
Configuration
Env load order (shell vars win): ~/.config/truss/env → ~/.truss/.env → ./.env
| Variable | Required for | Notes |
|---|---|---|
TRUSS_API_KEY | local mcp / stdio search | From Truss dashboard (legacy air-gap only) |
TRUSS_MCP_URL | remote search / doctor | Default https://api.truss-security.com/mcp |
TRUSS_MCP_OAUTH_TOKEN_FILE | remote search | Bearer token from validate-remote --save-token |
LLM_PROVIDER | search | anthropic or openai — set via init |
LLM_MODEL | search | Set via init |
ANTHROPIC_API_KEY / OPENAI_API_KEY | search | Per provider |
Full list: env.example
Documentation
Guides — install, REPL, MCP clients, FilterQL examples
Reference — API contract, tools, architecture (docs/README.md — docs 01–06)
Development
npm install && npm run build
npm test
npm run truss:search # from source without global install
Contributors / AI agents: see AGENTS.md for repo operations and conventions.
Publish: guides/publishing.md · Changes: CHANGELOG.md
Related
- @truss-security/truss-sdk — API client
- truss-agent — scheduled webhook delivery
- Truss docs — public API / SDK documentation
MIT
Frequently asked questions
What is Truss Threat Intelligence MCP Server?
Query Truss threat intelligence via hosted MCP (OAuth). Growth+ plans.
How do I install Truss Threat Intelligence MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Truss Threat Intelligence MCP Server connects to the remote endpoint https://api.truss-security.com/mcp, so there is nothing to install locally.
Is Truss Threat Intelligence MCP Server free and open source?
Yes. Truss Threat Intelligence MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Truss Threat Intelligence MCP Server support remote (HTTP) connections?
Yes. Truss Threat Intelligence MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Truss Threat Intelligence MCP Server's trust score calculated?
Truss Threat Intelligence MCP Server scores 63 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.
