Submit

Octodet Elasticsearch Mcp

@Octodet

6 months ago
A complete Elasticsearch mcp server with many tools
Overview

Elasticsearch MCP Server Summary

Overview

The Octodet Elasticsearch MCP Server is a comprehensive Model Context Protocol (MCP) server that provides LLM-powered applications with full access to Elasticsearch operations. It serves as a bridge between AI assistants and Elasticsearch clusters through the standardized MCP interface.

Key Features

🔍 Complete Elasticsearch Operations

  • Full CRUD Operations: Create, Read, Update, Delete documents and indices
  • Advanced Search: Full Elasticsearch DSL query support with highlighting
  • Bulk Operations: Process multiple operations in a single API call for better performance
  • Query-Based Operations: Update or delete documents based on complex queries

🛠️ Cluster Management

  • Health Monitoring: Real-time cluster health information
  • Shard Management: Monitor and manage shard distribution
  • Template Management: Handle index templates and aliases
  • Index Administration: Create, delete, and manage indices with custom settings

🔧 16 Comprehensive Tools

  1. List Indices - Browse all available indices with filtering
  2. Get Mappings - Retrieve field mappings for indices
  3. Search - Perform advanced searches with DSL queries
  4. Get Cluster Health - Monitor cluster status
  5. Get Shards - View shard information
  6. Add Document - Insert new documents
  7. Update Document - Modify existing documents
  8. Delete Document - Remove specific documents
  9. Update By Query - Batch update documents matching criteria
  10. Delete By Query - Batch delete documents matching criteria
  11. Bulk Operations - Execute multiple operations efficiently
  12. Create Index - Set up new indices with custom configurations
  13. Delete Index - Remove indices permanently
  14. Count Documents - Count documents with optional filtering
  15. Get Templates - Manage index templates
  16. Get Aliases - Handle index aliases

Server Config

{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@octodet/elasticsearch-mcp"
      ],
      "env": {
        "ES_URL": "http://localhost:9200",
        "ES_API_KEY": "your_api_key",
        "ES_VERSION": "8"
      }
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.