Integrate and extend

Build connectors, injectors and collectors, use the GraphQL, REST and MCP APIs, and contribute to the XTM modules.

For developers and integrators

Connect your tools and your code to the XTM modules

Everything the interfaces do, your code can do: read and write knowledge in OpenCTI, script the simulations of OpenAEV, talk to the agents of XTM One. These pages explain the integration model the modules share, how to build an integration, how to call each API, and how to contribute to the modules.

  1. Script or app → MCP and chat API
  2. Script or app → GraphQL API and streams: calls
  3. Script or app → REST API
  4. Integration → GraphQL API and streams: registers
  5. Integration → REST API
  6. MCP and chat API → The XTM modules
  7. GraphQL API and streams → The XTM modules: reads and writes
  8. REST API → The XTM modules
Your code reaches the XTM modules through their APIs, or runs beside them as an integration

Start here

Pick what you build: each tab gives your goal and the pages to read first, in order.

A script or an app

You read or change data from your own code, at the pace of your script.

  1. APIs and integration options: what each way in is for, how they authenticate, and which to choose.
  2. Query OpenCTI with GraphQL: a token, then queries, mutations, pages of results and errors.
  3. Script OpenCTI in Python: the same with pycti, with helpers per entity type.
  4. Script OpenAEV and XTM One with their REST APIs: a token of your user, the endpoints, the errors.
An AI agent or assistant

You let an assistant or your own agent work with the modules.

  1. MCP servers: the Model Context Protocol servers XTM One exposes for OpenCTI, OpenAEV, OpenCRQ and itself, and every tool they offer.
  2. XTM One chat API: send a message to an agent over HTTP and read its answer as it comes.
  3. XTM One emergency stop API: stop what the agents do, from your own tooling.
An integration

You bring a source, a security tool or an attack technique to the platforms.

  1. Integration model: connectors, collectors, injectors and executors, and what every integration shares.
  2. Build an OpenCTI connector: from an empty folder to reports and indicators in OpenCTI, then a Docker image.
  3. Build an OpenAEV injector: from its contract to the result of each inject.
  4. Build an OpenAEV collector: match the expectations of your simulations with the alerts of your security tool.
  5. Integration manifest: what the catalog shows and XTM Composer deploys from.
A contribution

You change a module or its documentation, and open a pull request.

  1. Build and run from source: OpenCTI or OpenAEV from a clone, with the checks of the CI.
  2. Add or change a translation in OpenCTI or OpenAEV: a new text of the interface, in every language.
  3. Develop XTM Composer: build it in Rust and run it against a local OpenCTI.
  4. Write a page of the XTM documentation: from a template to a page checked as the CI does.

Pull, listen or push

The ways into OpenCTI differ in who drives the exchange. Your code pulls with the GraphQL API; a consumer listens to a live stream that sends every change, deletions included; a device downloads a feed on a schedule. Choosing the right one saves you polling, and saves your tools stale data.

YOUR CODEOPENCTISTORAGEScript or appcurl, Python, TypeScriptConnectorPython clientStream consumerSIEM, EDR, SOARFeed readerFirewall, TAXII clientGraphQL API/graphqlLive streams/streamCSV and TAXII feeds/feeds, /taxii2Knowledge baseFiltered by user rights
  1. Script or app → GraphQL API: queries and mutations
  2. Connector → GraphQL API: queries and mutations
  3. GraphQL API ↔ Knowledge base: reads and writes
  4. Knowledge base → Live streams: every change
  5. Knowledge base → CSV and TAXII feeds: on request
  6. Live streams → Stream consumer: pushes events
  7. CSV and TAXII feeds → Feed reader: downloaded
Code reaches OpenCTI through the GraphQL API to read and write, and through live streams and feeds to receive what changes

Browse Develop

Develop
Integrations, APIs, MCP and contributing.

Published

Overview