Ontolocy MCP Server
Augments an LLM with Ontolocy cyber graph capabilities, enabling natural language queries against a Neo4j graph database populated with MITRE ATT\&CK data.
README
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 sync
Make 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-attack
Start the Server
uv run server.py
This 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 graph
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.