Model Context Protocol (MCP) tools
Agent Builder MCP tools enable calling a remote MCP server's tools in your agent chat. When you call an Agent Builder MCP tool, it calls the associated tool on the MCP server and returns its result.
To use external MCP tools, you first need to set up an MCP Kibana Stack Connector. This interface enables Agent Builder MCP tools to communicate with a remote MCP server.
You can import MCP tools individually or in bulk.
Once you've set up an MCP Kibana Stack Connector, click "New tool" on the Tools landing page and select the MCP tool type.
Individual MCP tools have the following configuration settings:
- MCP Server
- The MCP Kibana Stack Connector to interface with.
- Tool
- The specific tool on MCP server to create an Agent Builder MCP tool for.
Once a tool is selected, the Description field of the tool automatically populates with the description provided by the MCP server.
To import multiple tools at once, go to the Tools landing page and select Bulk import MCP tools from the "Manage MCP" dropdown.
Configure the following fields:
- MCP Server
- The MCP Kibana Stack Connector to interface with.
- Tools to import
- The specific tools from the MCP server to import.
- Namespace
- A string to prepend to the tool name to aid in searching and organization. A namespace must start with a letter and contain only lowercase letters, numbers, and hyphens.
After clicking Import tools, Agent Builder creates an MCP tool for each selection.
Each tool's ID is generated as namespace.tool-name (for example, context7.resolve-library-id), and descriptions are populated automatically from the MCP server.
When an agent calls an MCP tool:
- Agent Builder retrieves the tool's input schema from the MCP Kibana Stack Connector.
- Agent Builder calls the MCP server tool with the required parameters.
- The MCP server returns the result directly to the LLM with no post-processing.
- The LLM interprets the result for the user.
MCP tools have built-in health monitoring. Tools that are unhealthy display an icon next to their IDs in the Tools landing page.
An MCP tool is marked "unhealthy" when: