Elastic Agent Builder MCP Server
Elastic's built-in MCP endpoint in Kibana (Elastic 9.2+ and Serverless) exposing Agent Builder tools, such as ES|QL queries, to external MCP hosts.
Tags
Description
Endpoint: {KIBANA_URL}/api/agent_builder/mcp (or /s/{SPACE_NAME}/api/agent_builder/mcp for a custom space). Authenticate with an API key (Elastic Stack deployments and Serverless) or OAuth 2.1 through an application connection (Serverless only, per-user consent). Exposes built-in and custom Agent Builder tools, including Elastic Workflows; a few built-in tools are not available over MCP. Agent Builder requires the appropriate Elastic Stack subscription or Serverless feature tier. It supersedes the standalone elastic/mcp-server-elasticsearch, which is deprecated and only gets critical security updates.
Agent access
Related
- MCP Toolbox for Databases: Google's open-source MCP server for databases: prebuilt tools for MCP clients plus a framework for defining secure custom database tools for agents.
- MongoDB MCP Server: Official MCP server for querying and managing MongoDB databases and MongoDB Atlas clusters, with a read-only mode.
- Redis MCP Server: Official Redis MCP server: lets agents read and write strings, hashes, lists, sets, sorted sets, streams, JSON and pub/sub, and manage vector indexes and search.
Guides & comparisons
- Data analysis agent stack (Stack): An agent that answers questions from your data: it queries DuckDB files, a ClickHouse warehouse or Postgres through read-only MCP servers, runs heavier analysis in a sandbox, reads spreadsheets and PDFs, and is tested and traced so you can trust the numbers.
Sources
- https://www.elastic.co/docs/explore-analyze/ai-features/agent-builder/mcp-server
- https://www.elastic.co/docs/explore-analyze/ai-features/elastic-agent-builder
- https://github.com/elastic/mcp-server-elasticsearch
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)