ThreatConnect v3 MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ThreatConnect v3 MCP ServerEnrich indicator 8.8.8.8"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ThreatConnect v3 MCP Server
A Model Context Protocol server that gives an MCP-capable LLM client a small set of reliable, validated tools to drive ThreatConnect Case Management and Threat Intelligence through the v3 REST API.
It hides v3's HMAC authentication, retries, pagination, and error quirks behind typed tools so the model never hand-rolls HTTP or signing.
Tools
Tool | v3 call | What it does |
|
| Create a case (name/status/severity + optional nested artifacts, tags, attributes). |
|
| Partial update; nested associations honor |
|
| Create any indicator type; type→summary-field resolved automatically. |
|
| Attach one artifact to an existing case by |
|
| Attach many artifacts: one nested-append request, or concurrent POSTs with a per-item ledger. |
|
| Return TC's context: rating/confidence, tags, attributes, associations, observations, web link. |
|
| Escape hatch for arbitrary reads with TQL/fields — never writes. |
There is deliberately no generic write tool: unconstrained PUT/DELETE
against shared threat intel is too dangerous to hand an LLM.
Related MCP server: Tenable Identity Exposure MCP Server
Install
Requires Python 3.12+ and uv.
uv sync
cp .env.example .env # then fill in your credentialsConfiguration
Set these in .env (or the environment). HMAC is the primary auth path.
Variable | Required | Default | Notes |
| yes | — | e.g. |
| HMAC | — | API user access id. |
| HMAC | — | API user secret key (never logged). |
| token | — | Alternative to HMAC; used only if the HMAC pair is absent. |
| no | — | Default owner for owner-relative reads/writes. |
| no |
| Per-request timeout (seconds). |
| no |
| Retries on 429/5xx with backoff + jitter. |
| no |
| TLS verification. |
| no |
| Logs go to stderr, secret-redacted. |
Clock skew: the HMAC
Timestampmust be within five minutes of server time. Keep the host on NTP.
Run
uv run tc-mcp # stdio transportClaude Desktop / mcp.json
{
"mcpServers": {
"threatconnect": {
"command": "uv",
"args": ["--directory", "/abs/path/to/threat_connect_mcp", "run", "tc-mcp"]
}
}
}Inspect the tool surface
npx @modelcontextprotocol/inspector uv run tc-mcpDevelopment
uv run ruff check . # lint
uv run mypy src # types
uv run pytest -q # mocked unit/integration testsLive smoke test (gated)
The live tests are skipped unless credentials are present and -m live is
passed. A green test_signature proves the HMAC string-to-sign is correct
against your instance:
TC_BASE_URL=... TC_API_ACCESS_ID=... TC_API_SECRET_KEY=... \
uv run pytest -m live tests/test_live.pyDesign notes
Thin httpx client, not TcEx. TcEx assumes it runs inside the TC platform; a small signed
httpxclient is easier to test (golden HMAC vector) and has no hidden runtime assumptions."Dynamic" via schema introspection. Tools validate caller fields/types against the live
OPTIONS /v3/<endpoint>and/v3/artifactTypesdescriptors, so they track the API instead of a frozen copy. Validation degrades gracefully if a descriptor is unavailable — the API stays the final authority.TQL injection defense. Any caller value interpolated into a TQL clause (enrich-by-summary) is escaped and control characters are rejected.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
AI-callable tools for API mocking, testing, monitoring, security, and automation.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides LLM tools to interact with the Devici API, enabling management of threat modeling resources including users, collections, threat models, components, threats, mitigations, and teams.254MIT
- AlicenseAqualityBmaintenanceExposes the Tenable Identity Exposure (TIE) REST API as tools for LLM clients, enabling queries on security profiles, activity timelines, AD objects, and more.155MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to query and manage OpenCTI threat intelligence data, including indicators, observables, reports, malware, and more, with read-only and optional write operations.MIT
- AlicenseNot gradedqualityCmaintenanceEnables interaction with OpenCTI threat intelligence platform through the Model Context Protocol, providing tools for indicators, observables, reports, cases, investigations, and more.1Apache 2.0