@skyphusion/common-thread-mcp
OfficialMCP server for driving a self-hosted Common Thread investigation API from an agent, covering the full lifecycle from case setup through ingest, attribution, and evidence packets.
Check backend health and create, fetch, update, seal, delete, and summarize investigations.
Manage seed accounts: list, add with basis statements/control flags, and soft-delete.
Ingest Apify Twitter export JSON and poll ingest jobs.
Query extracted account, pair, and event features.
Run attribution over active seed pairs with BYOK options, poll async jobs, and list/inspect attribution runs.
Generate evidence packets as JSON, Markdown, or PDF with redaction and practitioner options.
List and verify archive manifests and signatures, plus debug ingest/manifest views.
Use environment defaults for API URL, access token, and investigation ID, or pass them per tool.
Enables routing AI attribution requests for Common Thread investigations through Cloudflare's AI Gateway.
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., "@@skyphusion/common-thread-mcp Create an investigation and add seed data for tracking a disinformation campaign"
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.
@skyphusion/common-thread-mcp
MIT Model Context Protocol server for Common Thread: drive the full investigation API from an agent (create cases, seeds, Apify ingest, BYOK attribution, evidence packets).
npm | |
Repo | |
Hosting | None. The hosted backend and UI were retired 2026-11-09; self-host only |
HTTP contract | |
License | MIT (this package). Product: AGPL implementation + CC-BY paper |
Documentation
Doc | Audience |
Full guide: install, agent config, auth, every tool, troubleshooting | |
Website UI vs MCP tools | |
Tokens, BYOK, hosted vs self-host | |
Agent working notes for this repo |
Related MCP server: mcp-osint-server
Quick start
npx -y @skyphusion/common-thread-mcpClaude Desktop / Claude Code example:
{
"mcpServers": {
"common-thread": {
"command": "npx",
"args": ["-y", "@skyphusion/common-thread-mcp"],
"env": {
"COMMON_THREAD_API_URL": "https://your-worker.example.workers.dev",
"COMMON_THREAD_AI_GATEWAY_URL": "https://gateway.ai.cloudflare.com/v1/ACCOUNT/GATEWAY/anthropic",
"COMMON_THREAD_ANTHROPIC_API_KEY": "sk-ant-..."
}
}
}
}Call
create_investigationand storeaccess_tokenonce.Set
COMMON_THREAD_INVESTIGATION_ID+COMMON_THREAD_ACCESS_TOKEN, or pass them on every tool.Ingest → features →
attribute(BYOK on public host) →get_packet.
Environment (summary)
Variable | Purpose |
| Required. Your self-hosted backend base URL. No default; startup fails without it |
| Defaults for tools |
| BYOK for public attribution |
Full table: docs/mcp.md#environment.
Tools (23)
Lifecycle: health, create_investigation, get_investigation, update_investigation_metadata, seal_investigation, delete_investigation, investigation_summary
Seeds: list_seeds, add_seed, remove_seed
Data: list_features, ingest_apify_twitter, get_ingest_job
Attribution: attribute, get_attribution_job, list_runs, get_run
Packets / archive: get_packet, list_manifest, list_signatures, verify_manifest
Debug: debug_ingest, debug_manifest
Hosted API note
There is no hosted backend: it was retired 2026-11-09 and common-thread-backend.skyphusion.org no longer resolves. Self-host the Worker and point COMMON_THREAD_API_URL at it. Questions: common-thread@skyphusion.org.
Develop
npm ci && npm run typecheck && npm test && npm run build
node dist/index.jsLicense
MIT. Common Thread product licenses are separate (AGPL-3.0 implementation, CC-BY-4.0 paper).
Available Tools
23 toolsadd_seedB
Add a seed account (platform + handle + basis_statement). Active only. Cap: MAX_SEED_ACCOUNTS.
Inputs: account (required), platform (required), basis_statement (required), added_by, +3 more.
attributeA
Run attribution over active seed pairs. Public host requires BYOK (ai_gateway_url + anthropic_api_key or cf_aig_token). May return 200 sync or 202 async jobId.
Inputs: max_retries, skip_triage, access_token, cf_aig_token, +5 more.
create_investigationA
Create a new investigation. Returns access_token ONCE -- store it; it cannot be recovered. New investigations are encrypted at rest; the key is derived from the token.
Inputs: id (required), name (required), description.
debug_ingestC
Dev visibility: extractor vs manifest for the investigation (not a methodology deliverable).
Inputs: access_token, investigation_id.
debug_manifestC
Dev visibility: raw manifest breakdown.
Inputs: access_token, investigation_id.
delete_investigationA
Hard-delete an ACTIVE investigation (MySQL rows + R2 investigation prefix). Sealed/archived refuse. sha256 blobs retained.
Inputs: access_token, investigation_id.
get_attribution_jobC
Poll async attribution job from attribute (202 response).
Inputs: job_id (required), access_token, investigation_id.
get_ingest_jobA
Poll ingest job status by job_id from ingest_apify_twitter.
Inputs: job_id (required), access_token, investigation_id.
get_investigationB
Fetch investigation metadata and practitioner metadata.
Inputs: access_token, investigation_id.
get_packetB
Evidence packet (§8.1). Default JSON for latest run; pass run_id for a specific run. format=markdown returns markdown text; format=pdf returns base64 PDF (needs PDF worker and run_id).
Inputs: format, redact, run_id, access_token, +3 more.
get_runA
Single attribution run with parsed output (claims, alternatives, declined pairs, triage).
Inputs: run_id (required), access_token, investigation_id.
healthA
Backend health check (GET /). Confirms API URL, version, and hosted-API notice.
Inputs: no named parameters.
ingest_apify_twitterA
Upload Apify Twitter export JSON (array or {items|data}). Archives + runs extractors. Returns jobId; poll get_ingest_job until completed. Active only.
Inputs: items (required), access_token, investigation_id.
investigation_summaryC
Active seed count and manifest artifact count.
Inputs: access_token, investigation_id.
list_featuresB
Query extracted features (account / pair / event) after ingest+extract.
Inputs: pair, scope, account, category, +6 more.
list_manifestB
List archive manifest entries for the investigation.
Inputs: access_token, investigation_id.
list_runsB
List attribution runs (summaries) for the investigation.
Inputs: access_token, investigation_id.
list_seedsC
List seed accounts for the investigation.
Inputs: access_token, include_removed, investigation_id.
list_signaturesC
List manifest signature records.
Inputs: access_token, investigation_id.
remove_seedA
Soft-delete an active seed (audit row retained).
Inputs: account (required), platform (required), access_token, removed_reason, +1 more.
seal_investigationA
Mark investigation read-only (sealed). Ingest and attribution disabled; data stays readable with the token.
Inputs: access_token, investigation_id.
update_investigation_metadataA
PATCH practitioner metadata: triggering_events and/or time_bounds (paper §4.2.2 / §5.2.1). Active only.
Inputs: time_bounds, access_token, investigation_id, triggering_events.
verify_manifestC
Verify manifest signatures for the investigation.
Inputs: access_token, investigation_id.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Most tools map cleanly to a distinct resource plus action (seeds, features, ingest, attribution, runs), so an agent can pick correctly in the common case. The blurry area is the manifest cluster—list_manifest, list_signatures, verify_manifest, debug_manifest, and debug_ingest overlap in intent—and the two polling tools (get_ingest_job, get_attribution_job) require the agent to remember which job type it started.
The dominant pattern is consistent snake_case verb_noun (list_seeds, add_seed, create_investigation, get_run, ingest_apify_twitter). Deviations are minor but real: bare noun 'health', noun-phrase 'investigation_summary', and the bare verb 'attribute' break the verb_noun convention.
23 tools is on the heavy side for a single-investigation workflow, and a few entries feel like operator conveniences rather than agent needs (debug_ingest, debug_manifest, investigation_summary). The bulk do earn their place given the lifecycle stages—seeding, ingest, feature extraction, manifest verification, attribution, and packet export—so it is borderline rather than bloated.
Investigation lifecycle (create/get/update/seal/delete), seed CRUD (list/add/remove), ingest plus job polling, attribution plus run retrieval, manifest listing/verification, and packet export are all covered with no obvious dead ends. Gaps are minor: no listing of multiple investigations, no unseal/reopen path after seal, and no cancel for in-flight ingest or attribution jobs.
Maintenance
Related MCP Connectors
MCP server for Riveter's enrichment, scraping, and monitoring API
MCP server for the GovContractScout US government contracts API: search, NAICS, match scoring.
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
Enrich, search, assess, and manage threat intelligence through 80+ typed MCP tools.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceMCP server for Huntress API integration1MIT
- FlicenseNot gradedqualityDmaintenanceMCP server to perform various OSINT tasks by leveraging common network reconnaissance tools.48-
- AlicenseNot gradedqualityBmaintenanceMCP server for the Production Master incident-investigation service, enabling any MCP client to drive investigations via tool calls with pass-through authentication.1MIT
- FlicenseNot gradedqualityBmaintenanceMCP-native agentic threat investigation server that investigates IOCs across multiple threat intelligence sources, correlates findings to detect campaigns, and outputs STIX 2.1 bundles.1-