Skip to content
Zed

Elasticsearch for Zed

io.github.tocharianou/elasticsearch

Elasticsearch MCP Server with multi-version support (ES 5.x-9.x) and comprehensive API access

client:Zed transport:stdio runtime:npm

Install Elasticsearch in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@tocharianou/elasticsearch-mcp"
      ],
      "env": {
        "ES_URL": "<ES_URL>",
        "ES_API_KEY": "<ES_API_KEY>",
        "ES_USERNAME": "<ES_USERNAME>",
        "ES_PASSWORD": "<ES_PASSWORD>",
        "ES_CA_CERT": "<ES_CA_CERT>",
        "NODE_TLS_REJECT_UNAUTHORIZED": "<NODE_TLS_REJECT_UNAUTHORIZED>",
        "MAX_TOKEN_CALL": "<MAX_TOKEN_CALL>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

Elasticsearch in other clients