mcp/elasticsearch Docker Image
通过自然语言对话与Elasticsearch索引进行交互
Elasticsearch MCP Server
Interact with your Elasticsearch indices through natural language conversations.
https://www.anthropic.com/news/model-context-protocol
MCP Info
| Attribute | Details |
|---|---|
| Docker Image | https://hub.docker.com/repository/docker/mcp/elasticsearch |
| Author | https://github.com/elastic |
| Repository | https://github.com/elastic/mcp-server-elasticsearch |
Image Building Info
| Attribute | Details |
|---|---|
| Dockerfile | https://github.com/elastic/mcp-server-elasticsearch/blob/b2912b2ba544060962c7fabf38eb36cc940e9098/Dockerfile |
| Commit | b2912b2ba544060962c7fabf38eb36cc940e9098 |
| Docker Image built by | Docker Inc. |
| Docker Scout Health Score | |
| Verify Signature | COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/elasticsearch --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub |
| Licence | Apache License 2.0 |
Available Tools (5)
| Tools provided by this Server | Short Description |
|---|---|
esql | Elasticsearch ES |
get_mappings | Get ES index mappings |
get_shards | Get ES shard information |
list_indices | List ES indices |
search | Elasticsearch search DSL query |
Tools Details
Tool: esql
Perform an Elasticsearch ES|QL query.
| Parameters | Type | Description |
|---|---|---|
query | string | Complete Elasticsearch ES |
This tool is read-only. It does not modify its environment.
Tool: get_mappings
Get field mappings for a specific Elasticsearch index
| Parameters | Type | Description |
|---|---|---|
index | string | Name of the Elasticsearch index to get mappings for |
This tool is read-only. It does not modify its environment.
Tool: get_shards
Get shard information for all or specific indices.
| Parameters | Type | Description |
|---|---|---|
index | string optional | Optional index name to get shard information for |
This tool is read-only. It does not modify its environment.
Tool: list_indices
List all available Elasticsearch indices
| Parameters | Type | Description |
|---|---|---|
index_pattern | string | Index pattern of Elasticsearch indices to list |
This tool is read-only. It does not modify its environment.
Tool: search
Perform an Elasticsearch search with the provided query DSL.
| Parameters | Type | Description |
|---|---|---|
index | string | Name of the Elasticsearch index to search |
query_body | object | Complete Elasticsearch query DSL object that can include query, size, from, sort, etc. |
fields | array optional | Name of the fields that need to be returned (optional) |
This tool is read-only. It does not modify its environment.
Use this MCP Server
json{ "mcpServers": { "elasticsearch": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "ES_URL", "-e", "ES_API_KEY", "mcp/elasticsearch", "stdio" ], "env": { "ES_URL": "http://localhost:9200", "ES_API_KEY": "your-api-key" } } } }
https://www.docker.com/blog/the-model-context-protocol-simplifying-building-ai-apps-with-anthropic-claude-desktop-and-docker/
更多相关 Docker 镜像与资源
以下是 mcp/elasticsearch 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
- library/elasticsearch Docker 镜像说明
- bitnami/elasticsearch Docker 镜像说明(Elasticsearch 搜索引擎,Bitnami 企业级配置)
- elastic/elasticsearch Docker 镜像说明(Elasticsearch 搜索引擎,Elastic 官方版本)
- bitnamicharts/elasticsearch Docker 镜像说明(Bitnami Elasticsearch 图表栈,适合日志检索与全文搜索集群)
- bitnamilegacy/elasticsearch Docker 镜像说明(Bitnami Legacy Elasticsearch,适合沿用 Bitnami 目录的搜索集群)
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表。
轩辕镜像加速拉取命令点我查看更多 elasticsearch 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务