Skip to main content
Glama

OpenCTI MCP Server

relationships.ts3.72 kB
export const ALL_STIX_CORE_RELATIONSHIPS_QUERY = ` query AllStixCoreRelationships($first: Int, $after: ID) { stixCoreRelationships(first: $first, after: $after) { pageInfo { hasNextPage endCursor } edges { node { id standard_id entity_type parent_types relationship_type confidence start_time stop_time from { ... on StixDomainObject { id entity_type name } ... on StixCyberObservable { id entity_type observable_value } } to { ... on StixDomainObject { id entity_type name } ... on StixCyberObservable { id entity_type observable_value } } } } } } `; export const ALL_STIX_SIGHTING_RELATIONSHIPS_QUERY = ` query AllStixSightingRelationships($first: Int, $after: ID) { stixSightingRelationships(first: $first, after: $after) { pageInfo { hasNextPage endCursor } edges { node { id standard_id entity_type parent_types relationship_type confidence first_seen last_seen from { ... on StixDomainObject { id entity_type name } ... on StixCyberObservable { id entity_type observable_value } } to { ... on StixDomainObject { id entity_type name } ... on StixCyberObservable { id entity_type observable_value } } } } } } `; export const ALL_STIX_REF_RELATIONSHIPS_QUERY = ` query AllStixRefRelationships($first: Int, $after: ID) { stixRefRelationships(first: $first, after: $after) { pageInfo { hasNextPage endCursor } edges { node { id standard_id entity_type parent_types relationship_type confidence from { ... on StixDomainObject { id entity_type name } ... on StixCyberObservable { id entity_type observable_value } } to { ... on StixDomainObject { id entity_type name } ... on StixCyberObservable { id entity_type observable_value } } } } } } `; export const ALL_STIX_RELATIONSHIPS_QUERY = ` query AllStixRelationships { stixRelationships { edges { node { id standard_id entity_type parent_types relationship_type confidence created_at updated_at from { ... on StixDomainObject { id entity_type name } ... on StixCyberObservable { id entity_type observable_value } } to { ... on StixDomainObject { id entity_type name } ... on StixCyberObservable { id entity_type observable_value } } objectMarking { id definition x_opencti_order x_opencti_color } createdBy { id name entity_type } } } } } `;

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

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