Auth and security - official Elastic server
Elastic Security MCP App
Local MCP App server from Elastic that adds interactive security operations dashboards (alert triage, Attack Discovery, case management, detection rules, ES|QL threat hunting, sample data) to MCP hosts. It connects to Elasticsearch and Kibana with the analyst's API key and writes results back through the Elastic Security APIs. It runs locally from https://github.com/elastic/example-mcp-app-security/releases/latest/download/elastic-security-mcp-app.tgz (github-release) with API key auth.
Last verified 7 tools7 sources
Install
Claude Code
About Claude Codeclaude mcp add elastic-security \
-e 'CLUSTERS_JSON=[{"name":"primary","elasticsearchUrl":"https://your-cluster.es.cloud.example.com","kibanaUrl":"https://your-cluster.kb.cloud.example.com","elasticsearchApiKey":"your-api-key","sslVerify":true}]' \
-- npx -y https://github.com/elastic/example-mcp-app-security/releases/latest/download/elastic-security-mcp-app.tgz --stdioCursor
About Cursor{
"servers": {
"elastic-security": {
"command": "npx",
"args": [
"-y",
"https://github.com/elastic/example-mcp-app-security/releases/latest/download/elastic-security-mcp-app.tgz",
"--stdio"
],
"env": {
"CLUSTERS_JSON": "[{\"name\":\"primary\",\"elasticsearchUrl\":\"https://your-cluster.es.cloud.example.com\",\"kibanaUrl\":\"https://your-cluster.kb.cloud.example.com\",\"elasticsearchApiKey\":\"your-api-key\",\"sslVerify\":true}]"
}
}
}
}VS Code
{
"servers": {
"elastic-security": {
"command": "npx",
"args": [
"-y",
"https://github.com/elastic/example-mcp-app-security/releases/latest/download/elastic-security-mcp-app.tgz",
"--stdio"
],
"env": {
"CLUSTERS_JSON": "[{\"name\":\"primary\",\"elasticsearchUrl\":\"https://your-cluster.es.cloud.example.com\",\"kibanaUrl\":\"https://your-cluster.kb.cloud.example.com\",\"elasticsearchApiKey\":\"your-api-key\",\"sslVerify\":true}]"
}
}
}
}Tools
triage-alerts- Fetch, filter, and triage security alerts with AI verdicts.
triage-attack-discoveries- Review AI-correlated attack chain findings with confidence scoring.
generate-attack-discovery- Trigger on-demand attack discovery analysis via any AI connector.
manage-cases- Create, search, and manage SOC investigation cases.
manage-rules- Browse, tune, and manage detection rules.
threat-hunt- ES|QL query workbench with entity investigation graph.
generate-sample-data- Generate ECS-compliant security events for demos.
As documented on October 17, 2026. A running server reports its current list through tools/list.
Notes and caveats
- Published in Elastic's GitHub org under the repo name example-mcp-app-security and announced on Elastic Security Labs on May 11, 2026.
- Tool names and descriptions are the view tools from the repo's manifest.json (also named in docs/architecture.md); the README and blog present them as six dashboards (Alert Triage, Attack Discovery, Case Management, Detection Rules, Threat Hunt, Sample Data), and the server also exposes data and action tools such as poll-alerts, execute-esql and update-case.
- Requires Elasticsearch 9.x with Security enabled, plus Kibana for cases, rules and Attack Discovery, and Node.js 22+ for the npx install.
- Claude Desktop can install it with a one-click .mcpb bundle from the latest GitHub release.
- A local HTTP mode serves
http://localhost:3001/mcp; Claude.ai access goes through a cloudflared tunnel. - Licensed under Elastic License 2.0, which is source-available rather than OSI open source. package.json shows version 1.0.9.
- Sends anonymised telemetry only when the Kibana telemetry opt-in is enabled.
More MCP servers for auth and security
- ElasticStatus: GA
Elastic Agent Builder MCP server
MCP endpoint built into Kibana that exposes Elastic Agent Builder's built-in and custom tools to outside MCP hosts, for example running ES|QL queries, searching indices or querying observability and security data. It replaces the standalone Elasticsearch MCP Server.
Transport: Streamable HTTPAuth: OAuth or API key - Elastic
Elasticsearch MCP server
Standalone container MCP server that connects an agent to an Elasticsearch 8.x or 9.x cluster to list indices, read mappings, and run Query DSL and ES|QL queries. Elastic has deprecated it in favor of the Agent Builder MCP endpoint.
Transport: stdio, Streamable HTTPAuth: API key - 1Password
1Password Device Trust MCP server
Self-hosted Python MCP server that exposes the 1Password Device Trust (formerly Kolide) API so agents can query devices, people, checks, issues and live query campaigns, with auto-pagination and aggregation helpers. It runs locally over Streamable HTTP or stdio.
Transport: Streamable HTTP, stdioAuth: API key - 1PasswordStatus: Beta
1Password Environments MCP server
Local stdio MCP server built into the 1Password desktop app that lets agents create, list and rename 1Password Environments, list variable names, add variables and create locally mounted .env files. It never returns secret values to the client.
Transport: stdioAuth: Other - 1Password
MCP server for 1Password SaaS Manager
MCP server exposing the 1Password SaaS Manager (formerly Trelica) API, covering audit logs, applications, workflows, people and teams, contracts and assets. Available as a hosted read-only remote server or a local sm-mcp binary that can optionally enable writes.
Transport: Streamable HTTP, stdioAuth: OAuth - Auth0Status: Beta
Auth0 MCP server
Local MCP server that connects AI clients to an Auth0 tenant through the Management API to create and update applications, APIs, client grants, Actions and Forms, read logs, and onboard a project with an Auth0 SDK quickstart.
Transport: stdioAuth: OAuth
Related reading
- What's New in Mastra (Late 2026): Harness, AgentController GA, Eval Gates and MCP 2.xMastra in late 2026: goals, schedules, signals, AgentController GA, eval gates and MCP 2.x, with type-checked TypeScript examples and honest tradeoffs.
- MCP vs A2A vs Function Calling: Which Layer Does What in 2026MCP vs A2A vs function calling compared on the 2026-07-28 MCP spec and A2A 1.0: what each protocol does, where they overlap, and how to stack them.
- Pydantic AI V2 in Late 2026: Capabilities, Graphs, Evals and MCPPydantic AI V2 explained through v2.57.0: capabilities, typed output, Conversation storage, caching, graphs, evals, MCP Apps and Logfire, with checked code.
- Reverse Engineer Anything (REA): What the MCP Server Does and Where the Line IsREA (Reverse Engineer Anything) is an MIT-licensed MCP server that lets Claude Code, Codex or Cursor inspect binaries, Electron apps and APKs. How to try it.
- Claude Opus 5.5 Built a Browser 3D World: The Higgsfield MCP WorkflowClaude Opus 5.5 and Higgsfield MCP built an interactive 3D Library of Alexandria in the browser. The verified connector setup and where the workflow holds up.
- Pi 1.0 Release Guide: MCP, Codemode and Pi DurablePi 1.0 adds built-in MCP through Codemode, a fullscreen TUI by default and Pi Durable. What changed, how to install it, and what breaks on upgrade.
FAQ
What does the Elastic Security MCP App do?
Local MCP App server from Elastic that adds interactive security operations dashboards (alert triage, Attack Discovery, case management, detection rules, ES|QL threat hunting, sample data) to MCP hosts. It connects to Elasticsearch and Kibana with the analyst's API key and writes results back through the Elastic Security APIs. The vendor documents 7 tools, including triage-alerts, triage-attack-discoveries, generate-attack-discovery and manage-cases.
How do I add the Elastic Security MCP App to Claude Code?
Elastic documents a Claude Code config; copy it from the Claude Code section of this page. Snippets for Cursor and VS Code are there too.
Does the Elastic Security MCP App need authentication?
Yes, API key. Transport: stdio, Streamable HTTP. Status: Unlabelled, last checked October 17, 2026.
Sources
Last verified against 7 Elastic pages, then re-checked independently.
- elastic.cohttps://www.elastic.co/security-labs/blog/elastic-security-mcp-app
- raw.githubusercontent.comhttps://raw.githubusercontent.com/elastic/example-mcp-app-security/HEAD/README.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/elastic/example-mcp-app-security/HEAD/LICENSE.txt
- raw.githubusercontent.comhttps://raw.githubusercontent.com/elastic/example-mcp-app-security/HEAD/package.json
- raw.githubusercontent.comhttps://raw.githubusercontent.com/elastic/example-mcp-app-security/HEAD/docs/setup-claude-code.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/elastic/example-mcp-app-security/HEAD/docs/setup-cursor.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/elastic/example-mcp-app-security/HEAD/docs/setup-vscode.md
Newsletter
New MCP servers, the week they ship
One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.