Elasticsearch MCP Server
Provides tools for Elasticsearch cluster health check, index management (create, delete, list), document CRUD (index, get, update, delete), and search operations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Elasticsearch MCP Servercheck Elasticsearch cluster health"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Elasticsearch MCP Server
Elasticsearch MCP 服务器,支持 Claude Code、VSCode (Cline)、Cursor 等工具。
安装
npm install -g es-mcp-serverRelated MCP server: Elastic MCP
配置
环境变量
变量 | 说明 | 默认值 |
| ES 地址 |
|
| 用户名 | - |
| 密码 | - |
| API Key | - |
Claude Code 配置
{
"mcpServers": {
"elasticsearch": {
"command": "es-mcp-server",
"env": {
"ES_HOST": "localhost:9200"
}
}
}
}VSCode (Cline) 配置
路径: ~/.config/Code/User/globalStorage/hybridtalentcomputing.cline-chinese/settings/cline_chinese_mcp_settings.json
{
"mcpServers": {
"elasticsearch": {
"command": "es-mcp-server",
"env": {
"ES_HOST": "localhost:9200"
}
}
}
}Cursor 配置
{
"mcpServers": {
"elasticsearch": {
"command": "es-mcp-server",
"env": {
"ES_HOST": "localhost:9200"
}
}
}
}可用工具
工具 | 说明 |
| 集群健康检查 |
| 列出所有索引 |
| 创建索引 |
| 删除索引 |
| 索引文档 |
| 获取文档 |
| 搜索文档 |
| 更新文档 |
| 删除文档 |
| 集群信息 |
使用示例
搜索文档
{
"index": "user_info",
"query": {
"match": { "content": "总监" }
},
"size": 10
}索引文档
{
"index": "products",
"document": {
"name": "iPhone",
"price": 999
}
}许可证
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jesee/es-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server