MCP Server for Cortex

MCP Server for Cortex

mcp-server-cortex•bygbrigandi

An MCP server that bridges a Cortex instance, exposing its analyzers as tools for MCP clients to perform threat intelligence analysis on observables.

License: Not specified•Runtime: Awaiting documentation review•Category: auth security

WHAT IT DOES

  • •Exposes tools to analyze IP addresses using an AbuseIPDB analyzer via Cortex and returns the job report if successful.
  • •Provides a tool to analyze IPs, domains, FQDNs, URLs, or emails using an AbuseFinder analyzer via Cortex.
  • •Offers tools to scan URLs with VirusTotal and analyze URLs with Urlscan.io through Cortex.

BEST FOR

  • •Threat intelligence enrichment of observables such as IPs and URLs by MCP-compatible LLM clients.
  • •Automating and centralizing observable analysis through a Cortex instance from a single point.

ABOUT MCP-SERVER-CORTEX

MCP Server for Cortex is cataloged as an MCP server attributed to gbrigandi. An MCP server that bridges a Cortex instance, exposing its analyzers as tools for MCP clients to perform threat intelligence analysis on observables. It is categorized under auth security. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Server for Cortex are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What analyzers do the Cortex tools rely on?

The tools use Cortex analyzers such as AbuseIPDB_1_0, Abuse_Finder_3_0, VirusTotal_Scan_3_1, and Urlscan_io_Scan_0_1_0 by default, though these can often be overridden via tool parameters.

What happens if a required Cortex analyzer is not configured or enabled?

If an analyzer is not configured, not enabled, or misconfigured, the corresponding tool call will likely fail or return an error from Cortex.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 98432a63d180 · 采集于 2026-11-13 10:03:10 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP Server for Cortex

Claude Cortex Session

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.

Alternatively, you can build the server from source (see the Building section below).

Configuration

The server is configured using the following environment variables:

  • CORTEX_ENDPOINT: The full URL to your Cortex API.
    • Example: http://localhost:9000/api
  • CORTEX_API_KEY: Your API key for authenticating with the Cortex instance.
  • RUST_LOG (Optional): Controls the logging level for the server.
    • Example: info (for general information)
    • Example: mcp_server_cortex=debug,cortex_client=info (for detailed server logs and info from the cortex client library)

Cortex Analyzer Configuration

For the tools provided by this MCP server to function correctly, the corresponding analyzers must be enabled and properly configured within your Cortex instance. The server relies on these Cortex analyzers to perform the actual analysis tasks.

The tools currently use the following analyzers by default (though these can often be overridden via tool parameters):

  • analyze_ip_with_abuseipdb: Uses an analyzer like AbuseIPDB_1_0.
    • This analyzer typically requires an API key from AbuseIPDB. Ensure this is configured in Cortex.
  • analyze_with_abusefinder: Uses an analyzer like Abuse_Finder_3_0.
    • AbuseFinder might have its own configuration requirements or dependencies within Cortex.
  • scan_url_with_virustotal: Uses an analyzer like VirusTotal_Scan_3_1.
    • This analyzer requires a VirusTotal API key. Ensure this is configured in Cortex.
  • analyze_url_with_urlscan_io: Uses an analyzer like Urlscan_io_Scan_0_1_0.
    • This analyzer requires an API key for urlscan.io. Ensure this is configured in Cortex.

Key Points:

  • Enable Analyzers: Make sure the analyzers you intend to use are enabled in your Cortex instance's "Organization" -> "Analyzers" section.
  • Configure Analyzers: Each analyzer will have its own configuration page within Cortex where you'll need to input API keys, set thresholds, or define other operational parameters. Refer to the documentation for each specific Cortex analyzer.
  • Test in Cortex: It's a good practice to test the analyzers directly within the Cortex UI first to ensure they are working as expected before trying to use them via this MCP server.

If an analyzer is not configured, not enabled, or misconfigured (e.g., invalid API key), the corresponding tool call from the MCP client will likely fail or return an error from Cortex.

Example: Claude Desktop Configuration

For MCP clients like Claude Desktop, you typically configure them by specifying the command to launch the MCP server and any necessary environment variables for that server.

  1. Build or Download the Server Binary: Ensure you have the mcp-server-cortex executable. If you've built it from source, it will be in target/debug/mcp_server_cortex or target/release/mcp_server_cortex.

  2. Configure Your LLM Client (e.g., Claude Desktop):

    • The method for configuring your LLM client will vary depending on the client itself.

    • For clients that support MCP, you will typically need to point the client to the path of the mcp-server-cortex executable.

    • Example for Claude Desktop claude_desktop_config.json: You would modify your Claude Desktop configuration file (usually claude_desktop_config.json) to include an entry for this server.

      For instance, if your mcp-server-cortex binary is located at /opt/mcp-servers/mcp-server-cortex, your configuration might look like this:

      {
        "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", "test@example.com").
      • data_type (string, required): The type of the data. Must be one of: ip, domain, fqdn, url, mail.
      • analyzer_name (string, optional): The specific name of the AbuseFinder analyzer instance in Cortex. Defaults to Abuse_Finder_3_0.
      • max_retries (integer, optional): Maximum number of times to poll for the analyzer job to complete. Defaults to 5.
  3. scan_url_with_virustotal

    • Description: Scans a URL using a VirusTotal_Scan analyzer (e.g., VirusTotal_Scan_3_1) via Cortex. Returns the job report if successful.
    • Parameters:
      • url (string, required): The URL to scan.
      • analyzer_name (string, optional): The specific name of the VirusTotal_Scan analyzer instance in Cortex. Defaults to VirusTotal_Scan_3_1.
      • max_retries (integer, optional): Maximum number of times to poll for the analyzer job to complete. Defaults to 5.
  4. analyze_url_with_urlscan_io

    • Description: Analyzes a URL using a Urlscan.io analyzer (e.g., Urlscan_io_Scan_0_1_0) via Cortex. Returns the job report if successful.
    • Parameters:
      • url (string, required): The URL to analyze.
      • analyzer_name (string, optional): The specific name of the Urlscan.io analyzer instance in Cortex. Defaults to Urlscan_io_Scan_0_1_0.
      • max_retries (integer, optional): Maximum number of times to poll for the analyzer job to complete. Defaults to 5.

Building

To build the server from source, ensure you have the Rust toolchain installed (as mentioned in the "Prerequisites" section).

  1. Clone the repository (if you haven't already):

    git clone https://github.com/gbrigandi/mcp-server-cortex.git
    cd mcp-server-cortex
    

    If you are already working within a cloned repository and are in its root directory, you can skip this step.

  2. Build the project using Cargo:

    • For a debug build:
      cargo build
      
      The executable will be located at target/debug/mcp-server-cortex.
    • For a release build (recommended for performance and actual use):
      cargo build --release
      
      The executable will be located at target/release/mcp-server-cortex.

After building, you can run the server executable. Refer to the "Configuration" section for required environment variables and the "Example: Claude Desktop Configuration" for how an MCP client might launch the server.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Server for Cortex from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-server-cortex)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related auth security MCP Servers

Alternative and complementary servers in the same category

View all in auth security →

A modular FastMCP server for interacting with Microsoft Graph API, supporting advanced queries for users, sign-in logs, MFA status, and privileged users.

Repository stats unavailable
Security & Secrets
Keycloak MCP Server
keycloak-mcp-server•sshaaf

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

Repository stats unavailable
Security & Secrets

An MCP server for LLM-driven penetration testing that wraps Kali tools and adds scope enforcement, engagement tracking, and structured output.

Repository stats unavailable
Security & Secrets