GM

gbrigandi/mcp-server-cortex

Developer tools

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

17 stars 8 forks 品質 63 トレンド 21MIT

コルテックスのMCPサーバー

概要

このサーバーは、Claudeのような大きな言語モデルなど、モデルコンテキストプロトコル(MCP)クライアントが消費するツールとして、Cortexインスタンスの強力な解析能力を発揮します。 こうしたクライアントは、Cortex アナライザを活用して脅威インテリジェンスタスクを実行できます。 Cortexは、強力で自由で、オープンソースの観察可能な解析とアクティブレスポンスエンジンです。 さまざまな「アナライザー」を使用して、さまざまな「IP、URL、ドメイン、ファイルなど」を使用して、観察可能な(IP、URL、ドメイン、ファイルなど)を分析することができます。外部サービスに接続したり、ローカル分析を実行したりするコードのモジュラー部分。 ※1点から各種分析を実行します。 * : 異なる脅威インテリジェンスフィードやツールに新しいアナライザーを簡単に追加できます。 * : 観察可能な充実のプロセスを自動化します。 ※ : セキュリティ・インシデント・レスポンス・プラットフォーム(SIRP)と密接に連携する設計ですが、スタンドアローンも使用できます。 *:Cortexインスタンスを保護するためのAPIキーベースのアクセス.

概要(AI 翻訳)

このサーバーは、Claudeのような大きな言語モデルなど、モデルコンテキストプロトコル(MCP)クライアントが消費するツールとして、Cortexインスタンスの強力な解析能力を発揮します。 こうしたクライアントは、Cortex アナライザを活用して脅威インテリジェンスタスクを実行できます。

皮質とは何ですか?

Cortexは、強力で自由で、オープンソースの観察可能な解析とアクティブレスポンスエンジンです。 さまざまな「アナライザー」を使用して、さまざまな「IP、URL、ドメイン、ファイルなど」を使用して、観察可能な(IP、URL、ドメイン、ファイルなど)を分析することができます。外部サービスに接続したり、ローカル分析を実行したりするコードのモジュラー部分。

Cortex(およびこのMCPサーバーを使用する利点):

*集中分析: 単一ポイントから様々な分析を実行します。 *Extensibility:異なる脅威インテリジェンスフィードやツールに新しいアナライザーを簡単に追加できます。 *Automation: 観察可能を豊かにするプロセスを自動化します。 *Integration:TheHive、セキュリティインシデント対応プラットフォーム(SIRP)と密接に連携するように設計されていますが、スタンドアローンも使用できます。 *Security:Cortexインスタンスを保護するためのAPIキーベースのアクセス.

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

README

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

MCP Server for Cortex

This server acts as a bridge, exposing the powerful analysis capabilities of a Cortex instance as tools consumable by Model Context Protocol (MCP) clients, such as large language models like Claude. It allows these clients to leverage Cortex analyzers for threat intelligence tasks.

What is Cortex?

Cortex is a powerful, free, and open-source observable analysis and active response engine. It allows you to analyze observables (like IPs, URLs, domains, files, etc.) using a variety of “analyzers” – modular pieces of code that connect to external services or perform local analysis.

Benefits of using Cortex (and this MCP server):

  • Centralized Analysis: Run various analyses from a single point.
  • Extensibility: Easily add new analyzers for different threat intelligence feeds and tools.
  • Automation: Automate the process of enriching observables.
  • Integration: Designed to work closely with TheHive, a Security Incident Response Platform (SIRP), but can also be used standalone.
  • Security: API-key based access to protect your Cortex instance.

This MCP server makes these benefits accessible to MCP-compatible clients, enabling them to request analyses and receive structured results.

Prerequisites

  1. Rust Toolchain: Ensure you have Rust installed (visit rustup.rs).
  2. Cortex Instance: A running Cortex instance is required.
    • The server needs network access to this Cortex instance.
    • An API key for Cortex with permissions to list analyzers and run jobs.
  3. Configured Analyzers: The specific analyzers you intend to use (e.g., AbuseIPDB_1_0, Abuse_Finder_3_0, VirusTotal_Scan_3_1, Urlscan_io_Scan_0_1_0) must be enabled and correctly configured within your Cortex instance.

Installation

The recommended way to install the MCP Server for Cortex is to download a pre-compiled binary for your operating system.

  1. Go to the Releases Page: Navigate to the GitHub Releases page.

  2. Download the Binary: Find the latest release and download the appropriate binary for your operating system (e.g., mcp-server-cortex-linux-amd64, mcp-server-cortex-macos-amd64, mcp-server-cortex-windows-amd64.exe).

  3. Place and Prepare the Binary:

    • Move the downloaded binary to a suitable location on your system (e.g., /usr/local/bin on Linux/macOS, or a dedicated folder like C:\Program Files\MCP Servers\ on Windows).
    • For Linux/macOS: Make the binary executable:
      chmod +x /path/to/your/mcp-server-cortex
      
    • Ensure the directory containing the binary is in your system’s PATH if you want to run it without specifying the full path.
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { // ... other server configurations ... "cortex": { "command": "/opt/mcp-servers/mcp-server-cortex", "args": [], "env": { "CORTEX_ENDPOINT": "http://your-cortex-instance:9000/api", "CORTEX_API_KEY": "your_cortex_api_key_here", } } // ... other server configurations ... } } ## Available Tools The server provides the following tools, which can be called by an MCP client: 1. **`analyze_ip_with_abuseipdb`** * **Description**: Analyzes an IP address using an AbuseIPDB analyzer (or a similarly configured IP reputation analyzer) via Cortex. Returns the job report if successful. * **Parameters**: * `ip` (string, required): The IP address to analyze. * `analyzer_name` (string, optional): The specific name of the AbuseIPDB analyzer instance in Cortex. Defaults to `AbuseIPDB_1_0`. * `max_retries` (integer, optional): Maximum number of times to poll for the analyzer job to complete. Defaults to 5. 2. **`analyze_with_abusefinder`** * **Description**: Analyzes various types of data (IP, domain, FQDN, URL, or email) using an AbuseFinder analyzer via Cortex. Returns the job report if successful. * **Parameters**: * `data` (string, required): The data to analyze (e.g., "1.1.1.1", "example.com", "http://evil.com/malware", "[email protected]"). …