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.
Related MCP Servers
- AlicenseAqualityAmaintenanceFacilitates interaction with Elasticsearch clusters by allowing users to perform index operations, document searches, and cluster management via a Model Context Protocol server and natural language commands.Last updated20301Apache 2.0
- FlicenseBqualityDmaintenanceConnects to Elasticsearch clusters through the Model Context Protocol, enabling natural language querying and management of Elasticsearch data. Provides tools to search indices, list available indices, and retrieve index mappings.Last updated3
- FlicenseBquality-maintenanceProvides comprehensive tools for managing Elasticsearch clusters, including security management, search operations, and index administration. It enables users to monitor cluster health, handle InfoSec tasks, and execute complex queries using Elasticsearch Query DSL and ES|QL.Last updated37
- Alicense-qualityFmaintenanceEnables interaction with OpenSearch clusters, providing tools to list indices, retrieve mappings, search using query DSL, and get shard information.Last updated1Apache 2.0
Related MCP Connectors
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
GibsonAI MCP server: manage your databases with natural language
Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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