Skip to content

v1.0.0

Choose a tag to compare

@csimi csimi released this 08 Jul 04:55
· 7 commits to master since this release

A Model Context Protocol server for Elasticsearch, over the stdio transport. Written in JavaScript with JSDoc types checked by TypeScript — no build step. Read-only by default, with optional write tools.

Highlights

  • Elasticsearch 8.x and 9.x support. Both client majors are bundled; the matching one is auto-detected at startup (or pinned via ELASTICSEARCH_API_VERSION), so a 9.x client's compatible-with=9 header never trips up an 8.x cluster.
  • Base-path aware. Works against deployments served behind a reverse proxy under a path (e.g. https://host/elasticsearch) — something the official client drops silently.
  • Graceful privilege degradation. Built for restricted, index-scoped API keys: list_indices falls back to _resolve/index without cluster monitor, and get_mapping falls back to _field_caps without view_index_metadata. Authorization failures surface
    clear, actionable errors.