Lets an AI assistant query many databases through prebuilt or custom SQL tools.
Elastic Agent Builder MCP Server
MCP server by Elastic
Elastic MCP at a glance
Elastic Agent Builder MCP Server (Elastic MCP) is an official MCP server from Elastic. It lets an AI assistant search Elasticsearch, run ES|QL and use Elastic Agent Builder tools.
- Connects to
- Data and databases
- Hosting
- Remote · Streamable HTTP
- Sign-in
- API key or OAuth
- Price
- Free (needs an Elastic account)
- Works with
- Claude Desktop, Cursor, VS Code
- Best for
- Teams with data in Elasticsearch
- Checked
- October 3, 2026 on official sources
How to install Elastic Agent Builder MCP Server
Add the command below as a new MCP server in your AI app’s settings or MCP config file, then sign in when asked. Sign-in: API key or OAuth.
{KIBANA_URL}/api/agent_builder/mcpWhat Elastic Agent Builder MCP Server can do
It is an MCP endpoint built into Kibana that exposes Elastic Agent Builder tools to outside AI clients. Assistants can list indices, search data, run ES|QL queries and trigger Elastic workflows.
Best for: teams with data in Elasticsearch
Pros
- Built into Kibana with no extra server
- Custom tools from Agent Builder
- Search, ES|QL and workflows in one place
Cons
- Needs Elastic Stack 9.2 or later
- OAuth only on Serverless projects
Elastic Agent Builder MCP Server FAQ
Is Elastic Agent Builder MCP Server free?
There is no separate MCP fee. It comes with your Elastic deployment and some tools need a higher license tier.
How do I connect Elastic Agent Builder MCP Server?
Add {KIBANA_URL}/api/agent_builder/mcp to your client with an Elastic API key or OAuth.
What can Elastic Agent Builder MCP Server do?
It can search indices, run and generate ES|QL queries, list indices and run Elastic workflows.