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:92002. 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 URLAPI_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
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
Read-only MCP security data: check catalogue, public scan status and your own scan reports.
Read-only MCP for identity resolution and write guardrails.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceA 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
- AlicenseNot gradedqualityDmaintenanceMCP server that provides tools and resources to interact with Elasticsearch clusters, including listing indices, searching, and retrieving mappings.3MIT
- FlicenseNot gradedqualityDmaintenanceRead-only MCP server for Elasticsearch log querying. Enables natural language search, filtering, context retrieval, and aggregation of logs.-
- AlicenseAqualityDmaintenanceEnables any MCP-compatible agent to query, diagnose, map, and operate Elasticsearch or OpenSearch clusters via REST, with read-only defaults and layered safety controls.34Apache 2.0