MCP.so
登录

Elasticsearch

@MCP-Mirror

关于 Elasticsearch

Mirror of

基本信息

分类

数据库

运行时

node

传输方式

stdio

发布者

MCP-Mirror

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "da1y_mcp-server-elasticsearch": {
      "command": "docker",
      "args": [
        "run",
        "-d",
        "--name",
        "elasticsearch",
        "-p",
        "9200:9200",
        "-p",
        "9300:9300",
        "-e",
        "discovery.type=single-node",
        "-e",
        "xpack.security.enabled=false",
        "docker.elastic.co/elasticsearch/elasticsearch:8.11.3"
      ]
    }
  }
}

工具

4

Execute search queries against indices

Create new Elasticsearch indices

List all available indices

Index a document

概览

What is Elasticsearch?

This is a Model Context Protocol (MCP) server for Elasticsearch clusters. It enables LLMs to manage indices and execute search queries by exposing tools and index mapping resources.

How to use Elasticsearch?

Add the server to the mcpServers section of your claude_desktop_config.json using the command npx -y @modelcontextprotocol/server-elasticsearch <url> (e.g., http://localhost:9200). A local Elasticsearch instance can be started with the provided Docker one‑liner docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" -e "xpack.security.enabled=false" docker.elastic.co/elasticsearch/elasticsearch:8.11.3.

Key features of Elasticsearch?

  • Execute search queries against indices using Elasticsearch Query DSL.
  • Create new indices with optional mappings and settings.
  • List all available indices.
  • Index documents with an optional custom ID.
  • Automatically discover index mappings as resources.

Use cases of Elasticsearch?

  • Let an AI assistant search an Elasticsearch index for relevant documents.
  • Automatically create new indices with proper mappings for application data.
  • List all indices in a cluster to understand existing data organization.
  • Index incoming documents

评论

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