Atlas / MCP servers / spathodea-network / OpenCTI Server

OpenCTI ServerSAFE

mcp/spathodea-network/opencti-server

MCP server for querying OpenCTI threat intelligence, indicators, reports, malware, and threat actors.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
16 16r · 0w · 0d
Transport
stdio
License
MIT
Stars
40
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://smithery.ai/server/opencti-server) Traditional Chinese (繁體中文)

Overview

OpenCTI MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with OpenCTI (Open Cyber Threat Intelligence) platform. It enables querying and retrieving threat intelligence data through a standardized interface.

Features

  • Fetch and search threat intelligence data
  • Get latest reports and search by ID
  • Search for malware information
  • Query indicators of compromise
  • Search for threat actors
  • User and group management
  • List all users and groups
  • Get user details by ID
  • STIX object operations
  • List attack patterns
  • Get campaign information by name
  • System management
  • List connectors
  • View status templates
  • File operations
  • List all files
  • Get file details by ID
  • Reference data access
  • List marking definitions
  • View available labels
  • Customizable query limits
  • Full GraphQL query support

Prerequisites

  • Node.js 16 or higher
  • Access to an OpenCTI instance
  • OpenCTI API token

Installation

Installing via Smithery

To install OpenCTI Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install opencti-server --client claude

Manual Installation

# Clone the repository
git clone https://github.com/yourusername/opencti-mcp-server.git

# Install dependencies
cd opencti-mcp-server
npm install

# Build the project
npm run build

Configuration

Environment Variables

Copy .env.example to .env and update with your OpenCTI credentials:

cp .env.example .env

Required environment variables:

  • OPENCTI_URL: Your OpenCTI i
Read from source at commit d1e42f33bfc4OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add opencti-server --env OPENCTI_TOKEN=${OPENCTI_TOKEN} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "opencti-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "OPENCTI_TOKEN": "${OPENCTI_TOKEN}"
      }
    }
  }
}
03

Exposed tools (16)

16 read · 0 write · 0 destructive.

ToolRiskDescription
get_campaign_by_nameread根據名稱獲取行動資訊
get_file_by_idread根據ID獲取檔案資訊
get_latest_reportsread獲取最新的OpenCTI報告
get_report_by_idread根據ID獲取OpenCTI報告
get_user_by_idread根據ID獲取使用者資訊
list_attack_patternsread列出所有攻擊模式
list_connectorsread列出所有連接器
list_filesread列出所有檔案
list_groupsread列出所有群組
list_labelsread列出所有標籤
list_marking_definitionsread列出所有標記定義
list_status_templatesread列出所有狀態模板
list_usersread列出所有使用者
search_indicatorsread搜尋OpenCTI中的指標
search_malwareread搜尋OpenCTI中的惡意程式
search_threat_actorsread搜尋OpenCTI中的威脅行為者
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (2 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
axios, @types/node, typescript
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha d1e42f33bfc4full audit observations/trust-audit/mcp-server/spathodea-network__opencti-server.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08d1e42f33bfc4SAFEB89first audit
06

Questions

What is the OpenCTI Server MCP server?

MCP server for querying OpenCTI threat intelligence, indicators, reports, malware, and threat actors.

What tools does OpenCTI Server expose?

16 in total: 16 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is OpenCTI Server safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does OpenCTI Server need?

It reads OPENCTI_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does OpenCTI Server run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as opencti-server at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (d1e42f33bfc4), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement