Elasticsearch MCP Server
Provides read-only tools for Elasticsearch 7.10 clusters, including cluster info, cluster health, index listing, and full Query DSL search with pagination, sorting, and source filtering.
Supports Google OAuth with PKCE for interactive access, restricted to @maestra.io domain, enabling secure authentication for the MCP server.
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
A read-only MCP (Model Context Protocol) server for Elasticsearch, providing secure access to ES 7.10 clusters via Streamable HTTP transport with Google OAuth + static Bearer token authentication.
Tools
es_cluster_info— cluster name, version, taglinees_cluster_health— cluster status, nodes, shardses_index_list— all indices with health, doc count, storage sizees_search— full Query DSL search with pagination, sorting, source filtering
Environment Variables
Variable | Required | Default | Description |
| yes | — | Comma-separated ES node URLs |
| yes | — | Comma-separated static Bearer tokens |
| no |
| HTTP listen port |
| no |
| Public URL for OAuth redirects |
| no | — | Enables Google OAuth when set |
| no | — | Required with GOOGLE_CLIENT_ID |
| no |
| ES request timeout (ms) |
| no |
| Max retries on 502/503/504/429 |
| no |
| Max concurrent MCP sessions |
Development
npm install
npm run build
npm run dev # tsx watch mode
npm test # vitestDocker
docker build -t mcp-elasticsearch .
docker run -e ES_ADDRESSES=http://es:9200 -e API_TOKENS=my-token -p 8080:8080 mcp-elasticsearchAuthentication
Static Bearer tokens — for programmatic access and Teleport
Google OAuth + PKCE — for interactive access via Claude Code (restricted to
@maestra.io)
Auth is handled entirely in the application; no Traefik middleware required.
This server cannot be installed
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
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/maestra-io/mcp-elasticsearch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server