Ontolocy MCP Server
OfficialProvides tools to interact with a Neo4j graph database containing cyber threat intelligence data (MITRE ATT&CK) using the Ontolocy ontology, allowing queries and management of the cyber graph.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Ontolocy MCP Server
Simple proof of concept MCP server to augment an LLM with Ontolocy cyber graph capabilities.
Key technologies:
Neo4j - for the graph database
MCP Python SDK - for the MCP server
PydanticAI - for the client (which connects to the MCP server)
Neontology - Interacting with Neo4j using pydantic models
Ontolocy - Cyber graph ontology and tooling built with Neontology
Quickstart
Pre-Requisites
Install dependencies with uv:
uv syncMake sure you have a .env file which specifies:
FASTMCP_PORT=8008
OPENAI_API_KEY=<YOUR API KEY>
NEO4J_URI="neo4j://localhost:7687"
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=<YOUR NEO4J PASSWORD>Ensure your Neo4j database is running and accessible. Be warned, the LLM may run arbitrary queries against it!
Populate the Graph
Use Ontolocy to populate the graph with MITRE ATT&CK data from the official github repo.
uv run ontolocy parse mitre-attackStart the Server
uv run server.pyThis will make the MCP server available on the port configured in the .env file (e.g.8008).
Use the CLI Client
uv run mcp_sse_client.py lookup mitre attack technique T1090 in the ontolocy cyber graphThis server cannot be deployed
Maintenance
Related MCP Connectors
LLM Observability & Orchestration Agent (Langchain)
LLM Observability & Orchestration Agent
LLM Orchestration Observability Agent
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Neo4j graph databases through natural language, supporting Cypher queries, schema management, data manipulation, and graph algorithms.MIT
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to interact with Neo4j graph databases using natural language to execute Cypher queries and introspect database schemas. It supports both read and write operations for local, Docker, and cloud-based instances like Neo4j Aura.MIT
- AlicenseAqualityCmaintenanceEnables AI-native access to the MITRE ATT\&CK framework, allowing LLMs and agents to query techniques, threat groups, software, and generate ATT\&CK Navigator layers for threat intelligence and security workflows.6557 npm5Apache 2.0
- AlicenseNot gradedqualityDmaintenanceExposes a Neo4j graph database as MCP tools, enabling AI agents to run read and write Cypher queries.MIT