Elasticsearch vs Aegis

A side-by-side look at the Elasticsearch and Aegis MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

Elasticsearch logoElasticsearchSecurity · Local subprocess (stdio)Elasticsearch MCP Server with multi-version support (ES 5.x-9.x) for security analysis and threats.57GoodAuth: not declaredAegis logoAegisSecurity · Local subprocess (stdio)Credential isolation proxy for AI agents. Injects secrets at the network boundary with domain restrictions, agent authentication, and audit logging. No SDK required — works as a transparent HTTP proxy or MCP server.53GoodAuth: not declared

Verdict: choose Elasticsearch for security work as a local process; choose Aegis for security as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

Elasticsearch logoChoose Elasticsearch when

  • You need dedicated capabilities in the Security domain.
  • You prefer a local stdio subprocess transport.
  • You have the keys it needs: ES_URL, ES_API_KEY, ES_USERNAME, ES_PASSWORD, ES_CA_CERT, NODE_TLS_REJECT_UNAUTHORIZED, MCP_TRANSPORT, MCP_HTTP_PORT.
  • You want tools like list_indices, get_mappings, es_search.
Explore Elasticsearch

Aegis logoChoose Aegis when

  • You need dedicated capabilities in the Security domain.
  • You prefer a local stdio subprocess transport.
Explore Aegis

Feature & specification comparison

Rows where the two servers differ are marked.

SpecElasticsearch logoElasticsearchAegis logoAegis
CategorySecuritySecurity
Quality signal57/100 · Good53/100 · Good
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNot declared
PricingNot declaredNot declared
Required env varsES_URLES_API_KEYES_USERNAMEES_PASSWORDES_CA_CERTNODE_TLS_REJECT_UNAUTHORIZEDMCP_TRANSPORTMCP_HTTP_PORTNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars814
Directory activity 3 views 0 installs 0 upvotes 3 views 0 installs 0 upvotes
Tools8Not listed

Tools & capabilities

Elasticsearch tools 8

  • list_indicesList indices with pattern filter, health filter, sorting and token-aware summary
  • get_mappingsGet field mappings with flat/tree/raw modes, field filtering and multi-index compare
  • es_searchFull Query DSL search with auto-highlight, plus harness field validation / auto-fix
  • lookup_fieldsFind the right field names: ECS vocabulary intersected with the index's real fields
  • execute_es_apiExecute any ES REST endpoint directly (GET/POST/PUT/DELETE/HEAD)
  • get_shardsShard info with health analysis, problem detection and recommendations
  • list_data_streamsList and analyze Data Streams with ILM info and backing index details
  • esql_queryExecute ES\

Aegis tools

No tool names declared yet. Check the project README from the listing page.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

Elasticsearch

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "elasticsearch": {
      "command": "npx",
      "args": [
        "-y",
        "@tocharianou/elasticsearch-mcp"
      ],
      "env": {
        "ES_URL": "YOUR_ES_URL_HERE",
        "ES_API_KEY": "YOUR_ES_API_KEY_HERE",
        "ES_USERNAME": "YOUR_ES_USERNAME_HERE",
        "ES_PASSWORD": "YOUR_ES_PASSWORD_HERE",
        "ES_CA_CERT": "YOUR_ES_CA_CERT_HERE",
        "NODE_TLS_REJECT_UNAUTHORIZED": "YOUR_NODE_TLS_REJECT_UNAUTHORIZED_HERE",
        "MCP_TRANSPORT": "YOUR_MCP_TRANSPORT_HERE",
        "MCP_HTTP_PORT": "YOUR_MCP_HTTP_PORT_HERE"
      }
    }
  }
}

Aegis

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "getaegis-aegis": {
      "command": "npx",
      "args": [
        "-y",
        "@getaegis/cli"
      ]
    }
  }
}

Frequently asked questions

Elasticsearch is categorized under Security and uses a local stdio subprocess. Aegis belongs to Security and uses a local stdio subprocess. Pick Elasticsearch for security work and Aegis for security.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

Elasticsearch has no declared pricing — check the project's own site. Aegis has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add elasticsearch and getaegis-aegis as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, Elasticsearch has a quality signal of 57/100 (Good) with 3 views, 0 installs and 8 GitHub stars. Aegis has 53/100 (Good) with 3 views, 0 installs and 14 GitHub stars.