MCP server · Audited from source
Elasticsearch MCP server
by cr7258/elasticsearch-mcp-serverApache-2.0 licenceAudited 5 Oct 2026 · source e9c188832da3
Is it safe? With care — CAUTION, grade B (89/100). It exposes 24 tools: 15 read, 4 write and 5 destructive. The audit recorded 9 findings (0 critical, 0 high, 2 medium, 7 low). Maintainer's description: A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
Cite
Cite this page
ModelsAtlas. “Elasticsearch MCP server (cr7258/elasticsearch-mcp-server)”. Retrieved 5 Oct 2026. https://modelsatlas.com/mcp/cr7258/elasticsearch-1
Trust audit
Audit 0.4.1 · full source read 5 Oct 2026
9 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemDeclared2 observations
- NetworkDeclared3 observations
- ShellNone observedNothing seen in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN 1 finding |
L1 Static source | Secrets, path traversal, supply chain | PASS 7 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
cr7258User accountAccount type recorded when we read the repository. - PackagePublished on PyPI
elasticsearch-mcp-server, no version recorded - LicenceApache-2.0From the repository, as read at the audited commit.
- Last push2 days agoActivity of the repository when we read it.
- Source commit reade9c188832da3The audit covers exactly this commit, read on 5 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory24 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (9)
Sorted by severity
MEDIUMInventory / provenanceinv.binary · mcp_client/spring-ai/gradle/wrapper/gradle-wrapper.jar
gradle-wrapper.jar
- Why
- a compiled or binary member cannot be reviewed from source
- Fix
- ship source, or explain the binary in the README
MEDIUMFilesystem / pathmcp.destructive_tools
delete_alias, delete_by_query, delete_data_stream, delete_document, delete_index
- Why
- 5 tool(s) can delete or overwrite
- Fix
- prefer a read-only mode or scoped tokens; the page states the blast radius
LOWNetwork egressnet.raw_ip · README.md:369
# By default, the SSE MCP server will serve on http://127.0.0.1:8000/sse
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:379
# By default, the SSE MCP server will serve on http://127.0.0.1:8000/sse
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:400
# By default, the Streamable HTTP MCP server will serve on http://127.0.0.1:8000/mcp
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:410
# By default, the Streamable HTTP MCP server will serve on http://127.0.0.1:8000/mcp
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · tests/e2e/containers/conftest.py:193
base_url = f"http://127.0.0.1:{local_port}"- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.tls_off · .github/workflows/helm-chart.yaml:22
run: helm plugin install https://github.com/helm-unittest/helm-unittest --version v0.3.2 --verify=false
- Why
- certificate verification is disabled
- Fix
- leave verification on
LOWNetwork egressnet.tls_off · .github/workflows/test.yaml:50
run: helm plugin install https://github.com/helm-unittest/helm-unittest --version v0.3.2 --verify=false
- Why
- certificate verification is disabled
- Fix
- leave verification on
Tools it exposes
24 declared in source · 5 destructive
5 tools can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.
| Tool | Risk | What it does |
|---|---|---|
delete_alias | destructive | No description in the source |
delete_by_query | destructive | No description in the source |
delete_data_stream | destructive | Delete one or more data streams. |
delete_document | destructive | No description in the source |
delete_index | destructive | No description in the source |
create_data_stream | write | Create a new data stream. |
create_index | write | No description in the source |
put_alias | write | No description in the source |
write_operation | write | return |
analyze_text | read | No description in the source |
failing_tool | read | raise ValueError( |
general_api_request | read | Perform a general HTTP API request. |
get_alias | read | No description in the source |
get_cluster_health | read | No description in the source |
get_cluster_stats | read | No description in the source |
get_data_stream | read | Get information about one or more data streams. |
get_document | read | No description in the source |
get_index | read | No description in the source |
index_document | read | No description in the source |
list_aliases | read | No description in the source |
list_indices | read | No description in the source |
read_operation | read | return |
search_documents | read | No description in the source |
succeeding_tool | read | return |
Install
audited commit e9c1888
Read the findings first. The most severe is Inventory / provenance (medium) at mcp_client/spring-ai/gradle/wrapper/gradle-wrapper.jar.
One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit e9c1888 only.
claude mcp add elasticsearch-mcp-server --env MCP_API_KEY=${MCP_API_KEY} -- uvx elasticsearch-mcp-server{
"mcpServers": {
"elasticsearch-mcp-server": {
"command": "uvx",
"args": [
"elasticsearch-mcp-server"
],
"env": {
"MCP_API_KEY": "${MCP_API_KEY}"
}
}
}
}The command does not pin a version; the audit covers commit e9c188832da3. Transport: streamable-http. Reads this environment variable: MCP_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
First audit ·
e9c188832da3
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/cr7258/elasticsearch-1/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Elasticsearch MCP server
What is the Elasticsearch MCP server?
What tools does Elasticsearch expose?
Is Elasticsearch safe to connect to an agent?
What credentials does Elasticsearch need?
How does Elasticsearch run?
How current is this page?
Sources
- cr7258/elasticsearch-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 5 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit e9c188832da3Observed · 5 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Elasticsearch MCP server?
- What tools does Elasticsearch expose?
- Is Elasticsearch safe to connect to an agent?