OpenCTI MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OpenCTI MCP ServerCheck if the campaign APT29 exists"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Install dependencies:
pip install -r requirements.txtSet up environment variables:
OPENCTI_URL: The URL of your OpenCTI instance (e.g., https://your-opencti-instance.com)OPENCTI_TOKEN: Your OpenCTI API token
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
Log in to your OpenCTI instance
Navigate to your profile settings
Generate an API token
Copy the token and your OpenCTI instance URL
This server cannot be installed
Maintenance
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
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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