ZO

zxzinn/opencti-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

43 stars 18 forks 品質 78 トレンド 4MIT

zxzinn/opencti-mcp は [https://github.com/zxzinn/opencti-mcp.] からインポートされた MCP サーバーの候補です

概要

zxzinn/opencti-mcp は [https://github.com/zxzinn/opencti-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

繁體中文

概要

OpenCTI MCP Server は、OpenCTI (Open Cyber Threat Intelligence) プラットフォームとシームレスな統合を実現するモデルコンテキストプロトコル (MCP) サーバーです。 標準化されたインターフェースにより、脅威インテリジェンスデータを照会および取得することができます。

##特徴

  • 脅威インテリジェンスデータの取得と検索
  • 最新のレポートとIDで検索
  • マルウェア情報を検索
  • 妥協のクエリインジケータ
  • 脅威の俳優を探す
  • ユーザーおよびグループ管理
  • すべてのユーザーとグループを一覧表示
  • IDでユーザーの詳細を取得する
  • STIXオブジェクト操作
  • 攻撃パターンの一覧
  • 名前でキャンペーン情報を取得する
  • システム管理
  • リストのコネクター
  • ステータステンプレートを表示
  • ファイル操作
  • すべてのファイルをリスト
  • IDでファイルの詳細を取得する
  • 参照データアクセス
  • リストマーキング定義
  • 利用可能なラベルを表示
  • カスタマイズ可能なクエリ制限
  • フルグラフQLクエリサポート

前提条件

  • Node.js 16以上
  • OpenCTIインスタンスへのアクセス
  • OpenCTI APIトークン

インストール

##Smitheryでインストールする

OpenCTI Server を Claude Desktop にインストールするには、Smithery 経由で自動的にインストールします。

手動インストール

設定

環境変数

コピーする.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

OpenCTI MCP 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 instance URL
  • OPENCTI_TOKEN: Your OpenCTI API token

MCP Settings

Create a configuration file in your MCP settings location:

{
  "mcpServers": {
    "opencti": {
      "command": "node",
      "args": ["path/to/opencti-server/build/index.js"],
      "env": {
        "OPENCTI_URL": "${OPENCTI_URL}",  // Will be loaded from .env
        "OPENCTI_TOKEN": "${OPENCTI_TOKEN}"  // Will be loaded from .env
      }
    }
  }
}

Security Notes

  • Never commit .env file or API tokens to version control
  • Keep your OpenCTI credentials secure
  • The .gitignore file is configured to exclude sensitive files

Available Tools

Available Tools

Reports

get_latest_reports

Retrieves the most recent threat intelligence reports.

{
  "name": "get_latest_reports",
  "arguments": {
    "first": 10  // Optional, defaults to 10
  }
}

get_report_by_id

Retrieves a specific report by its ID.

{
  "name": "get_report_by_id",
GitHub で README 全文を見る

インストール

npx -y @smithery/cli install opencti-server --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "opencti": { "command": "node", "args": ["path/to/opencti-server/build/index.js"], "env": { "OPENCTI_URL": "${OPENCTI_URL}", // Will be loaded from .env "OPENCTI_TOKEN": "${OPENCTI_TOKEN}" // Will be loaded from .env } } } }