MCP.so
登录

Elasticsearch MCP Server

@MCP-Mirror

基本信息

分类

数据库

传输方式

stdio

作者

MCP-Mirror

关于 Elasticsearch MCP Server

Mirror of

Elasticsearch MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Elasticsearch MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Elasticsearch MCP Server?

A Model Context Protocol (MCP) server implementation that provides Elasticsearch interaction. It enables searching documents, analyzing indices, and managing a cluster through a set of tools, designed for use with MCP clients like Claude Desktop.

How to use Elasticsearch MCP Server?

Configure the server in your MCP client (e.g., Claude Desktop) by setting environment variables ELASTIC_HOST, ELASTIC_USERNAME, and ELASTIC_PASSWORD to point to your Elasticsearch cluster. Use the provided tools via natural language commands, such as "List all indices in the cluster" or "Show me the cluster health status."

Key features of Elasticsearch MCP Server

  • list_indices: List all indices in the Elasticsearch cluster.
  • get_mapping: Retrieve mapping configuration for a specific index.
  • get_settings: Get settings configuration for a specific index.
  • search_documents: Search documents using Elasticsearch Query DSL.
  • get_cluster_health: Get health status of the cluster.
  • get_cluster_stats: Get statistical information about the cluster.

Use cases of Elasticsearch MCP Server

  • Query and explore indices in your Elasticsearch cluster via natural language.
  • Monitor cluster health and statistics without manual API calls.
  • Retrieve index mappings and settings for troubleshooting or documentation.
  • Search documents using complex Query DSL without writing raw JSON.

常见问题

1

What is the Elasticsearch MCP Server?

It is an MCP server that exposes Elasticsearch operations (index, document, and cluster management) as callable tools for AI assistants like Claude.

2

How do I connect to my Elasticsearch cluster?

Set the `ELASTIC_HOST`, `ELASTIC_USERNAME`, and `ELASTIC_PASSWORD` environment variables in your MCP client configuration to match your cluster’s credentials.

3

What tools does the server provide?

The server provides six tools: `list_indices`, `get_mapping`, `get_settings`, `search_documents`, `get_cluster_health`, and `get_cluster_stats`.

4

What are the prerequisites?

You need an Elasticsearch cluster (local or remote) and the MCP server running via `uv` (Python). A sample Docker Compose file is provided to start a 3-node cluster with Kibana.

5

Does the server support authentication?

Yes, basic authentication is supported via the `ELASTIC_USERNAME` and `ELASTIC_PASSWORD` environment variables. The default credentials in the provided Docker Compose are `elastic` / `test123`.

评论

数据库 分类下的更多 MCP 服务器