
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 *string
URL of the MCP server
Streamable HTTP or SSE endpoint of the MCP server, matching the chosen transport. No default: this property is required.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150headers object
Custom headers
Extra HTTP headers sent with every request, typically to carry an authentication token via the Authorization header. Not set by default.
logRequests booleanstring
falseLog requests
If true, requests sent to the MCP server are logged at INFO level. Defaults to false.
logResponses booleanstring
falseLog responses
If true, responses received from the MCP server are logged at INFO level. Defaults to false.
timeout string
Connection timeout duration
Maximum time to wait for a response from the MCP server. Not set by default, in which case the underlying MCP client's own default applies and this task enforces no timeout.
transport string
STREAMABLE_HTTPSTREAMABLE_HTTPSSEUNKNOWNTransport
Protocol used to reach the MCP server: STREAMABLE_HTTP or SSE. Defaults to STREAMABLE_HTTP.
Outputs
count integer
Tool count
Number of tools returned by the server.
tools array
Tools
Tools the MCP server exposes, each with its name, description and input schema.
An MCP tool definition
Tool description
Natural-language summary the server publishes for this tool, which an LLM uses to decide when to call it.
Tool name
Name the tool is invoked by, to pass as tool on an io.kestra.plugin.ai.mcp.CallTool task.
Tool argument JSON schema
JSON Schema describing the arguments the tool accepts, which CallTool arguments must conform to.