Skip to main content
Glama
mcp-elasticsearch

mcp-elasticsearch

mcp-elasticsearch

Elasticsearch MCP 서버(Model Context Protocol) - 읽기 전용 검색만 지원.

기능

읽기 전용 작업만 제공합니다:

  • list_indices - 모든 인덱스 목록 조회

  • get_mapping - 인덱스 매핑 조회

  • search - 검색/집계 쿼리 실행

Related MCP server: Elasticsearch MCP Server

두 가지 전송 모드 지원

1. stdio (로컬/독립 실행 배포용)

python -m mcp_elasticsearch --transport stdio --url http://localhost:9200

2. sse (원격/컨테이너화 배포용)

python -m mcp_elasticsearch --transport sse --host 0.0.0.0 --port 8002 --url http://elasticsearch:9200 [--api-key your-secret-key]

환경 변수

모든 명령줄 인수는 환경 변수로도 설정할 수 있습니다:

  • TRANSPORT - stdio 또는 sse (기본값: stdio)

  • HOST - sse 모드 바인드 호스트 (기본값: 0.0.0.0)

  • PORT - sse 모드 바인드 포트 (기본값: 8002)

  • ELASTICSEARCH_URL - Elasticsearch URL

  • API_KEY - 클라이언트 인증용 선택적 API 키

Docker

FROM python:3.11-slim

WORKDIR /app

COPY pyproject.toml poetry.lock ./
RUN poetry install --no-dev --no-root

COPY mcp_elasticsearch/ ./mcp_elasticsearch/

EXPOSE 8002

CMD ["python", "-m", "mcp_elasticsearch"]

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      A read-only MCP server for Elasticsearch 7.10 clusters, providing tools for cluster info, health, index listing, and Query DSL search with Google OAuth and Bearer token authentication.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server that provides tools and resources to interact with Elasticsearch clusters, including listing indices, searching, and retrieving mappings.
      3
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Read-only MCP server for Elasticsearch log querying. Enables natural language search, filtering, context retrieval, and aggregation of logs.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables any MCP-compatible agent to query, diagnose, map, and operate Elasticsearch or OpenSearch clusters via REST, with read-only defaults and layered safety controls.
      34
      Apache 2.0