ai.mcp_client_tool · version 1 · AI sub-node
Give an agent the tools of a Model Context Protocol server.
Port Kind Label Required Max connections
output 0 ai_tool
Slot Accepted kinds Required
httpBearerAuthhttp.bearer
httpHeaderAuthhttp.header
mcpOAuth2Apimcp/oauth2
Name Type Default Required Shown when Description
serverTransportoptions "httpStreamable"Transport . One of httpStreamable, sse, stdio.
endpointUrlstring serverTransport = httpStreamable, sse Endpoint . URL of the MCP server endpoint.
commandstring serverTransport = stdio Program that starts the MCP server; requires exec permission.
argsstring serverTransport = stdio Arguments . Arguments for the command, separated by spaces (quotes allowed).
envstring serverTransport = stdio Environment . Extra environment variables for the process, one NAME=value per line.
authenticationoptions "none"serverTransport = httpStreamable, sse One of none, bearerAuth, headerAuth, mcpOAuth2Api.
includeoptions "all"Tools to Include . One of all, selected, except.
includeToolsmulti_options include = selected Tools to Include .
excludeToolsmulti_options include = except Tools to Exclude .
optionscollection {}
options.timeoutnumber 60000Timeout (ms) . How long to wait for each answer from the server.
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating .
Source type Version range Status Fixtures
@n8n/n8n-nodes-langchain.mcpClientTool1unverified