# esmole (npm · esmole-mcp)

Elasticsearch 7.x/8.x with connections managed at runtime by the agent, SSH tunnels, readonly.

- Trust score: 64/100 (medium)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-04

## Components

- npm · `esmole-mcp`: 64/100 (this document), [markdown](https://verifymcp.io/servers/ed-smartass-esmole-mcp/esmole-mcp.md), [page](https://verifymcp.io/servers/ed-smartass-esmole-mcp/esmole-mcp)

## Channel facts

- Registry: `npm`
- Package: `esmole-mcp`
- Version: `0.2.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-04.

- **Supply Chain Security**: 81/100
  - No malware found by supply-chain analysis.
  - CVE check failed: a known high-severity CVE affects zod 3.25.76, a direct dependency. A fixed version is available.
  - No install/post-install scripts declared.
  - 34 of 101 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 48/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 9 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 63/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 952 tokens (~95/item across 10 items; 10 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 33/100
  - Stability observed for 10 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 72/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 18% of tool parameters carry a description.
- **Tool Safety**: 75/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - 0 of 1 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "remove_connection" implies "remove" and declares no destructiveHint at all, which the MCP spec reads as destructive by default.
  - An AI judge read all 10 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the esmole MCP server?

esmole runs locally as an npm package, launched with npx -y esmole-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add ed-smartass-esmole-mcp -- npx -y esmole-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "ed-smartass-esmole-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "esmole-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "ed-smartass-esmole-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "esmole-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add ed-smartass-esmole-mcp -- npx -y esmole-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "ed-smartass-esmole-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "esmole-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add ed-smartass-esmole-mcp --command npx --arg -y --arg esmole-mcp
```

### Hermes

```yaml
mcp_servers:
  ed-smartass-esmole-mcp:
    command: "npx"
    args: ["-y", "esmole-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "ed-smartass-esmole-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "esmole-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add ed-smartass-esmole-mcp -t stdio -c npx -a -y esmole-mcp
```

### Other

```json
{
  "mcpServers": {
    "ed-smartass-esmole-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "esmole-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-03 (score 64, +1)

No change was recorded against any check on this day. Stability & Change Management went from 27 to 30. That category is still filling its 30-day observation window: 8 days of observed history at the previous scan, 9 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-01 (score 63, +1)

No change was recorded against any check on this day. Stability & Change Management went from 20 to 23. That category is still filling its 30-day observation window: 6 days of observed history at the previous scan, 7 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-30 (score 62, +1)

No change was recorded against any check on this day. Stability & Change Management went from 13 to 17. That category is still filling its 30-day observation window: 4 days of observed history at the previous scan, 5 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-28 (score 61, +1)

No change was recorded against any check on this day. Stability & Change Management went from 7 to 10. That category is still filling its 30-day observation window: 2 days of observed history at the previous scan, 3 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-10-25 (score 60)

First indexed and scored.

## MCP tools (10)

### `list_connections` (~51 tokens)

List Elasticsearch connections with the layer each comes from: project (.esmole.json, found by walking up from the project dir) or global (user store). Also shows invalid entries and broken files. Secrets are omitted.

### `add_connection` (~158 tokens)

Add a named Elasticsearch connection. scope "global" (default) saves it to the user store; "project" saves it to .esmole.json in the project root. Auth via user/password or apiKey; optional ssh tunnel, readonly flag, scheme and verifyTls.

Input parameters:

- `apiKey` (string)
- `host` (string, required)
- `name` (string, required)
- `password` (string)
- `port` (integer)
- `queryTimeoutMs` (integer)
- `readonly` (boolean)
- `scheme` (string)
- `scope` (string)
- `ssh` (object)
- `type` (string)
- `user` (string)
- `verifyTls` (boolean)

### `update_connection` (~101 tokens)

Patch an ES connection by name in the layer it lives in (project or global). Set a field to null to remove it (e.g. "ssh": null); an ssh object is merged field by field, e.g. { "ssh": { "hostKey": "SHA256:..." } }. queryTimeoutMs sets the per-request deadline (null restores the 60 s default).

Input parameters:

- `name` (string, required)
- `patch` (object, required)

### `remove_connection` (~40 tokens)

Remove an ES connection by name from the layer it lives in (invalid entries too) and drop its cached client/tunnel.

Input parameters:

- `name` (string, required)

### `test_connection` (~34 tokens)

Verify an ES connection works end to end (including ssh tunnel). Reports server version and latency.

Input parameters:

- `name` (string, required)

### `es_request` (~175 tokens)

Generic Elasticsearch REST passthrough: any method, any path. Returns {status, body}. A 4xx/5xx answer is returned as an error: "HTTP <status> <type>: <reason>" plus the trimmed body. Use a string body for NDJSON (_bulk, _msearch). On readonly connections only reads pass: GET, HEAD, POST [/<index>]/_search|_msearch|_count|_field_caps|_pit, POST /_search/scroll, DELETE /_pit and /_search/scroll.

Input parameters:

- `body`
- `connection` (string, required): connection name, see list_connections
- `method` (string, required)
- `params` (object)
- `path` (string, required): path from the ES root, e.g. '/idx/_search'

### `es_search` (~255 tokens)

Search an index. Wraps POST /{index}/_search. query is the query DSL only; sort, from, search_after, track_total_hits, highlight, script_fields and source (_source) map to the same-named body keys. size defaults to 10; with aggs and no query it is forced to 0. Page with from+size or sort+search_after. Use source to project fields and keep responses small. Returns {status, body}; a 4xx/5xx is an error with the ES root cause.

Input parameters:

- `aggs` (object)
- `connection` (string, required)
- `from` (integer)
- `highlight` (object)
- `index` (string, required): index, alias, comma list or wildcard, e.g. logs-*,metrics
- `query` (object): query DSL only, e.g. {"bool": {...}}
- `script_fields` (object)
- `search_after` (array): sort values of the last hit
- `size` (integer)
- `sort`: e.g. [{"@timestamp": "desc"}]
- `source`: _source projection: list of fields or false
- `track_total_hits`

### `es_list_indices` (~46 tokens)

List indices matching a pattern with health, doc count and store size. Wraps GET /_cat/indices.

Input parameters:

- `connection` (string, required)
- `pattern` (string)

### `es_get_mapping` (~56 tokens)

Return an index mapping as a flat field:type list (compact, token-cheap). Pass raw=true for the nested ES JSON.

Input parameters:

- `connection` (string, required)
- `index` (string, required)
- `raw` (boolean)

### `es_cluster_health` (~36 tokens)

Cluster health summary (status, node and shard counts). Wraps GET /_cluster/health.

Input parameters:

- `connection` (string, required)

## Diagnostics

Captured diagnostic sections: Provenance, Vulnerabilities, Dependencies. The full working is on the page: https://verifymcp.io/servers/ed-smartass-esmole-mcp/esmole-mcp#diagnostics

## Score history

- 2026-11-04: 64
- 2026-11-03: 64
- 2026-11-02: 63
- 2026-11-01: 63
- 2026-10-31: 62
- 2026-10-30: 62
- 2026-10-29: 61
- 2026-10-28: 61
- 2026-10-27: 60
- 2026-10-26: 60
- 2026-10-25: 60

## Common questions

### What is the esmole MCP server?

esmole is an MCP server listed in the public MCP registry as io.github.ed-smartass/esmole-mcp. Elasticsearch 7.x/8.x with connections managed at runtime by the agent, SSH tunnels, readonly. This page covers its npm package (esmole-mcp).

### Is the esmole MCP server safe to use?

esmole scores 64 out of 100 on VerifyMCP. We recorded 1 known advisory against it as of 4 November 2026. It declares no install or post-install scripts. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the esmole MCP server expose?

esmole exposes 10 tools: list_connections, add_connection, update_connection, remove_connection, test_connection, and 5 more. Their descriptions and schemas cost roughly 952 tokens of context every time the server is loaded.

### Is the esmole MCP server still maintained?

esmole is still listed as active in the MCP registry. We last reached this channel on 4 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the esmole MCP server under?

esmole declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/esmole-mcp
- Socket report: https://socket.dev/npm/package/esmole-mcp
- Repository: https://github.com/ed-smartass/esmole-mcp
- Changelog RSS feed: https://verifymcp.io/servers/ed-smartass-esmole-mcp/esmole-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/ed-smartass-esmole-mcp/esmole-mcp.json
- HTML version of this page: https://verifymcp.io/servers/ed-smartass-esmole-mcp/esmole-mcp
