Skip to main content
Glama
scriptedstatement

opencti-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENCTI_URLNoOpenCTI instance URL (use https:// for remote)http://localhost:8080
OPENCTI_TOKENYesAPI token (required)
OPENCTI_TIMEOUTNoRequest timeout in seconds60
OPENCTI_READ_ONLYNoDisable write operationstrue
OPENCTI_LOG_FORMATNoLog format: json or textjson
OPENCTI_SSL_VERIFYNoVerify SSL certificates (set false for self-signed)true
FF_NEGATIVE_CACHINGNoCache not found resultstrue
FF_RESPONSE_CACHINGNoCache search results (reduces API calls)false
OPENCTI_MAX_RESULTSNoMaximum results per query100
OPENCTI_MAX_RETRIESNoRetry attempts for failures3
OPENCTI_RETRY_DELAYNoInitial retry delay (seconds)1.0
FF_STARTUP_VALIDATIONNoTest API connectivity on server starttrue
FF_GRACEFUL_DEGRADATIONNoReturn cached results when service unavailabletrue
OPENCTI_CIRCUIT_TIMEOUTNoSeconds before circuit recovery60
OPENCTI_RETRY_MAX_DELAYNoMaximum retry delay (seconds)30.0
OPENCTI_CIRCUIT_THRESHOLDNoFailures before circuit opens5
OPENCTI_EXTRA_PATTERN_TYPESNoCustom pattern types (comma-separated)
OPENCTI_EXTRA_OBSERVABLE_TYPESNoCustom observable types (comma-separated)

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_threat_intelA

Search OpenCTI for threat intelligence across all entity types (indicators, threat actors, malware, techniques, CVEs, reports).

lookup_iocB

Get full context for a specific IOC (IP, hash, domain, URL) including related threat actors, malware, and MITRE techniques.

search_threat_actorC

Search for threat actors and APT groups by name or alias.

search_malwareB

Search for malware families by name or alias.

search_attack_patternA

Search for MITRE ATT&CK techniques by ID or name.

search_vulnerabilityC

Search for vulnerabilities (CVEs) by ID or keyword.

get_recent_indicatorsB

Get recently added indicators (IOCs) from the last N days.

search_reportsC

Search for threat intelligence reports.

get_healthA

Check OpenCTI server health and connectivity.

list_connectorsA

List available enrichment connectors (VirusTotal, Shodan, etc.).

get_network_statusA

Get network health metrics and adaptive configuration recommendations. Shows latency statistics (P50/P95/P99), success rates, circuit breaker state, and recommended timeout/retry settings based on observed network conditions.

force_reconnectA

Force reconnection to OpenCTI server. Clears health cache, resets circuit breaker, and attempts fresh connection. Use after configuration changes or to recover from persistent errors.

get_cache_statsA

Get cache statistics including hit rates, sizes, and evictions. Useful for debugging and performance tuning.

search_campaignA

Search for threat campaigns by name or keyword.

search_toolB

Search for tools (legitimate software used maliciously, e.g., PsExec, Mimikatz as a tool).

search_infrastructureB

Search for infrastructure (C2 servers, hosting, botnets, etc.).

search_incidentC

Search for security incidents.

search_observableB

Search for observables (raw technical artifacts: IPs, domains, hashes, emails, etc.).

search_sightingA

Search for sightings (detection events where indicators were observed).

search_organizationB

Search for organizations (companies, government bodies, etc.).

search_sectorA

Search for sectors/industries (e.g., 'Energy', 'Healthcare', 'Finance').

search_locationC

Search for locations (countries, regions, cities).

search_course_of_actionA

Search for courses of action (mitigations for attack techniques).

search_groupingB

Search for groupings (analysis containers that group related entities).

search_noteC

Search for analyst notes.

lookup_hashC

Look up a file hash (MD5, SHA1, SHA256) in OpenCTI.

get_entityA

Get full details of any entity by its OpenCTI ID.

get_relationshipsA

Get relationships for an entity (who uses what, what indicates what, etc.).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/scriptedstatement/opencti-mcp'

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