
AI ListTools
CertifiedList the tools exposed by an MCP server
AI ListTools
List the tools exposed by an MCP server
Connects to a Model Context Protocol (MCP) server and returns its tool catalogue — name, description and argument JSON schema for each tool. Use io.kestra.plugin.ai.mcp.CallTool to invoke one of them.
type: io.kestra.plugin.ai.mcp.ListToolsExamples
Discover the tools available on an MCP server over Streamable HTTP.
id: mcp_list_tools
namespace: company.ai
tasks:
- id: list
type: io.kestra.plugin.ai.mcp.ListTools
url: https://mcp.example.com/mcp
Properties
url *Requiredstring
URL of the MCP server
The Streamable HTTP or SSE endpoint of the MCP server.
headers object
Custom headers
Useful, for example, for adding authentication tokens via the Authorization header.
logRequests booleanstring
falseLog requests
logResponses booleanstring
falseLog responses
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
timeout string
Connection timeout duration
When not set, the underlying MCP client's default timeout applies (no timeout is enforced by this task).
transport string
STREAMABLE_HTTPSTREAMABLE_HTTPSSEUNKNOWNTransport used to connect to the MCP server
Outputs
count integer
Number of tools returned
tools array
The tools exposed by the MCP server
An MCP tool definition
Tool description
Tool name
Tool argument JSON schema