Skip to main content
Glama
cjmateoo0221

OpenCTI MCP Server

by cjmateoo0221

OpenCTI MCP Server

This MCP server provides tools to interact with the OpenCTI platform using the pycti library.

Features

  • check_campaign_exists: Check if a campaign exists in OpenCTI by name

Related MCP server: MCP-Kanka

Requirements

  • Python 3.8+

  • pycti 5.12.33

  • fastmcp

Installation

  1. Install dependencies:

pip install -r requirements.txt
  1. Set up environment variables:

Configuration

Add the following to your MCP settings configuration file:

{
  "mcpServers": {
    "opencti": {
      "command": "python",
      "args": ["C:/Users/JIT/Documents/Cline/MCP/opencti-server/server.py"],
      "env": {
        "OPENCTI_URL": "your-opencti-url",
        "OPENCTI_TOKEN": "your-opencti-token"
      }
    }
  }
}

Usage

Once configured, you can use the following tool:

check_campaign_exists

Check if a campaign exists in OpenCTI by providing its name:

Input: {"name": "APT28"}
Output: {
  "exists": true,
  "campaign": {
    "id": "campaign-id",
    "name": "APT28",
    "description": "...",
    ...
  },
  "message": "Campaign 'APT28' found in OpenCTI"
}

Getting OpenCTI Credentials

  1. Log in to your OpenCTI instance

  2. Navigate to your profile settings

  3. Generate an API token

  4. Copy the token and your OpenCTI instance URL

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cjmateoo0221/OpenCTI-Campaign-Indicator-Automation-using-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server