mcp-es-logs
Integrates with Elastic Cloud to download Elasticsearch deployment logs via the Admin API, providing tools to resolve deployment ref IDs, download logs for a date or date range, and view failed plan history.
Provides tools to download logs from Elastic Cloud deployments, including resolving deployment ref IDs, downloading logs for a single date or a range, and retrieving failed plan history.
Allows downloading Elasticsearch logs from Elastic Cloud deployments via the Admin API, with capabilities to resolve ref IDs, download logs for specific dates, and access plan logs.
Click on "Deploy 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., "@mcp-es-logsdownload logs for deployment my-deploy on 2024-05-15"
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.
mcp-es-logs
An MCP (Model Context Protocol) server that downloads Elasticsearch logs from Elastic Cloud via the Admin API.
Prerequisites
Node.js ≥ 18
unzipavailable on the hostAn Elastic Cloud API key with admin access
export EC_API_KEY=<your-elastic-cloud-api-key>Related MCP server: Elasticsearch MCP Server
Installation
npm install
npm run buildUsage
npm start # production (requires build)
npm run dev # development via ts-nodeTools
Tool | Description |
| Resolve the Elasticsearch |
| Download logs for a single date |
| Download logs for an inclusive date range |
| Show failed plan history for a deployment |
See KB.md for full parameter reference and examples.
MCP Client Setup
Add to your MCP client config (e.g. Claude Desktop ~/.claude/claude_desktop_config.json):
{
"mcpServers": {
"mcp-es-logs": {
"command": "node",
"args": ["/path/to/es-log-downloader/dist/index.js"],
"env": {
"EC_API_KEY": "<your-api-key>"
}
}
}
}This server cannot be deployed
Maintenance
Related MCP Connectors
Syslog receiver and MCP server for homelab log intelligence.
Syslog receiver and MCP server for homelab log intelligence.
- AgentCatOAuthcom.agentcat
Analytics and debugging for your MCP server — explore usage and sessions, then root-cause errors.
Related MCP Servers
- AlicenseAqualityCmaintenanceRead/write Elasticsearch mcp server with many tools1618 npm3MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that provides tools and resources to interact with Elasticsearch clusters, including listing indices, searching, and retrieving mappings.3MIT
- AlicenseAqualityDmaintenanceA read-only MCP server that gives AI assistants natural language access to Elasticsearch/Kibana logs for querying and analysis.71MIT
- AlicenseBqualityDmaintenanceSmall production-oriented MCP server for diagnosing incidents from Elasticsearch logs with unknown schema. It provides tools for log discovery, retrieval, and issue diagnosis.6MIT