feat: add ECS MCP server#2623
Conversation
Introduce `ecs-mcp`, a Go-based Model Context Protocol server that loads
every tagged ECS release (>= v1.12.0) from a local or cloned ECS repo into
a SQLite database and exposes it to MCP clients over stdio or HTTP.
The server provides four tools backed by per-version field, fieldset, and
expected-event-type tables:
- ecs_get_sql_tables return the SQLite schema
- ecs_match_fields check whether dotted field names exist in a
given ECS version
- ecs_search_fields FTS search over field definitions, with
camelCase / dotted-path tokenization
- ecs_execute_sql_query run arbitrary read-only SQLite queries
An embedded guide (ecs_guide.md) is served as an MCP prompt to teach
clients the version-scoped query workflow used for mapping package
fields to ECS.
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
ECS PR Triage (automated)PR Triage ReportPR: #2623 — feat: add ECS MCP server SummaryThis PR introduces a new Go-based MCP (Model Context Protocol) server under Files changed
Routing decisionThis PR is classified as Needs Discussion rather than a straightforward Direct PR for the following reasons:
Risk notes
Completeness checklist
Recommended next actions
Posted by PR Triage workflow |
go-ecs