Overview of the Homer MCP Module
homer11The MCP (Model Context Protocol) module exposes Homer Core as an MCP server, allowing LLM clients (such as Cursor, Claude Desktop, or custom agents) to search HEP (Homer Event Processing) data using natural language.
Key characteristics:
- Transport: Uses
stdio(standard input/output) for JSON-RPC communication. - Backend: Connects to the Homer Core Coordinator HTTP API (
/api/v4/transactions/search,/api/v4/query). - Parsing: Uses a deterministic regex parser by default, which can be augmented by an OpenAI-compatible LLM for better natural language understanding.
- Security: It is a read-only interface. A SQL validator ensures only
SELECTorWITHstatements are executed against thehomer_lake.main.hep_proto_1_calltable, blocking all destructive commands (e.g.,DROP,DELETE,UPDATE). - Availability: The module is disabled by default and must be enabled via
mcp.enable=truein the configuration.